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.
PAT (Port Address Translation)
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.
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
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
Operational reference
Fast context before you go deeper.
ip nat inside source list <acl> interface <interface> overloadPrimary Commands
Configuration and operational commands for this Topic.
ip nat inside source list <acl> interface <interface> overloadReferenceTranslate inside sources matched by the ACL to the interface address using ports (PAT).
Use when: Translate many matching inside flows behind the selected interface IPv4 address.
Quick note: Verify translated source ports/identifiers for a fresh flow and then confirm return traffic.
Cisco IOS / IOS XE · mixedip nat inside source list <acl> pool <pool> overloadReferenceTranslate inside sources to a pool using port overloading.
Use when: PAT many inside flows across one or more addresses from a configured pool.
Quick note: Inspect translations/statistics and ensure new flows use the intended pool addresses.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
overloadenables 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.
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
| Point | Detail |
|---|---|
| Protocols | Only TCP, UDP and ICMP; other protocols have no ports |
| Non-PAT traffic | Can create one-to-one bindings that use a whole address; ip nat settings nonpatdrop drops it instead |
| Same global for static NAT and PAT | Not supported with ip nat inside source static |
| PAT allocation failures | Watch the drop counters in show ip nat statistics, not syslog |
| More than 64K sessions per address | overload 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
| Problem | Reason |
|---|---|
| Inbound connections | No mapping exists until the inside host sends first |
| Protocols with addresses in the payload | Need an ALG, such as SIP or FTP |
| IPsec without NAT-T | ESP has no ports |
Documented example, not captured output.
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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%Quick lookup tables
PAT tuple example
See why the translated port matters
| Stage | Source | Destination |
|---|---|---|
| Inside before NAT | 10.10.10.10:51514 | 198.51.100.20:443 |
| Outside after PAT | 203.0.113.5:40001 | 198.51.100.20:443 |
| Reply before reverse NAT | 198.51.100.20:443 | 203.0.113.5:40001 |
| Reply after reverse NAT | 198.51.100.20:443 | 10.10.10.10:51514 |
PAT · operational reference
Compact protocol/state/evidence reference for fast lookup.
| PAT evidence | Meaning |
|---|---|
| Inside tuple | Original flow identity |
| Global tuple | Translated identity |
| State/counter | NAT device handled flow |
| Reply/application | Separate outcome |
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.