Skip to content
IT // Adventures

Configuring NAT and PAT on Cisco routers

Configure Network and Port Address Translation on Cisco routers.

1 min read

Configuring PAT

Define the internal IP address range in Access Control List (ACL) “1”:

Router(config) #access-list 1 remarks Internal-Network Category=2
Router(config) #access-list 1 permit 192.168.1.0 0.0.0.255

Define existing interfaces as “inside” and “outside” for NAT:

Router(config) #interface Vlan 1
Router(config-interface) #ip nat inside

Router(config)#interface FastEthernet0
Router(config-interface) #ip nat outside

Enable “NAT Overload” (=PAT) for all “inside” interfaces onto the “outside” interface:

Router(config) #ip nat inside source list 1 interface FastEthernet0 overload

Showing current NAT connections

Router #show ip nat translations