My Blog List

Thursday, April 5, 2012

Network address translation (NAT)

Static NAT: to map one to one IP address (public ip to privet ip)

1.First of all open the Nat file
2.assign the ip address for PC1,PC2,PC3,PC4

 3.assign the ip of serial port in office router as cuz its the public ip address of  given by ISP.
4. Configure a default route in the office router for Internet connectivity.

 as follows - -  - Router(config)#ip route serial 2/0

5.assign the inbound and out bound of office router !!!
Fa0/0 of office router is inbound of the private network.
Se2/0 of office router is the outbound of the network.

go to interface of fa0/0

Router(config)#interface fastEthernet 0/0
Router(config-if)#ip nat inside

go to se 2/0

Router(config)#interface serial 2/0
Router(config-if)#ip nat outside

6. Now Map the private ip address to public ip address !!!

Router(config)#ip nat inside source static
 // this command give the static ip for pc1 .
map the private ip for public ip !!
 7. ping the server by PC1 command prompt by - ping

thats all about the static NAT :) :) :)


  1. I really like your blog and have one with similar information. If you have time check it out.
    The best sitedata