Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Static NAT

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

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

Evidence · next step

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
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 · IOS/IOS XE
Key commandip nat inside
Scope / prerequisiteUse Static NAT when one inside host must have a stable translated identity, for example when an externally reachable se…
Show · 2Reference · 3
What next?3 suggested next steps
Catalog command links5
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show ip nat translations

Look 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.

Operational workflow

Verification & Troubleshooting

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

2 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 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 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
  • 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.
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

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

FormUse
Address onlyFull 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
extendableAllows 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

SymptomCheck
Outside users can't reach the serviceUpstream routing to the global address; ip nat outside on the right interface; ACLs
The host's outbound traffic uses the wrong addressA static mapping takes precedence over PAT for that host
Global address unreachable from the router itselfLocally generated traffic isn't translated like transit traffic

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

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.

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

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
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 → Static NAT. 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

Static NAT · operational reference

Compact protocol/state/evidence reference for fast lookup.

NAT factMeaning
Static mappingPersistent identity rule
Translation hitTraffic matched rule
Outside routeRemote path exists
Reply/sessionSeparate end-to-end proof
Depth when you need it

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.

Confirmation

Confirm action

Continue?