NAT (PAT) in cisco router
Router 3 (Client Router):
Router3(config)# interface FastEthernet0/0
Router3(config-if)# ip address 172.16.1.1 255.255.255.252
Router3(config-if)#ip nat outside
Router3(config-if)#no shut
Router3(config)#interface FastEthernet0/1
Router3(config-if)#ip address 192.168.1.1 255.255.255.0
Router3(config-if)# ip nat inside
Router3(config-if)#no shut
Router3(config)#ip route 0.0.0.0 0.0.0.0 172.16.1.2
Router3(config)#access-list 1 permit 192.168.1.0 0.0.0.255
Router3(config)#ip nat inside source list 1 interface FastEthernet0/0 overload
Router3#ping 192.168.2.2
Router3#sh ip nat translate
Subscribe to:
Posts (Atom)