Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

PAT (Port Address Translation)

Direct answer

Port Address Translation (PAT), or NAT overload, allows many inside flows to share one or more inside-global IPv4 addresses by tracking transport ports or protocol identifiers in the translation state.

When to use this

Use PAT for normal many-to-one IPv4 edge translation, especially when many inside clients must share the outside interface address or a small public address pool.

First 30 seconds

1. show ip nat translations — entries with ports for the host?

2. Rule: ip nat inside source list <acl> interface <outside-if> overload?

3. ACL matches the inside subnets?

4. show ip nat statistics — hits increasing, no misses?

5. Many sessions to one destination failing → port exhaustion; add a second global address.

Operational verification

inside flow matches the ACL → source address and port rewritten to the shared global address → unique port tracks the flow → reply port maps back to the inside host

Evidence · next step

Trace the outside tuple through route/policy/capture and verify reverse translation on the return flow.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandip nat inside source list <acl> interface <interface> overload
Scope / prerequisiteUse PAT for normal many-to-one IPv4 edge translation, especially when many inside clients must share the outside interf…
Reference · 2
What next?3 suggested next steps
Catalog command links2
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification and output interpretation Verify boundary

For one fresh flow, compare inside-local source IP/port with inside-global translated IP/port, inspect statistics/counters and confirm that reverse traffic maps back to the original tuple. Verify a fresh controlled flow. Show route-to-boundary, role/classifier match, translation creation, resulting global tuple, outside forwarding and the reverse mapping on reply. Counters and translation tables are device-local evidence; pair them with remote/return observations when end-to-end outcome matters. Old translations can preserve prior behavior, so timestamp and tuple identity are important.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 1
Command lookup Jump straight to Cisco syntax
Key points
  • overload enables multiplexing rather than requiring one global address per active inside host
  • Interface overload commonly uses the current address of the selected outside interface
  • Pool overload can spread PAT across multiple inside-global addresses
  • Translation state is flow/protocol specific; two clients can reach the same server because their translated source ports/identifiers differ
  • A visible PAT entry proves translation for that flow, not that the remote service replied or that return traffic reaches the translating router.
Key checks
  • show ip nat translations — inside local/global and outside addresses (and ports for PAT).
  • show ip nat statistics — inside/outside interfaces, hits, misses and pool use.
  • show running-config | include ip nat — rules, pools and ACL references.
  • show access-lists <nat-acl> — which inside addresses match.
  • debug ip nat — translations as they happen (briefly, with an ACL).
ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

PAT lets many hosts share one global address by translating ports

Cisco's IOS XE NAT guide describes Port Address Translation (overload) as letting many inside hosts share one global address, with sessions told apart by port number. It works on the outside interface address or on a pool.

R1(config)# ip access-list standard NAT-INSIDE
R1(config-std-nacl)# permit 10.20.0.0 0.0.255.255
R1(config)# ip nat inside source list NAT-INSIDE interface GigabitEthernet0/0/0 overload
R1# show ip nat translations
Pro  Inside global         Inside local          Outside local         Outside global
tcp  203.0.113.2:51842     10.20.0.64:51842      198.51.100.25:443     198.51.100.25:443
tcp  203.0.113.2:1024      10.20.0.81:51842      198.51.100.25:443     198.51.100.25:443
udp  203.0.113.2:60221     10.20.0.81:60221      192.0.2.53:53         192.0.2.53:53
R1# show ip nat statistics | include Total|misses

The second host used the same source port as the first, so the router assigned another port on the global address.

Documented points

PointDetail
ProtocolsOnly TCP, UDP and ICMP; other protocols have no ports
Non-PAT trafficCan create one-to-one bindings that use a whole address; ip nat settings nonpatdrop drops it instead
Same global for static NAT and PATNot supported with ip nat inside source static
PAT allocation failuresWatch the drop counters in show ip nat statistics, not syslog
More than 64K sessions per addressoverload extended with endpoint-dependent mapping, classic NAT mode only, ports 1024–65535

