We discuss Network Address Translation (NAT) which was introduced mainly to address the shortage of public IP addresses in IPv4.
With NAT organization can use private IP addresses within their organization and when they need to interact with rest of the world (Internet), they can be assigned some public IP address from a pool available at the their organization boundary (router).
NAT translates private IP address to Public IP address.
There are three types of NAT.
Static NAT: With static NAT we need a public IP for each private IP (one-to-one mapping).
Dynamic NAT: NAT enabled routers maintains a pool of IP and assigns to users on first-come, first-served basis.
NAT Overload - Port Address Translation (PAT): PAT not only uses the IP but also uses the port number of the host from inside network. PAT creates session based on IP and port numbers. PAT can map multiple private IP to single public IP address or a few addresses.
#NAT
#NetworkAddressTranslation