Configuration Guide Configuring NAT
prefix-length prefix-length }
address-pool: name of the address pool
start-address: start IP address
end-address: end IP address
netmask mask: network mask of the addresses
prefix-length prefix-length: length of the network mask of the addresses
Global configuration mode
Configuring Dynamic NAPT
ip nat inside source list access-list-number { [ pool address-pool ] | [ interface interface-type
interface-number ] } overload
access-list-number: ACL number
pool address-pool: name of the address pool
interface interface-type interface-number: implements NAPT using the global address of the outside interface.
overload: Indicates that each global address in the address pool can be reused for NAPT. Currently, the
global addresses are reused even if this parameter is not configured. Therefore, this parameter is used
only to keep compatibility with Cisco commands.
Global configuration mode
Configuration
Example
Enabling Intranet User to Access an Extranet Server Through NAPT
Configure ip nat inside on the inside interface.
Configure ip nat outside on the outside interface.
Configure a dynamic NAPT rule.
A# configure terminal
A(config)# interface GigabitEthernet 0/0
A(config-if-GigabitEthernet 0/0)# ip address 192.168.12.1 255.255.255.0