Network Address Translation Flashcards
What does the Network Address Translation (NAT) do?
Modifying layer 3 and 4 addressing in a packer while it is being forwarded
?What is a major use-case for NAT?
Private IPv4 addressing translated to public addressing
What device makes the change to the packet?
the forwarding device (like router) in the path makes the change
What is Static NAT?
one to one mapping of internal IP address to external IP address
True or False: External devices can reach internal devices in a static NAT
true
What is a Dynamic NAT?
One to one to many mapping of internal IP address to a pool of external IP addresses
True or False: In a Dynamic NAT external devices cannot reach internal devices
True
What is Port Address Translation (PAT) / NAT overload?
Many to one mapping of internal IP addresses to a single external IP address
Static NAT:
One-to-one: one internal IP to one specific external IP
Dynamic NAT:
one-to-one-of-many: one internal IP to an external IP in a range
PAT/NAT Overloading
Many-to-one: many internal IP addresses to one external IP
True or False: PAT/NAT overloading does not require an IP address and a port
False
What are the four main concerns about NAT?
Performance, Fragmentation, End-to-end connectivity/principle, and IP address in application data
Why is performance a concern for NAT? (2 reasons)
1) Modifying the IP header by changing the IP address requires NAT device to recalculate the IP header checksum
2) Modifying the port number requires NAT device to recalculate the TCP checksum
Why is fragmentation a concern for NAT? (one reason)
care has to be taken so that a datagram that is fragmented before reaching the NAT device is not assigned different IP address or port numbers for each fragmentation