Use it for internet access from private addresses, publishing internal servers, or connecting networks with overlapping addresses.
Enterprise NAT
Enterprise NAT translates inside addresses at the edge: static NAT publishes servers one-to-one, dynamic NAT uses a pool, and PAT (overload) lets many hosts share one address. Interfaces are marked ip nat inside and ip nat outside.
1. show ip nat statistics — inside and outside interfaces correct?
2. Generate traffic, then show ip nat translations — entry for the host?
3. No entry → ACL does not match or traffic does not cross inside→outside.
4. Entry but no reply → upstream routing to the global address.
5. Pool exhausted (misses) → add addresses or use overload.
packet enters an inside interface → matches a NAT rule → routed out an outside interface → source rewritten and entry created → reply matches the entry → translated back
Inside hosts reach the router but not external destinations; show ip nat translations stays empty.
Possible stored cause: ip nat inside/outside is on the wrong interfaces, the NAT ACL does not match the inside subnet, or there is no route to the outside.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & 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.
Inside hosts reach the router but not external destinations; show ip nat translations stays empty.
Step 1 Verification & evidence Verify boundary
show ip nat translations; show ip nat statistics; inspect NAT ACL/route-map and inside/outside interface roles.
Step 2 Verification path Verify boundary
Primary bounded procedure: Use show ip nat translations while generating one controlled flow; correlate the rule, translation and return path.
Step 3 Common failure modes Narrow the fault
Wrong inside/outside, NAT ACL mismatch, route missing, overlapping translations or stale assumptions about return traffic.
Step 4 Troubleshooting workflow Narrow the fault
Focus for this topic: Wrong inside/outside, NAT ACL mismatch, route missing, overlapping translations or stale assumptions about return traffic.
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.
Translation happens only for traffic moving between an inside and an outside interface. Static entries exist permanently; dynamic and PAT entries are created by traffic. Order on IOS: inside→outside is routed then translated; outside→inside is translated then routed. Clear translations after rule changes.
show ip nat translations— inside local/global and outside addresses (with ports for PAT).show ip nat statistics— inside/outside interfaces, hits, misses, pool use.show running-config | include ip nat— rules, pools and ACLs.show access-lists <nat-acl>— which sources match.debug ip nat— translations as they happen (briefly).
ReferenceWhat it is1 section · depth on demand
Concept overview
Static/dynamic NAT and PAT behavior, inside/outside roles, matching policy and routing dependencies.
Key ideas: NAT translates address/port representation as traffic crosses defined inside/outside boundaries; routing and policy must still deliver traffic to and from the translation point.
ReferenceWhy it matters1 section · depth on demand
Why it matters
NAT translates address/port representation as traffic crosses defined inside/outside boundaries; routing and policy must still deliver traffic to and from the translation point.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Enterprise NAT on IOS XE
NAT on Cisco routers is defined by its four address terms and the inside and outside interface roles. Cisco's IOS XE NAT guide defines them:
- Inside local: an inside host's real, usually private, address.
- Inside global: the routable address that represents it outside.
- Outside local: an outside host's address as the inside sees it.
- Outside global: the outside host's real address.
Interfaces are marked ip nat inside or ip nat outside. Static NAT maps one-to-one. Dynamic NAT takes addresses from a pool for hosts matched by an ACL. PAT (overload) shares one address, or a pool, using ports.
NAT types and commands (guide)
| Type | Command |
|---|---|
| Static | ip nat inside source static 10.20.0.15 192.0.2.15 |
| Static port forwarding | ip nat inside source static tcp 10.20.0.15 443 192.0.2.15 443 |
| Dynamic pool | ip nat pool P 192.0.2.32 192.0.2.47 prefix-length 28 + ip nat inside source list 10 pool P |
| PAT on the interface | ip nat inside source list 10 interface Gi0/0/0 overload |
Restrictions worth knowing (guide)
| Restriction | Reason |
|---|---|
Don't use permit ip any any in a NAT ACL | It also matches traffic that must not be translated |
| PAT works only for TCP, UDP and ICMP | Other protocols consume a whole pool address |
| Don't use the router's own interface address in a pool or static rule | Only interface overload may share it |
| Simple dynamic translations time out after 24 hours by default | Change with ip nat translation timeout |
| NAT, zone-based firewall and WCCP can't coexist | Choose one design |
R1(config)# access-list 10 permit 10.0.0.0 0.255.255.255
R1(config)# interface GigabitEthernet0/0/1
R1(config-if)# ip nat inside
R1(config)# interface GigabitEthernet0/0/0
R1(config-if)# ip nat outside
R1(config)# ip nat inside source list 10 interface GigabitEthernet0/0/0 overload
R1# show ip nat translations | include 10.110.0.64
tcp 198.51.100.2:5122 10.110.0.64:50414 203.0.113.80:443 203.0.113.80:443
R1# show ip nat statistics | include Total|Hits|Misses|drop
R1# clear ip nat translation inside 10.110.0.64 198.51.100.2 tcp 50414 5122
Reading a translation line
The columns are inside global, inside local, outside local and outside global. In the example, host 10.110.0.64 port 50414 appears outside as 198.51.100.2 port 5122.
Troubleshooting
| Symptom | Check |
|---|---|
| No translations created | Inside/outside roles, ACL match, routing to the outside interface |
| Translations, but no return traffic | Routes back to the inside global address; upstream filtering |
| Some applications fail | Embedded addresses; ALG behaviour; PAT port exhaustion in the statistics drop counters |
Documented example, not captured output.
Quick reference
NAT rewrites addresses as packets cross a boundary, usually so that many private addresses can share a few public ones. PAT (overload) goes further by also rewriting ports, so thousands of inside connections can share a single public IP. Static NAT maps one inside address or port permanently, which is how internal servers are published. NAT keeps a translation table for active sessions, and most NAT problems show up there: missing inside/outside roles, ACLs that do not match, or exhausted pools.
Enterprise NAT/PAT on IOS:
ip nat inside source list NAT-USERS interface Gi0/0/0 overload ! PAT to interface IP
ip nat inside source static tcp 10.0.20.15 443 203.0.113.10 443 ! port forward
interface Gi0/0/1
ip nat inside
interface Gi0/0/0
ip nat outside
show ip nat translations
show ip nat statistics
clear ip nat translation *
PAT shares one public IP among many hosts (~64k ports per IP per protocol/destination). Large sites use NAT pools; carrier-grade NAT adds another layer. NAT breaks end-to-end addressing for protocols with embedded IPs (SIP, FTP active) unless ALGs handle them.
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 Infrastructure → Enterprise NAT. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc3022.html · confidence 94%Deep reference
Healthy vs suspicious evidence
How to read the evidence
Verification: Use counters or packet trace for the exact test tuple, confirm the intended rule/action and translated/session state, then verify forwarding and the reverse/application transaction.
Design & tradeoffs
ENCOR design tradeoffs
NAT conserves/abstracts addressing but complicates end-to-end identity and troubleshooting.