N A T ( Network Address Translation ) Submitted by Uma Shankar Sharma
Convert for exchange
Network Address Translation (NAT) Basically Nat is a process of converting private IP address into public IP address and vice versa. It is the process of translation which make communication between LAN level to WAN level. Here modem perform the role translator which convert the private IP into public IP address.
MODEM ISP SERVER
Types of NAT STATIC NAT DYNAMIC NAT OVERLOADING or PAT (Port Address Translation)
STATIC NAT Static NAT means combining one public IP address to one private IP address. Now a days we don’t use static NAT
DYNAMIC NAT Dynamic NAT means combining many public IP address to many private IP address. We have to make a pool of public IP address which is provided by ISP (internet service provider) Dynamic NAT is also not in use now a days.
PAT (PORT ADDRESS TRANSLATION) It is also known as overloading its means combining one public IP address to many private IP address on the basic of ports address. Now a days we use PAT for conserving public IPV4. Because we have 4.2 billion ipv4 public IP address but the users are more than 4.2 billion. It is not possible to provide particular IP address to a particular individual . So we use pat to overcome this problem.
There are two method to configure PAT on Router Command for 1 st method- router(config)# access-list 1 permit 192.168.1.0 0.0.0.255 router(config)# i p nat pool appin 122.1.1.1 122.1.1.1 netmask 255.255.0.0 router(config)# i p nat inside source list 1 pool Bhopal overload router(config)# interface fastethernet 0/0 router(config-if)# ip nat inside router(config-if)# exit router(config)# i nterface serial 2/0 router(config-if)# ip nat outside router(config-if)# exit router(config)# e xit r outer#write
Command for 2 nd method- router(config)# access-list 1 permit 192.168.1.0 0.0.0.255 router(config)# ip nat inside source list 1 interface serial 2/0 router(config)# interface fastethernet 0/0 router(config-if)# ip nat inside router(config-if)# exit router(config)# interface serial 2/0 router(config-if)# ip nat outside router(config-if)# Exit router(config)# exit router#write