Dual-Stack Lite
Architecture
-
Basic Bridging Broadband (B4). Basic Bridging broadband, or B4, is a device or component that resides in the subscriber premises. Typically, B4 is a component in the CPE devices in the subscriber premises. IPv4 subscribers are connected to the IPv6-only ISP access network through the CPE device containing the B4 component. The main function of the B4 is to initiate an IPv6 tunnel between B4 and an address family transition router (AFTR) in order to send or receive subscriber IPv4 request or response packets over the tunnel. B4 includes an IPv6 address known as the B4 tunnel endpoint address. B4 uses this address to source IPv6 packets to AFTR and receive packets from AFTR.
-
Address family transition router (AFTR). AFTR is a device or component residing in the ISP’s core network. AFTR terminates the IPv6 tunnel from the B4 device. In other words, the IPv6 tunnel is formed between B4 in the subscriber premise and AFTR in ISP core network. AFTR decapsulates IPv6 packets received from B4 to recover the subscribers’ original IPv4 packets. AFTR sends the IPv4 packets to the LSN device or component. LSN routes the IPv4 packets to their destination after performing NAT address and port translation (NAT 44) and other LSN related processing. AFTR includes an IPv6 address known as the AFTR tunnel endpoint address. AFTR uses this address to source IPv6 packets to B4 and receive IPv6 packets from B4. The NetScaler appliance implements the AFTR component.
-
Softwire. The IPv6 tunnel created between B4 and AFTR is called a softwire.
Example
| Entity | Name | Details |
|---|---|---|
| IPv4 address of subscriber SUB-1 | 192.0.2.51 | |
| IPv6 address of softwire endpoint on the B4 device (B4-CPE-1) | 2001:DB8::3:4 | |
| IPv6 address of the softwire endpoint on the AFTR device (NS-1) | 2001:DB8::5:6 |
| Entity | Name | Details |
|---|---|---|
| LSN client | LSN-DSLITE-CLIENT-1 | Network6 (Identifying traffic from B4 devices) = 2001:DB8::3:0/100 |
| LSN pool | LSN-DSLITE-POOL-1 | LSN IPs (NAT IP) = 203.0.113.61 - 203.0.113.70 |
| IPv6 Profile | LSN-DSLITE-PROFILE-1 | Type = DS-LITE; IPv6 address (AFTR IPv6 address) = One of the NetScaler owned IPv6 address of type SNIP6 = 2001:DB8::5:6 |
| LSN group | LSN-DSLITE-GROUP-1 | LSN client = LSN-DSLITE-CLIENT-1; LSN pool = LSN-DSLITE-POOL-1;IPv6 profile = LSN-DSLITE-PROFILE-1 |
-
IPv4 subscriber SUB-1 sends a request to (
http://www.example.com/). The IPv4 packet has:-
Source IP address = 192.0.2.51
-
Source port = 2552
-
Destination IP address = 198.51.100.250
-
Destination port = 80
-
-
Upon receiving the IPv4 request packet, B4-CPE-1 encapsulates it in the payload of an IPv6 packet and then sends the IPv6 packet to NS-1. The IPv6 packet has:
-
Source IP address = 2001:DB8::3:4
-
Destination IP address = 2001:DB8::5:6
-
-
When NS-1 receives the IPv6 packet, the AFTR module decapsulates the packet by removing the IPv6 headers. The resulting packet is SUB-1’s original IPv4 request packet.
-
The LSN module of NS-1 translates the source IP address and port of the packet to an NAT IP address and NAT port selected from the configured NAT pool. The translated IPv4 packet has:
-
Source IP address = 203.0.113.61
-
Source port = 3002
-
Destination IP address = 198.51.100.250
-
Destination port = 80
-
-
The LSN module also creates an LSN mapping and session entry for this DS Lite session. The mapping includes the following information:
-
Source IP address of the IPv6 packet (B4-CPE-1’s IPv6 address) = 2001:DB8::3:4
-
Source IP address of the IPv4 packet (SUB-1’s IPv4 address) = 192.0.2.51
-
Source port of the IPv4 packet = 2552
-
NAT IP address = 203.0.113.61
-
NAT port = 3002
-
-
NS-1 sends the resulting IPv4 packet to its destination on the Internet.
-
The server for www.example.com processes the request packet and sends a response packet. The IPv4 response packet has:
-
Source IP address = 198.51.100.250
-
Source port = 80
-
Destination IP address = 203.0.113.61
-
Destination port = 3002
-
-
Upon receiving the IPv4 packet, NS-1 examines the LSN mapping and session entries and finds that the IPv4 response packet belongs to a DS Lite session. The LSN module of NS-1 translates the destination IP address and port. The IPv4 packet now has:
-
Source IP address = 198.51.100.250
-
Source port = 80
-
Destination IP address = 192.0.2.51
-
Destination port = 2552
-
-
The AFTR module of NS-1 encapsulates the IPv4 packet in an IPv6 packet and then sends the IPv6 packet to B4-CPE-1. The IPv6 packet has:
-
Source IP address = 2001:DB8::5:6
-
Destination IP address = 2001:DB8::3:4
-
-
Upon receiving the packet, B4-CPE-1 decapsualtes the IPv6 packet by removing the IPv6 headers, and then sends the resulting IPv4 packet to CL-1.