A NAT address pool can be created so that you can define a public IPv4 address range for the NAT address pool and assign the address pool to a specific NAT instance before the instance translates between private and public IPv4 addresses.
A NAT address pool can be configured and used to translate addresses based on 5-tuple information in user packets.
The system view is displayed.
The NAT instance view is displayed.
In non-Easy IP mode, create a NAT address pool with network segment addresses or enter a NAT address pool.
Run the nat address-group address-group-name [ group-id id ] [ start-address { mask { address-mask-length | address-mask } | end-address } ] [ vpn-instance vpn-instance-name ] [ no-pat ] command.
When the nat address-group command is used to create a NAT address pool, the group-id parameter needs to be specified. The group-id parameter specifies the ID of a NAT address pool, which uniquely identifies a NAT address pool.
Run the nat address-group address-group-name command to enter the NAT address pool view and the run the section section-num start-ip-address { mask { mask-length | mask-ip } | end-ip-address } command.
The mask mode is recommended. With this mode enabled in NAT public IP address pools, the length of routes to be advertised is the same as the mask length specified in the nat address-group command. In start-end mode, the length of routes to be advertised is 32 bits.
In Easy IP mode, create the multiplexing relationship between a NAT address pool and an interface IP address.
Run the nat address-group address-group-name group-id id unnumbered interface interface-name command.
Run the nat address-group address-group-name command to enter the NAT address pool view and then the section section-num unnumbered interface { interface-name | interface-type interface-number } command.
The NAT address pool cannot contain the IP address of a DHCP server. Otherwise, a message indicating a conflict is displayed.
Return to the NAT instance view.
The No-PAT conversion function is enabled for all IP protocol packets, including those of TCP/UDP/ICMP/PPTP ALG for GRE.
After this command is run, the No-PAT conversion mode is supported only in this instance, and the PAT and No-PAT address pools cannot be both configured.
The configuration is committed.