Capacity

A single global address has about 64,000 ports per protocol. The guide notes the effective port range is typically lower. For large user populations, use a pool with overload so PAT can spread sessions over several addresses.

Timeouts

The guide gives UDP 300 s and TCP 7440 s for overloaded translations. Short UDP timeouts free ports quickly, but long-lived UDP flows (VPN, VoIP) need keepalives to keep their mapping.

Applications that struggle with PAT

ProblemReason
Inbound connectionsNo mapping exists until the inside host sends first
Protocols with addresses in the payloadNeed an ALG, such as SIP or FTP
IPsec without NAT-TESP has no ports

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

PAT (Port Address Translation, NAT overload) lets many inside hosts share one public address by translating source ports as well as addresses. Each session is tracked by its inside and outside address and port.

access-list 10 permit 10.0.0.0 0.255.255.255
ip nat inside source list 10 interface Gi0/0 overload
show ip nat translations
show ip nat statistics

Documented example, not captured output.

One public address supports tens of thousands of simultaneous sessions; very large sites may need a pool with overload to avoid port exhaustion.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Protocol/service mechanics and state model

PAT extends address translation with transport ports or protocol-specific identifiers so many inside endpoints can share the same inside-global IPv4 address. Each flow is distinguished by translation state, and reply traffic must match that state to be reversed toward the correct inside endpoint. This makes PAT capacity a function of both global addresses and usable identifier/state space. NAT is a stateful identity-translation boundary layered on top of routing. Classic inside-source terminology distinguishes inside-local and inside-global identity while inside/outside interface roles decide where translation semantics apply. Static rules, dynamic pools and PAT differ in allocation behavior, but all still depend on classification, route lookup and reverse-state handling. Translation state must be interpreted for the exact tuple and direction.

Limits and common misconceptions

A PAT entry shows local tuple translation state. It does not show the remote listener, return routing, upstream filtering or application success. A translation entry is not a security verdict and not an end-to-end success signal. It shows only that the NAT device holds state or a mapping for the observed identity. Remote listeners, upstream ACL/firewall policy, asymmetric routing and return-path failures remain independent. Keep translation allocation, routing, policy and application outcome separate.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration intent

Use overload when public IPv4 conservation is required, choose interface or pool addressing intentionally, and account for long-lived/high-concurrency workloads that can consume translation resources. Keep NAT rules minimal and intentional: define inside/outside roles correctly, make the source classifier express only intended traffic, avoid overlapping static/pool ownership and size dynamic/PAT capacity for realistic concurrency. Routing should work to and from the NAT boundary independently of the translation policy, and ACL/firewall behavior should be documented relative to pre/post-translation identity where relevant.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 3022

Authoritative/upstream documentation reviewed for bounded claims in IP Services → NAT → PAT. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc3022.html · confidence 94%
Embedded reference data

Quick lookup tables

PAT tuple example

See why the translated port matters

StageSourceDestination
Inside before NAT10.10.10.10:51514198.51.100.20:443
Outside after PAT203.0.113.5:40001198.51.100.20:443
Reply before reverse NAT198.51.100.20:443203.0.113.5:40001
Reply after reverse NAT198.51.100.20:44310.10.10.10:51514

PAT · operational reference

Compact protocol/state/evidence reference for fast lookup.

PAT evidenceMeaning
Inside tupleOriginal flow identity
Global tupleTranslated identity
State/counterNAT device handled flow
Reply/applicationSeparate outcome
Depth when you need it

Deep reference

Additional depth

How overload multiplexes flows

PAT keeps separate translation state for concurrent flows by combining the translated inside-global address with a transport port or protocol-specific identifier. Multiple inside clients can therefore share the same global IPv4 address while the NAT table preserves enough state to reverse incoming reply traffic to the correct inside flow.

Confirmation

Confirm action

Continue?