User guide
Network address translation - NAT NAT command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-142
Example Example 1
This example creates a network address pool that allows NAT to translate packets
between the external interface and the DMZ interface type.
First, NAT is enabled between the external interface and the DMZ interface type:
--> nat enable n1 extinterface dmz
Then the IP address and subnet mask is created:
--> nat add globalpool gp1 extinterface dmz 192.168.102.3 subnetmask 255.255.255.0
Example 2
This example creates a network address pool that allows NAT to translate packets
between the external interface and the internal interface type.
First NAT is enabled between the external interface and the internal interface type:
--> nat enable n2 extinterface internal
Then the address range is created:
--> nat add globalpool gp2 extinterface internal 192.168.103.2 endaddress
192.168.103.50
See also NAT ENABLE
NAT STATUS
SECURITY LIST INTERFACES
Note: Once you have created an address pool, packets received on a specific IP address can be mapped to
individual hosts inside the network. See NAT ADD RESVMAP GLOBALIP.
4.4.5.1.4 NAT CLEAR GLOBALPOOLS
Syntax NAT CLEAR GLOBALPOOLS <interfacename>
Description This command deletes all address pools that were added to a specific outside interface
using the nat add globalpool command.
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
mask The subnet mask of the network IP address. N/A
endad-
dress
The last IP address in the range of addresses that make up the
global address pool.
N/A
Option Description Default Value