My Blog List

Thursday, April 5, 2012

network address translation (Dynamic NAT)

Dynamic NAT/PAT:  to map one to many or many to many IP address (public ip to privet ip).

1. First of all you must create access list
(Create ACL for which network or IP address you want to access internet)

Router(config)#access-list 10 permit 192.168.0.0 0.0.0.255
Router(config)#access-list 10 permit host 192.168.0.4
Router(config)#access-list 10 permit host 192.168.0.5
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip access-group 10 in
Router(config-if)#exit
Router(config)#

2.Create NAT pool
 Router(config)#ip nat pool abc 200.10.10.3 200.10.10.5 netmask 255.255.255.0
Router(config)#ip nat inside source list 10 pool abc

3. Then ping PC4 to the Cisco.com server by the commnd prompt  as - ping 170.1.1.1

1 comment:

  1. hey good work macho! really helpful. even for the online as well :D

    ReplyDelete