8.2.187 L2TP User Authentication

29.2443GPPInterface between the Control Plane and the User Plane nodesRelease 17TS

The L2TP User Authentication IE shall be encoded as shown in Figure 8.2.187-1.

Bits

Octets

8

7

6

5

4

3

2

1

1 to 2

Type = 278 (decimal)

3 to 4

Length = n

5 – 6

Proxy Authen Type Value

7

Spare

PAI

PAR

PAC

PAN

8

Length of Proxy Authen Name

9 to a

Proxy Authen Name Value

a+1

Length of Proxy Authen Challenge

(a+2) to b

Proxy Authen Challenge Value

b+1

Length of Proxy Authen Response

(b+2) to c

Proxy Authen Response Value

c+1

Proxy Authen ID

(c+2) to (n+4)

These octet(s) is/are present only if explicitly specified

Figure 8.2.187-1: L2TP User Authentication

The following flags are coded within Octet 7:

– Bit 1 – PAN: If this bit is set to "1", then the Length of Proxy Authen Name and Proxy Authen Name Value shall be present; otherwise, the Length of Proxy Authen Name and Proxy Authen Name Value shall not be present.

– Bit 2 – PAC: If this bit is set to "1", then the Length of Proxy Authen Challenge and Proxy Authen Challenge Value shall be present; otherwise, the Length of Proxy Authen Challenge and Proxy Authen Challenge Value shall not be present.

– Bit 3 – PAR: If this bit is set to "1", then the Length of Proxy Authen Response and Proxy Authen Response Value shall be present; otherwise, the Length of Proxy Authen Response and Proxy Authen Response Value shall not be present.

– Bit 4 – PAI: If this bit is set to "1", then the Proxy Authen ID shall be present; otherwise, the Proxy Authen ID shall not be present.

Proxy Authen Type Value, Proxy Authen Name Value, Proxy Authen Challenge Value, Proxy Authen Response Value and Proxy Authen ID shall be encoded as the Attribute Value field for the Proxy Authen Type AVP, Proxy Authen Name AVP, Proxy Authen Challenge AVP, Proxy Authen Response AVP and Proxy Authen ID respectively as specified in IETF RFC 2661 [67].

If Proxy Authen Type Value is 1, then the PAN and PAR flags shall be set.

If Proxy Authen Type Value is 2, then the PAN, PAC, PAR, and PAI flags shall be set.

If Proxy Authen Type Value is 3, then the PAN, PAR, and PAI flags shall be set.

If Proxy Authen Type Value is 5, then the PAN, PAC, PAR, and PAI flags shall be set.