Difference Between Network Address Translation (NAT) and Port Address Translation (PAT)

Network Address Translation (NAT):
NAT, in which the Private IP address or local address are translated into the public IP address. NAT is used to slow down the rate of depletion of available IP address by translates the local IP or Private IP address into global or public ip address. NAT can be a one-to-one relation or many-to-one relation.





Port Address Translation (PAT):
In PAT, Private IP addresses are translated into the public IP address via Port numbers. PAT also uses IPv4 address but with port number. It have two types:



1. Static
2. Overloaded PAT 





Difference Between Network Address Translation (NAT) and Port Address Translation (PAT):

S.NO
1. NAT stands for Network Address Translation. PAT stands for Port Address Translation.
2. In NAT, Private IP addresses are translated into the public IP address. In PAT, Private IP addresses are translated into the public IP address via Port numbers.
3. NAT can be considered PAT’s superset. PAT is a dynamic NAT.
4. NAT uses IPv4 address. PAT also uses IPv4 address but with port number.
5. It have 3 types: Static, Dynamic NAT and PAT/ NAT Overloading/IP masquerading. It also have two types: Static and Overloaded PAT.


My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



Improved By : Akanksha_Rai