A NAT64 address pool can be created so that you can define a public IPv4 address range for a NAT64 address pool and assign the address pool to a specific NAT64 instance before the instance translates between private IPv6 addresses and public IPv4 addresses.
Port address translation (PAT): NAT64 translates both IP addresses and port numbers between private and public networks. PAT allows multiple users within a private network to use a minimal number of public IP addresses. PAT is used more often than No-PAT.
No-Port Address Translation (No-PAT): Only the IP address in a packet is replaced.
The following address translation mode is supported based on NAT64 address translation methods:
Symmetric mode: also called the 5-tuple mode. A 5-tuple entry contains a source IP address, source port number, protocol type, destination IP address, and destination port number, which is used to translate addresses and filter packets. If packets carrying the same source IP address and port number but different destination IP addresses and port numbers are translated by a device using NAT64, the source IP address and port number in the packets are translated into different external IP addresses and port numbers. In addition, the device allows only the external network hosts with these destination IP addresses to use the translated IP addresses and port numbers to visit internal network hosts.
The system view is displayed.
The NAT64 instance view is displayed.
Run nat64 address-group address-group-name group-id group-id start-address { mask { mask-length | mask-ip } | end-address } [ vpn-instance vpn-instance-name ] [ no-pat ]
An address pool is created by specifying an address range in the NAT64 instance view.
The NAT64 address pool cannot contain the IP address of a DHCP server. Otherwise, a message indicating a conflict is displayed.
To exclude a specific IP address or a range of IP addresses in an address range from NAT64 translation, run the section section-id exclude-ip-address start-address [ end-address ] command.
Run the quit command to re the NAT64 instance view. Run the nat64 address-group exclude-ip-address command in the NAT64 instance view to exclude a specific IP address or a range of IP addresses in the address pool from NAT64 translation.
The configuration is committed.