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. |
Recommended Posts:
- Port Address Translation (PAT) on Adaptive Security Appliance (ASA)
- Network Address Translation (NAT)
- Types of Network Address Translation (NAT)
- Difference between MAC Address and IP Address
- Introduction of MAC Address in Computer Network
- Program to determine class, Network and Host ID of an IPv4 address
- Difference between Static and Dynamic IP address
- Extracting MAC address using Python
- Finding IP address of a URL in Java
- Type-C Port in Computer Network
- Port Security in Computer Network
- How Address Resolution Protocol (ARP) works?
- C Program to display hostname and IP address
- Transition from IPv4 to IPv6 address
- Local Broadcast and Loopback Address
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



