This section describes the processing procedure of the DS-Lite NAT.
When a private IPv4 network user attempts to traverse the IPv6 network to access the IPv4 Internet, an IPv4 over IPv6 tunnel needs to be established on the CPE and CGN devices to transmit private IPv4 packets across the IPv6 network, and DS-Lite NAT needs to be deployed on the CGN device to translate a private IPv4 address to a public address, enabling access to the IPv4 Internet. Figure 1 shows the detailed processing procedure.

The CGN decapsulates the packet and checks the NAT policy for IPv4 Internet access. If 3-tuple NAT is used, the CGN creates a source and destination server map table and records the CPE IP and Tunnel ID in the server map table. In addition, the CGN creates a session table and records information, such as the outbound interface, CPE IP, and Tunnel ID in the table for encapsulating packets returned from the IPv4 Internet.
The CPE IP field is introduced to address overlapping private network addresses. If two users connected to different CPEs use the same private network address, the CGN identifies the users based on the CPE IP (the IPv6 address of the CPE connected to the IPv6 network, namely, the source address used by the CPE to establish a tunnel).