What is Network Address Translation (NAT)?
In corporate networks or internet works on dominantly on IP protocol. IP protocols have two versions. Most popular default one is IPv4 and other next-generation by not so widespread version are IPv6. IPv6 have a lot of advantages against IPv4 but as you know changing and infrastructure through world wide is not so easy job. Now our question is what is Network Address Translation simply NAT.
In Local Area Networks (LAN) IP range of 192.168.0.0/24, 172.16.0.0/20 and 10.0.0.0/8 are used. These IP ranges are dedicated from IANA and do not use on the internet. Other IP addresses are used by the Internet. So the problem is what will happen when a host in the LAN wants to access the internet because LAN IP range cannot be used for internet? There must be an IP address used and reserved for the internet. The address will be used for internet-related network traffic. We will continue with the following IP address.
Host LAN IP Address: 192.168.1.10
Source Internet Address: 220.127.116.11
Destination Internet Address: 18.104.22.168
To access destination IP address 22.214.171.124 LAN host 192.168.1.10 goes through firewall 126.96.36.199. The IP address 188.8.131.52 is used by 192.168.1.10 on the internet to identify itself. Packets arriving at the 184.108.40.206 have source address 220.127.116.11. We call this source address translation operation as NAT simply. Actually there is a different type of mechanisms in NAT.