1/15
Looks like no tags are added yet.
What does NAT stand for?
Network Address Translation
IANA
Internet Assigned Numbers Authority: the global coordinator of IP addresses.
Regional Internet Registries (RIRs)
Responsible for allocating IP addresses to their respective regions.
Where do organisations such as ISPs get their IP addresses from?
From RIRs (Regional Internet Registries).
Order of IP address allocation from the top down
IANA, then RIRs, then organisations such as ISPs, then customers.
How is a home usually assigned an IP address by an ISP?
The home is assigned a single public IP address, given to the default gateway.
Who assigns IP addresses to devices inside a home network?
The default gateway, which assigns private IP addresses.
Can private IP addresses be used to connect to the Internet?
No
Where is NAT usually implemented?
In routers that connect a local network to the Internet.
What 2 interfaces does a NAT router have?
One with a private address connected to the internal network, and one with a public address connected to the Internet.
Why does NAT make the private network transparent to the Internet?
The only address the Internet sees is the NAT router's public address.
What does the NAT router do to outgoing packets?
Replaces the source IP address with the public IP address.
What does the NAT router do to incoming packets?
Replaces the destination IP address with the appropriate private IP address.
How does the NAT router know which private IP an incoming packet should go to?
It uses a translation table.
Problem: two private hosts talk to the same external destination. How does NAT tell their packets apart?
It uses a 5 column translation table that includes port numbers.
What are the 5 columns of the NAT translation table?
Private address, private port, external address, external port, protocol.