NAT (Network Address Translation) |
|
NAT (Network Address Translation) is a technique for preserving scarce Internet
Why NAT?
The current Internet uses IP addresses in the form xxx.xxx.xxx.xxx. A sample
Because of the way these IP addresses are allocated, there started to be a shortage of available IP addresses.
The current revision of IP (Internet
Unfortunately, IPv6 is going to take decades to implement. A much quicker fix was needed, and that fix was NAT. Private Address Space for NATTo conserve IP address space, networks which are not directly connected to the Internet are often given private address space. Private address space are ranges of IP address which cannot be routed over the Internet.
Private address space is often called "RFC 1918" space, because private address space is defined in RFC 1918 - Address Allocation for Private Internets. RFC 1918 defines three sets of private address space:
The use of private address space conserves IP addresses because any person or company can use the same provate address space over and over again. I have a 10.0.0.x network in my house. IBM has a 10.0.0.x network. HP has a 10.0.0.x network. Apple has a 10.0.0.x network. We're all using the same range of IP addresses. The limitation is that private address space is non-routable. This means that any computer on these private IP addresses cannot (directly) connect to the Internet. Network Address Translation to the Rescue!The solution to work-around this limitation is NAT (Network Address Translation).
A NAT device, usually a
When computers on the private network want to communicate on the Internet, the NAT device quickly and silently modifies the packets they send to have a normal IP address. When systems on the Internet send reply packets, the NAT device routes those reply packets back to the correct system on the private network. In this way, hundreds or thousands of computers on the private network can share just one IP address on the public Internet. For example, you might have 250 computers on the 192.168.1.x network and one firewall providing NAT services on the IP address 216.17.138.210. Any time one of the hosts communicates across the Internet, the NAT firewall changes the IP address of the packets to 216.17.138.210. When reply packets come from the Internet, the NAT firewall sorts them out and sends them to the correct internal host. Types of NATThe type of NAT just described is called One-to-Many NAT. This is because one IP address is shared by many hosts. It is also possible to implement One-to-One NAT. This is where a host with a private IP address is given a dedicated public IP address in the NAT device. One-to-One NAT is used to support some poorly designed protocols which do not work well over NAT. How NAT Works
When a computer running NAT receives a
For example, a client computer with the IP address 192.168.10.2 wants to contact a Web server with the IP address 131.110.30.4. The client is configured to use 192.168.1.1 as the default
|
Discuss NAT (Network Address Translation) in the forums.


