Use Dynamic NAT when inside hosts need translated addresses from a finite pool and one-to-one active mappings are acceptable without requiring a fixed global address per host.
Dynamic NAT
Dynamic NAT translates matching inside-local addresses to available inside-global addresses from a configured NAT pool. Each active translation consumes an address from the pool for the lifetime of that translation state.
inside host matches the ACL → free pool address allocated one-to-one → translation entry created → reused until timeout → returned to the pool
Inspect statistics/capacity and then the outside/return path for the same test.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip nat pool <name> <start> <end> netmask <mask>Primary Commands
Configuration and operational commands for this Topic.
ip nat pool <name> <start> <end> netmask <mask>ReferenceDefine a pool of global addresses for dynamic NAT.
Use when: Define the address pool used by Dynamic NAT or pool-based PAT.
Quick note: Verify the pool reference in the NAT rule and observe allocation using translations/statistics.
Cisco IOS / IOS XE · mixedaccess-list <number> permit <network> <wildcard>ReferenceDefine the inside source addresses eligible for dynamic NAT in a numbered ACL.
Use when: Select which inside sources are eligible for the associated classic NAT/PAT mapping.
Quick note: Confirm the real client source matches the classifier, then generate new traffic and inspect translation state.
Cisco IOS / IOS XE · mixedip nat inside source list <acl> pool <pool>ReferenceTranslate inside sources matched by the ACL to addresses from a NAT pool.
Use when: Bind matching inside sources to Dynamic NAT address allocation from a pool.
Quick note: Use a fresh matching flow, show ip nat translations, and show ip nat statistics.
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: Use one controlled flow to correlate ACL/pool eligibility, allocation, translation creation and pool exhaustion.
Verification chain: inside packet → NAT match ACL → pool availability → translation allocation → outside route → return translation
Stop condition: Dynamic NAT configuration does not show the flow matched the ACL or that a global address was available.
Step 2 Verification and output interpretation Verify boundary
Correlate the source with the matching ACL/classifier, inspect pool usage and translation creation for a fresh flow, and show the translated source has a valid outside route and 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.
Step 3 Step-by-step troubleshooting Narrow the fault
Boundary rule: Dynamic NAT configuration does not show the flow matched the ACL or that a global address was available.
Evidence · 2 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
A fresh matching inside host receives an inside-global address from the intended configured pool.
command output · Evidence referenceNew dynamic translations fail when pool capacity is exhaustedExisting translations remain while new matching clients cannot obtain a new dynamic mapping and statistics/state indicate the configured pool has no usable allocation for the test.
ip nat pooldefines the usable global address range- The ACL in this classic configuration classifies which inside source addresses are eligible for translation; it is not acting as a traffic-filter ACL at this NAT classification point
ip nat inside source list <acl> pool <pool>binds the classifier to the pool- Pool exhaustion can prevent new translations even when routing is healthy
- Existing translations can make a changed rule appear to behave differently until state ages out or is deliberately cleared.
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).
ReferenceWhat it is1 section · depth on demand
What it is
Dynamic NAT translates matching inside-local addresses to available inside-global addresses from a configured NAT pool. Each active translation consumes an address from the pool for the lifetime of that translation state.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Dynamic NAT assigns global addresses from a pool as hosts need them
Cisco's IOS XE NAT guide describes dynamic NAT as mapping inside local addresses to a pool of global addresses, allocated when traffic starts and released when unused. The steps are a pool, an ACL that selects which addresses to translate, and the binding command.
R1(config)# ip nat pool PUBLIC-POOL 203.0.113.32 203.0.113.47 prefix-length 28
R1(config)# ip access-list standard NAT-USERS
R1(config-std-nacl)# permit 10.20.0.0 0.0.255.255
R1(config)# ip nat inside source list NAT-USERS pool PUBLIC-POOL
R1# show ip nat statistics
Total active translations: 16 (0 static, 16 dynamic; 16 extended)
Outside interfaces:
GigabitEthernet0/0/0
Inside interfaces:
GigabitEthernet0/0/1
Hits: 482113 Misses: 1022
Dynamic mappings:
-- Inside Source
[Id: 1] access-list NAT-USERS pool PUBLIC-POOL refcount 16
pool PUBLIC-POOL: id 1, netmask 255.255.255.240
start 203.0.113.32 end 203.0.113.47
type generic, total addresses 16, allocated 16 (100%), misses 37
allocated 16 (100%) with rising misses means the pool is exhausted: new hosts get no translation.
Timeouts (from the guide)
| Translation | Default |
|---|---|
| Simple (non-overloaded) entries | 24 hours |
| UDP | 300 s |
| TCP | 7440 s |
Change them with ip nat translation timeout and the per-protocol variants. With one-to-one dynamic NAT, the 24-hour timeout can hold pool addresses long after hosts stop using them.
Dynamic NAT versus PAT
| Dynamic NAT | PAT | |
|---|---|---|
| Global addresses needed | One per active host | One for thousands of sessions |
| Inbound reachability | Possible while the mapping exists | Only for return traffic |
| Typical use today | Rare; specific protocols that can't be port-translated | Standard Internet access |
Guidelines
- The guide forbids
permit ip any anyin the NAT ACL. Match only the inside networks. - Use
ip nat translation max-entriesto stop one host from using the whole pool. - Add
overloadwhen the pool is too small, turning the configuration into PAT.
Documented example, not captured output.
Quick reference
Dynamic NAT maps inside addresses to addresses from a pool of public addresses on demand, one-to-one, for as long as the translation is active. If the pool is exhausted, new hosts cannot be translated.
ip nat pool PUBLIC 203.0.113.100 203.0.113.110 netmask 255.255.255.0
access-list 10 permit 10.20.0.0 0.0.0.255
ip nat inside source list 10 pool PUBLIC
Documented example, not captured output.
Dynamic NAT without overload is rare today; PAT is used instead because public IPv4 addresses are scarce.
Protocol/service mechanics and state model
Dynamic NAT combines a classifier for eligible inside addresses with a finite pool of inside-global addresses. A matching new flow can allocate a pool address and create a stateful translation that ages later. The design therefore has two independent resource questions: whether traffic matches the rule and whether usable global addresses remain available. 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
Available pool addresses do not show the classifier matches; an active translation does not show the destination replied; pool exhaustion affects new allocations even while existing sessions continue. 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
Size address pools for expected concurrency, keep classifiers narrow enough to express intended sources, avoid overlapping ownership, and understand timeout/reclamation behavior before relying on the pool for scale. 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 → Dynamic 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
Dynamic NAT · operational reference
Compact protocol/state/evidence reference for fast lookup.
| Dynamic NAT state | Meaning |
|---|---|
| Classifier match | Source eligible |
| Pool free | Global address available |
| Translation active | State allocated |
| Remote reply | Separate service proof |
Deep reference
Additional depth
Pool allocation lifecycle
A matching inside source can consume an available address from the configured pool when a new translation is created. The mapping remains stateful until it expires or is removed. If the pool has no usable free identity, new flows can fail to translate even though existing translated flows remain healthy.