Networker Interview
Prepare for CCNA, CCNP, CCIE Interview !
CCNA CCNP CCIE Q U I C K N OT E S C C N A P D F D O W N LOA D TO P I C - W I S E
C O NTACT U S ABOUT US P R I VAC Y P O L I C Y
NAT Interview Questions and Answers (Network Address Translation) Search
What is NAT?
Network Address Translation translates the private addresses into public addresses before packets are
routed to a public network. It allows a network device such as a router to translate addresses between
Buy C
the private and public network.
Question
What are the Situations where NAT is required?
1. When we need to connect to the internet and our hosts don't have globally unique IP addresses.
2. When we want to hide internal IP addresses from outside for security purpose.
3. A company is going to merge in another company which uses same address space.
What are the advantages of Nat?
1. It conserves legally registered IP addresses.
2. It prevents address overlapping.
3. Provides security by hiding internal (private) IP addresses.
4. Eliminates address renumbering as a network evolves.
What are different types of NAT?
There are mainly three types of NAT:- Cl
1. Static NAT
2. Dynamic NAT Buy VPN
3. Port Address Translation (Overloading) Intervie
Answers
What is Static NAT?
Static NAT allows for one to one mapping that is it translates one private IP address to one public IP
address.
R1(config)# ip nat inside source static 10.1.1.1 15.36.2.1
R1(config)# int fa0/0
R1(config-if)#ip nat inside (It identifies this interface as the inside interface)
R1(config)# int fa0/1
R1(config-if)#ip nat outside (It identifies this interface as the outside interface)
In ip nat inside source command, we can see that the command is referencing the inside interface as
source or starting point of the translation.
Privacy - Terms
What is Dynamic NAT? Clic
It maps an unregistered IP address to a registered IP address from out of a pool of registered IP
addresses.
R1(config)# ip nat pool CCNA 190.1.1.5 190.1.1.254 netmask 255.255.255.0 Net
1,77
R1(config)#ip nat inside source list 10 pool CCNA
R1(config)# int fa0/0
Follow Pag
R1(config-if)#ip nat inside (It identifies this interface as the inside interface)
R1(config)# int fa0/1
R1(config-if)#ip nat outside (It identifies this interface as the outside interface)
R1(config)# access-list 10 permit 192.168.1.0 0.0.0.255 (To specify which unregistered addresses needs to be
translated)
What is Port Address Translation (Overloading)?
It maps multiple unregistered IP addresses to a single registered IP address using different port
numbers. PAT allows thousands of users to connect to internet using one public address only.
R1(config)# ip nat pool CCNA 190.1.1.5 190.1.1.254 netmask 255.255.255.0
R1(config)#ip nat inside source list 10 pool CCNA overload
R1(config)# int fa0/0
R1(config-if)#ip nat inside (It identifies this interface as the inside interface)
R1(config)# int fa0/1
R1(config-if)#ip nat outside (It identifies this interface as the outside interface)
R1(config)# access-list 10 permit 192.168.1.0 0.0.0.255 (To specify which unregistered addresses needs to be
translated)
What are Inside Local, Inside Global, Outside Local, Outside Global address?
An Inside local address is an IP address of host before translation.
Inside Global address is the public IP address of host after translation.
Outside Local address is the address of router interface connected to ISP.
Outside Global address is the address of the outside destination (ultimate destination).
Go Back
7 comments Posted in NAT.
Cisco ip nat inside pat static nat dynamic nat port address translation overloading inside local inside global outside local outside global address
Share
feroz syed
1
Superb notes for preparetion
Reply
Nazmul
2
Very helpful. Thanks....
Reply