NEXPEED NBG440 User’s Manual
NexComm Systems, Inc. 81 PAGE
Configuring PAT
Step1
> Create the global IP address pool. It is possible to set up multiple pools, but the
overlapping of the range of IP addresses for each pool is not allowed.
COMMAND
(conf)# nat pool <poolname> <global-startip> <global-endip>
Parameters
<poolname> - name of the IP address pool
<global-startip> - first global IP address
<global-endip> - last global IP address
Step2
> Make the mapping between local IP addresses and the global IP address pool.
COMMAND
(conf)# nat portmap <local-startip> <local-endip> <poolname>
Parameters
<global-startip> - first global IP address
<global-endip> - last global IP address
<poolname> - name of the IP address pool to be mapped
Step3
> Enable NAT. Set up the outside interface that will be subject to translation.
COMMAND
(conf)# nat outside <ifname>
Parameters
<ifname> - Interface name
Removing PAT configuration
Step1
> Disable NAT. The router stops the NAT translation.
COMMAND
(conf)# nat no outside <ifname>
Parameters
<ifname> - Interface name
Step2
> Remove port mappings using the following command. The router clears all
entries in the NAT translation table.
COMMAND
(conf)#
nat
no
portmap
<local-startip>
<local-endip>
<poolname>
Step3
> Remove the global IP address pool using the following command. You can
delete the pool after you delete all mappings related that pool.
COMMAND
(conf)# nat no pool <poolname>