Use Static NAT when one inside host must have a stable translated identity, for example when an externally reachable service or fixed partner policy requires a predictable address mapping.
Static NAT
Static NAT creates a persistent one-to-one mapping between an inside-local IPv4 address and an inside-global IPv4 address. The mapping is deterministic and does not depend on a dynamic address pool.
1. show ip nat translations — the static entry is listed permanently?
2. Inside/outside interfaces marked correctly?
3. From outside, traffic to the global address reaches the router? (ISP route, ARP on the outside interface)
4. Firewall/ACL on the outside interface permits it?
5. Server's default gateway points back through the NAT router.
ip nat inside source static <local> <global> → entry always present → outside traffic to the global address → translated to the local address → server replies via the router → translated back
Verify outside reachability to the inside-global identity and then test the inside host/service through the mapped path.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip nat insidePrimary Commands
Configuration and operational commands for this Topic.
ip nat insideReferenceMark the interface as NAT inside.
Use when: Define the interface where inside-local traffic enters/leaves the NAT boundary.
Quick note: Pair with the outside role, NAT rule and a fresh test flow; verify using NAT statistics/translations.
Cisco IOS / IOS XE · mixedip nat outsideReferenceMark the interface as NAT outside.
Use when: Define the interface facing the outside address realm for classic NAT.
Quick note: Use show ip nat statistics to confirm the platform reports intended inside/outside interfaces.
ip nat inside source static <inside-local> <inside-global>ReferenceCreate a one-to-one static NAT mapping between inside local and inside global addresses.
Use when: Create deterministic one-to-one inside-source translation.
Quick note: Verify mapping in translation output, then outside path, return path and application independently.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip nat translationsShowDisplay active NAT/PAT translations.
Use when: NAT/PAT verification.
Quick note: Use with show ip nat statistics.
IOS/IOS XE · policyshow ip nat statisticsShowShows NAT interfaces, pools, hits/misses and configuration summary.
Use when: Confirm NAT roles, subsystem activity, rule/pool context and capacity clues.
Quick note: Use it to decide whether the NAT boundary is seeing/matching traffic before clearing state or debugging.
Cisco IOS XE · mixedHow to read the output
show ip nat translationsLook first: inside local/global and outside local/global tuple
Healthy: Translation matches intended source/destination/session.
Warning: No expected entry, wrong pool/address or stale/unexpected mapping.
Does not prove: A translation entry does not prove return traffic or application success.
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.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 First 30 seconds Verify boundary
Immediate answer: Verify inside/outside roles, the exact static mapping and routes in both directions before testing from the translated side.
Verification chain: inside local/global mapping → inside route → NAT classification → outside route → return route → reverse translation
Stop condition: A static translation in configuration does not show traffic reaches the outside interface or that return routing permits reverse translation.
Step 2 Verification and output interpretation Verify boundary
Inspect the configured static translation, generate a controlled flow, then compare pre/post-translation tuples and counters while proving both inside and outside routes and the return path. 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.
- Mark the correct inside and outside interfaces first
ip nat inside source static <inside-local> <inside-global>defines the one-to-one source mapping- The inside-global address must fit the surrounding Layer-3 design and be reachable from the outside side
- A configured mapping does not prove outside routing/ARP, ACL/firewall policy or the server application is healthy
- Static NAT consumes the mapped global identity whether or not the application is currently active.
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
Static NAT maps one inside address to one fixed global address
Cisco's IOS XE NAT guide describes static NAT as a one-to-one mapping, used when an inside host must be reachable from outside at a fixed address. The command is ip nat inside source static <local-ip> <global-ip>, with an outside variant ip nat outside source static.
R1(config)# ip nat inside source static 10.20.10.5 203.0.113.10
R1(config)# ip nat inside source static tcp 10.20.10.6 25 203.0.113.11 25
R1(config)# ip nat inside source static tcp 10.20.10.7 443 203.0.113.12 8443 extendable
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# show ip nat translations | include 203.0.113.1[0-2]
--- 203.0.113.10 10.20.10.5 --- ---
tcp 203.0.113.11:25 10.20.10.6:25 --- ---
tcp 203.0.113.12:8443 10.20.10.7:443 --- ---
Static entries show with --- on the outside side and never time out.
Variants
| Form | Use |
|---|---|
| Address only | Full one-to-one; every port of the global address goes to the host |
tcp or udp with ports (port forwarding) | Publish one service; other ports stay unused or go elsewhere |
extendable | Allows several static mappings for the same inside or global address |
Documented restriction
The guide states that the same global address can't be used for both static NAT and PAT with ip nat inside source static. Publish services on addresses other than the PAT address, or use port-based static entries.
Security
A static mapping makes the host reachable from outside. Combine it with an inbound ACL or firewall policy that allows only the published ports. An address-only mapping exposes every listening service on the host.
Troubleshooting
| Symptom | Check |
|---|---|
| Outside users can't reach the service | Upstream routing to the global address; ip nat outside on the right interface; ACLs |
| The host's outbound traffic uses the wrong address | A static mapping takes precedence over PAT for that host |
| Global address unreachable from the router itself | Locally generated traffic isn't translated like transit traffic |
Documented example, not captured output.
Quick reference
Static NAT maps one inside local address to one inside global address permanently, in both directions. It is used to publish internal servers on public addresses.
interface Gi0/0
ip nat outside
interface Gi0/1
ip nat inside
ip nat inside source static 10.0.0.25 203.0.113.25
ip nat inside source static tcp 10.0.0.30 443 203.0.113.2 443 ! static PAT
Documented example, not captured output.
Static entries appear in show ip nat translations even without traffic.
Protocol/service mechanics and state model
Static NAT creates a deterministic address relationship that can exist before any traffic flows. The translation rule changes address identity at the NAT boundary, while route lookup, ACL/firewall policy and neighbor resolution still decide whether packets can traverse each side. Because the mapping is persistent, its presence is configuration state rather than evidence that a live session has succeeded. 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 static mapping listed in the translation table does not show that the mapped host is listening, reachable, permitted by policy or receiving return traffic. 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
Choose static mappings when stable externally visible identity is required, keep address ownership unique, and ensure inside/outside interface roles and both-side routing agree with the mapping. 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 → Static NAT. 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
Static NAT · operational reference
Compact protocol/state/evidence reference for fast lookup.
| NAT fact | Meaning |
|---|---|
| Static mapping | Persistent identity rule |
| Translation hit | Traffic matched rule |
| Outside route | Remote path exists |
| Reply/session | Separate end-to-end proof |
Deep reference
Additional depth
Persistent one-to-one mapping
The static rule defines a deterministic inside-local ↔ inside-global identity. Outbound traffic can be translated from local to global, and traffic toward the mapped global identity can be reverse-translated according to the platform NAT behavior and surrounding routing. Outside reachability to the inside-global address remains a separate routing/ARP design concern.