NextGen Sarkari

Study material for government exam preparation across Punjab and India.

Home/Study Material/Networking & Technical/NAT and PAT Fundamentals
Security & Services study guide

NAT and PAT Fundamentals

Understand address translation, PAT session state, terminology and the checks needed when Internet or VPN traffic fails.

Security & ServicesBeginner20 min readUpdated 2026-08-06

What NAT does

Network Address Translation changes IP address information as traffic crosses a translating device. It is widely used to let private IPv4 hosts reach external networks and to publish selected internal services.

Important: NAT is not a replacement for a firewall. Translation changes addressing; security policy decides what traffic is allowed.

Types of NAT

TypeDescriptionExample use
Static NATOne fixed inside address maps to one fixed external address.Publishing a server or maintaining predictable translation.
Dynamic NATInside addresses are translated from a pool.Legacy designs requiring a pool without port sharing.
PAT / overloadMany inside sessions share one or a few external addresses by using transport ports.Normal office Internet access.
Policy / twice NATTranslation depends on source, destination or service, and may change both sides.Overlapping networks, VPN and advanced firewall designs.

Common translation terminology

TermMeaning
Inside localAddress of the inside host as seen on the inside network.
Inside globalTranslated address representing the inside host externally.
Outside globalAddress of the outside host as globally represented.
Outside localAddress of the outside host as represented to the inside, which is often unchanged.

PAT session example

10.0.0.10:51500
203.0.113.5:40001
Internet server:443
Return translation

The device keeps a state table so return traffic sent to the translated address and port can be mapped back to the correct private host and source port.

Basic PAT example

Cisco IOS-style example
access-list 10 permit 10.0.0.0 0.0.0.255
!
interface GigabitEthernet0/0
 ip nat inside
interface GigabitEthernet0/1
 ip nat outside
!
ip nat inside source list 10 interface GigabitEthernet0/1 overload

NAT troubleshooting checklist

  1. Confirm inside/outside interface roles.
  2. Verify the matching rule, ACL or policy.
  3. Check route lookup before and after translation according to platform behaviour.
  4. Inspect active translations and session table.
  5. Check firewall policy and return-path routing.
  6. Check whether VPN traffic should be exempted from NAT.
  7. Watch for overlapping networks, port exhaustion and asymmetric paths.
Useful checks
show ip nat translations
show ip nat statistics
show access-lists
show ip route
show logging

Quick self-check

1. Which NAT type allows many hosts to share one public IPv4 address?
Answer: PAT, also called overload.
2. Does NAT automatically permit traffic?
Answer: No. Firewall or ACL policy is separate.
3. What is an inside local address?
Answer: The inside host address as used on the inside network.
4. Why can VPN traffic fail when NAT is enabled?
Answer: The traffic may be translated when the VPN policy expects the original addresses; NAT exemption or policy ordering may be required.
5. What resource can PAT exhaust?
Answer: Available translated source ports and session-table capacity.

Frequently asked questions

1. Does NAT provide encryption?
Answer: No. NAT does not encrypt traffic.
2. Why is PAT common?
Answer: It conserves public IPv4 addresses by distinguishing sessions with ports.
3. Can NAT break applications?
Answer: Yes. Protocols that embed addresses, require inbound sessions or use unusual negotiation may need helpers, explicit rules or application changes.

Standards and further reading

Editorial note: Vendor commands and best-path tie-breakers can differ by platform and software release. Always verify production configuration against the device vendor documentation.

Continue learning