Network Address Translation (NAT) allows multiple devices on a private network to share a single public IP address to access the internet. It maps private IP addresses to public IP addresses in a one-to-one or many-to-one correspondence, depending on the NAT mode used. NAT is commonly implemented to conserve public IPv4 addresses and improve network security by hiding private addressing schemes.
Network Address Translation (NAT) allows multiple devices on a private network to share a single public IP address to access the internet. It maps private IP addresses to public IP addresses in a one-to-one or many-to-one correspondence, depending on the NAT mode used. NAT is commonly implemented to conserve public IPv4 addresses and improve network security by hiding private addressing schemes.
Network Address Translation (NAT) allows multiple devices on a private network to share a single public IP address to access the internet. It maps private IP addresses to public IP addresses in a one-to-one or many-to-one correspondence, depending on the NAT mode used. NAT is commonly implemented to conserve public IPv4 addresses and improve network security by hiding private addressing schemes.
NAT Links • http://www.cisco.com/warp/public/556/nat- cisco.shtml • http://www.howstuffworks.com/nat2.htm Why? • 32-bit addresses • Not all available (private, reserved, multicast, network/broadcast addresses, etc… ) • Larger addresses (IPv6) will take time • Private addressing Topology NAT Modes • Classic: Private to Public IP translation • Overload: Multiple private to single public using different ports Classic • One to one correspondence between a private and a public IP address is established • Router keeps track of these in a table and translates back returning traffic Overload • All private addresses are translated into the same public address but different port numbers are used. • Table this time also contains the ports Additional Reasons to use NAT • Security: end IP addresses are not available => only connections initiated by inside are possible Exception: Static NAT (for servers) • Administration: migrating networks and multi-homes configurations are made easier Multi-homed example