87 Nat Pat
87 Nat Pat
NAT:
Network Address Translation, or NAT, implies a translation of an IP address to another IP
address. Network Address Translation (NAT) modifies only the Layer 3 header of IP.
PAT:
Port Address Translation, or PAT, implies a translation of an IP address and Port to another IP
address and Port. PAT modifies both the Layer 3 and Layer 4 header. PAT as a subset of NAT.
Static vs Dynamic:
Both a NAT and a PAT can exist in two forms: Static NAT or Dynamic NAT.
Dynamic NAT:
A Dynamic mapping is sometimes referred to as a One-to-Many– implying that in a Dynamic
translation, many addresses can appear as one. Dynamic NAT is used when you have a “pool”
of public IP addresses that you want to assign to your internal hosts dynamically.
Static NAT:
Static NAT implies a translation of single IP address to another single IP address. Static NAT
modifies only the L3 header. Static NAT is useful when a network device inside a private
network needs to be accessible from internet.
Dynamic NAT:
Translation of just the IP address, where the device determines the new IP address after
translation. Dynamic NAT can be defined as mapping of a private IP address to a public IP
address from a group of public IP addresses called as NAT Pool.