Framed-IPv6-Prefix
|
The Framed-IPv6-Prefix AVP (AVP Code 97) is of type OctetString and contains the IPv6 prefix to be configured for the user. An IPv6 prefix or an IPv4 address must be carried in a CCR message. The Framed-IPv6-Prefix AVP length is 18 bytes. The first byte is reserved and the second byte indicates the prefix length (the prefix length ranges from 0 to 128 bytes). The last 16 bytes constitute the prefix.
Three IPv6 address formats are supported: The complete format is X:X:X:X:X:X:X:X, in which each X is a 16-bit hexadecimal address segment, for example: 2001:DB8:7654:4210:FEDC:BA98:7654:3210 and 2001:DB8:0:0:0:8:800:201C:417A. Zeros in front of each group of values can be omitted. For example, 0008 can appear as 8.
The "::" symbol is used to replace the 16 octets with multiple zeros. It can appear only once in an address. The symbol can also be used to compress zeros in the front and rear parts of an address. For example:
An IPv6 address containing an IPv4 address is expressed in the format X:X:X:X:X:X.D.D.D.D, in which the Xs are high-order 16-bit hexadecimal values and the Ds are low-order 8-bit decimal values (expressed in IPv4 format). For example:
The preceding addresses can be written as: 2001:DB8::192.168.32.29 and 2001:DB8::FFFF.192.168.32.30.

|