4G/LTE - IP Allocation |
||
IPv6 Establish
This page will explain only one IPv6 allocation in terms of NAS signaling and NDP (Network Discovery Protocol). If you are new to general IP allocation including PCO and the role of NDP, refer to following pages as well.
Regarding more details on specification, refer to following specifications
There are several different ways in which IPv6 is allocated. Overall logic is all same, but depending on whether it is for LTE or WCDMA or whether it is IPv6 only or IPv4v6 dual stack, a little bit different NAS message or different IE(Information Element) value.
Case 1 : IPv6 only allocation in LTE
Case 2 : IPv4v6 only allocation in WCDMA
(1) Activate PDP Context Request
DLT: 147, Payload: rrc.ul.dcch (Radio Resource Control (RRC) protocol) UL-DCCH-Message integrityCheckInfo messageAuthenticationCode: 6bec984f [bit length 32, 0110 1011 1110 1100 1001 1000 0100 1111 decimal value 1810667599] rrc-MessageSequenceNumber: 1 message: uplinkDirectTransfer (27) uplinkDirectTransfer cn-DomainIdentity: ps-domain (1) nas-Message: 0a4105030e000000000000000000000000000002018d2806... GSM A-I/F DTAP - Activate PDP Context Request Protocol Discriminator: GPRS session management messages .... 1010 = Protocol discriminator: GPRS session management messages (0x0a) 0... .... = TI flag: allocated by sender .000 .... = TIO: 0 01.. .... = Sequence number: 1 DTAP GPRS Session Management Message Type: Activate PDP Context Request (0x41) Network Service Access Point Identifier - Requested NSAPI NSAPI: 0x05 (5) LLC Service Access Point Identifier - Requested LLC SAPI 0000 .... = Spare bit(s): 0 .... 0011 = LLC SAPI: SAPI 3 (3) Quality Of Service - Requested QoS Length: 14 00.. .... = Spare bit(s): 0 ..00 0... = Quality of Service Delay class: Subscribed delay class (in MS to network direction) (0) .... .000 = Reliability class: Subscribed reliability class (in MS to network direction) (0) 0000 .... = Peak throughput: Subscribed peak throughput/reserved (0) .... 0... = Spare bit(s): 0 .... .000 = Precedence class: Subscribed precedence/reserved (0) 000. .... = Spare bit(s): 0 ...0 0000 = Mean throughput: Subscribed peak throughput/reserved (0) 000. .... = Traffic class: Subscribed traffic class/Reserved (0) ...0 0... = Delivery order: Subscribed delivery order/Reserved (0) .... .000 = Delivery of erroneous SDUs: Subscribed delivery of erroneous SDUs/Reserved (0) Maximum SDU size: Subscribed maximum SDU size/reserved (0) Maximum bitrate for uplink: Subscribed maximum bit rate for uplink/reserved (0) Maximum bitrate for downlink: Subscribed maximum bit rate for downlink/reserved (0) 0000 .... = Residual Bit Error Rate (BER): Subscribed residual BER/Reserved (0) .... 0000 = SDU error ratio: Subscribed SDU error ratio/Reserved (0) 0000 00.. = Transfer delay: Subscribed transfer delay/reserved (0) .... ..00 = Traffic handling priority: Subscribed traffic handling priority/Reserved (0) Guaranteed bitrate for uplink: Subscribed guaranteed bit rate for uplink/reserved (0) Guaranteed bitrate for downlink: Subscribed guaranteed bit rate for downlink/reserved (0) 000. .... = Spare bit(s): 0 ...0 .... = Signalling indication: Not optimised for signalling traffic .... 0000 = Source statistics description: unknown (0) Maximum bitrate for downlink (extended): Use the value indicated by the Maximum bit rate for downlink (0) Guaranteed bitrate for downlink (extended): Use the value indicated by the Guaranteed bit rate for downlink (0) Packet Data Protocol Address - Requested PDP address Length: 2 0000 .... = Spare bit(s): 0 .... 0001 = PDP type organization: IETF allocated address (1) PDP type number: IPv4v6 address (141) Dynamic addressing Access Point Name Element ID: 0x28 Length: 6 APN: phone Protocol Configuration Options Element ID: 0x27 Length: 29 [Link direction: MS to network (0)] 1... .... = Extension: True Configuration Protocol: PPP for use with IP PDP type or IP PDN type (0) Protocol or Container ID: Internet Protocol Control Protocol (0x8021) Length: 0x10 (16) PPP IP Control Protocol Code: Configuration Request (1) Identifier: 0 (0x00) Length: 16 Options: (12 bytes), Primary DNS Server IP Address, Secondary DNS Server IP Address Primary DNS Server IP Address: 0.0.0.0 Type: Primary DNS Server IP Address (129) Length: 6 Primary DNS Address: 0.0.0.0 (0.0.0.0) Secondary DNS Server IP Address: 0.0.0.0 Type: Secondary DNS Server IP Address (131) Length: 6 Secondary DNS Address: 0.0.0.0 (0.0.0.0) Protocol or Container ID: DNS Server IPv4 Address Request (0x000d) Length: 0x00 (0) Protocol or Container ID: DNS Server IPv6 Address Request (0x0003) Length: 0x00 (0) Protocol or Container ID: MS Support of Network Requested Bearer Control indicator (0x0005) Length: 0x00 (0)
(2) Activate PDP Context Accept
DLT: 147, Payload: rrc.dl.dcch (Radio Resource Control (RRC) protocol) DL-DCCH-Message integrityCheckInfo messageAuthenticationCode: 36d2872b [bit length 32, 0011 0110 1101 0010 1000 0111 0010 1011 decimal value 919766827] rrc-MessageSequenceNumber: 0 message: downlinkDirectTransfer (5) downlinkDirectTransfer: r3 (0) r3 downlinkDirectTransfer-r3 rrc-TransactionIdentifier: 0 cn-DomainIdentity: ps-domain (1) nas-Message: 8a42030e23920a9396d3fe7400407f005000012b16018dc0... GSM A-I/F DTAP - Activate PDP Context Accept Protocol Discriminator: GPRS session management messages .... 1010 = Protocol discriminator: GPRS session management messages (0x0a) 1... .... = TI flag: allocated by receiver .000 .... = TIO: 0 01.. .... = Sequence number: 1 DTAP GPRS Session Management Message Type: Activate PDP Context Accept (0x42) LLC Service Access Point Identifier - Negotiated LLC SAPI 0000 .... = Spare bit(s): 0 .... 0011 = LLC SAPI: SAPI 3 (3) Quality Of Service - Negotiated QoS Length: 14 00.. .... = Spare bit(s): 0 ..10 0... = Quality of Service Delay class: Delay class 4 (best effort) (4) .... .011 = Reliability class: Unacknowledged GTP/LLC, Ack RLC, Protected data (3) 1001 .... = Peak throughput: Up to 256 000 octet/s (9) .... 0... = Spare bit(s): 0 .... .010 = Precedence class: Normal priority (2) 000. .... = Spare bit(s): 0 ...0 1010 = Mean throughput: 100 000 octet/h (10) 100. .... = Traffic class: Background class (4) ...1 0... = Delivery order: Without delivery order ('no') (2) .... .011 = Delivery of erroneous SDUs: Erroneous SDUs are not delivered('No') (3) Maximum SDU size: 1500 octets (150) Maximum bitrate for uplink: 5888 kbps (211) Maximum bitrate for downlink: 8640 kbps (254) 0111 .... = Residual Bit Error Rate (BER): 1*10-5 (7) .... 0100 = SDU error ratio: 1*10-4 (4) 0000 00.. = Transfer delay: Subscribed transfer delay/reserved (0) .... ..00 = Traffic handling priority: Subscribed traffic handling priority/Reserved (0) Guaranteed bitrate for uplink: 64 kbps (64) Guaranteed bitrate for downlink: 568 kbps (127) 000. .... = Spare bit(s): 0 ...0 .... = Signalling indication: Not optimised for signalling traffic .... 0000 = Source statistics description: unknown (0) Maximum bitrate for downlink (extended): 22 Mbps (80) Guaranteed bitrate for downlink (extended): Use the value indicated by the Guaranteed bit rate for downlink (0) Radio Priority Radio Priority (PDP or SMS): priority level 1 (highest) (1) Packet Data Protocol Address - PDP address Element ID: 0x2b Length: 22 0000 .... = Spare bit(s): 0 .... 0001 = PDP type organization: IETF allocated address (1) PDP type number: IPv4v6 address (141) IPv4 address: 192.168.157.11 (192.168.157.11) IPv6 address: 2011:0:0:1::1 (2011:0:0:1::1) Protocol Configuration Options Element ID: 0x27 Length: 40 [Link direction: Network to MS (1)] 1... .... = Extension: True Configuration Protocol: PPP for use with IP PDP type or IP PDN type (0) Protocol or Container ID: Internet Protocol Control Protocol (0x8021) Length: 0x0a (10) PPP IP Control Protocol Code: Configuration Nak (3) Identifier: 0 (0x00) Length: 10 Options: (6 bytes), Primary DNS Server IP Address Primary DNS Server IP Address: 192.168.157.18 Type: Primary DNS Server IP Address (129) Length: 6 Primary DNS Address: 192.168.157.18 (192.168.157.18) Protocol or Container ID: DNS Server IPv4 Address (0x000d) Length: 0x04 (4) IPv4: 192.168.157.18 Protocol or Container ID: DNS Server IPv6 Address (0x0003) Length: 0x10 (16) IPv6: 2011:0:0:1::2
|
||