PAT is similar to port forwarding except that an incoming packet with destination port
(external port) is translated to a packet different destination port (an internal port). The Internet
Service Provider (ISP) assigns a single IP address to the edge device. When a computer logs on to
the Internet, this device assigns the client a port number that is appended to the internal IP address,
giving the computer a unique IP address.
SYNTAX:
ip nat inside source list <1-99> pool NAME overload
ip nat pool NAME INSIDE_GLOBAL INSIDE_GLOBAL netmask SUBNETMASK
access-list <1-99> permit INSIDE_LOCAL_PREFIX WILDCARD
Router Configuration
Router(config)#
Router(config)#interface gigabit 0/?
Router(config-if)#ip nat inside
Router(config-if)#ip address 192.168.100.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#interface gigabitethernet 0/1
Router(config-if)#ip nat outside
Router(config-if)#ip address dhcp
Router(config-if)#no shutdown