What's changed: Initial version
4.1NAT and PAT
Covers the role of NAT in translating internal private addresses into global addresses, choosing among one-to-one static NAT, pool-based dynamic NAT, and PAT (overload) that collapses many hosts to one address using port numbers, the inside local / inside global terminology, and the judgment skill of isolating a fault from a mislabeled ip nat inside / ip nat outside or from the translation table.
Global IPv4 addresses are exhausted, and assigning an individual public address to every device inside a company is impractical. Internally, therefore, we use RFC 1918 private addresses and translate them to public addresses via NAT on the border router that faces the internet. CCNA does not test rote "what is NAT"; it tests the practical judgment of which of static, dynamic, or PAT to choose for a given requirement (how many hosts exit through how many public addresses) and of isolating a fault from a misconfiguration or the translation table.
4.1.1NAT terminology (inside local / inside global)
- inside local is the address of an internal host as seen from inside (typically a private address, e.g.,
10.1.1.10). inside global is the address of that same internal host as seen from outside (the post-NAT public address, e.g.,203.0.113.10). Remembering "local = the inside viewpoint" and "global = the outside viewpoint" prevents confusion. - A precondition for NAT to work is that the internal-facing interface must carry
ip nat insideand the external (internet-facing) interface must carryip nat outside. If this inside/outside designation is swapped or omitted, no translation occurs at all even when the translation rules themselves are correct.
4.1.2Choosing static / dynamic / PAT
- Static NAT maps one internal address to one public address in a fixed one-to-one manner. Use it for a server that must always be reachable from outside at the same public address (e.g., a published web server). Example:
ip nat inside source static 10.1.1.10 203.0.113.10. - Dynamic NAT dynamically and temporarily assigns a free address from a pool of public addresses to an internal host (one-to-one in principle). More simultaneous connections than the pool size cannot be served. Example:
ip nat pool P1 203.0.113.1 203.0.113.30 netmask 255.255.255.224plusip nat inside source list 1 pool P1. - PAT (Port Address Translation, overload) collapses many internal hosts onto one (or a few) public addresses in a many-to-one fashion, distinguishing them by source port number. This is the typical internet connection for home routers and small/medium businesses. Example:
ip nat inside source list 1 interface g0/0 overload. The keywordoverloadis the marker of PAT.
Most-tested: PAT = overload, many-to-one by port number; static NAT is a fixed one-to-one map; inside local = the internal private address / inside global = the translated public address; the internal interface needs ip nat inside and the external one needs ip nat outside; and verification is show ip nat translations. Be able to instantly pick from the requirement: static to publish a few servers, PAT for many general clients going outbound.
Suppose you are the engineer building the border router for a small business, tasked with connecting about 80 internal PCs to the internet through a single public address assigned by the ISP. Static NAT is a fixed one-to-one map, so 80 PCs would need 80 public addresses—unsuitable; dynamic NAT can serve only as many simultaneous sessions as there are pool addresses, so a single address lets only one PC communicate—also unsuitable. To let 80 PCs egress simultaneously through one public address, PAT (overload), which distinguishes each session by source port number and collapses them many-to-one, is the only appropriate choice. Configure ip nat inside on the internal LAN side, ip nat outside on the ISP-facing WAN interface g0/0, build an ACL selecting what to translate (e.g., access-list 1 permit 10.1.1.0 0.0.0.255), and apply ip nat inside source list 1 interface g0/0 overload. If a "PCs cannot reach the internet" fault then occurs, the standard move—before blindly rewriting config—is to check show ip nat translations to see whether translation entries are being created. If no entries appear at all, the cause is usually a missing or swapped ip nat inside / ip nat outside, or an ACL that does not match the internal segment. Conversely, if entries exist but return traffic never arrives, suspect the default route toward the ISP or upstream reachability. Isolating the fault starting from the translation table as real data is the CCNA way to troubleshoot.
| Method | Mapping | Typical use | Key config phrase |
|---|---|---|---|
| Static NAT | One-to-one (fixed) | Externally published server | ip nat inside source static |
| Dynamic NAT | Many-to-many (pool, one-to-one assignment) | Temporary outbound for a limited number of hosts | ip nat inside source list ... pool |
| PAT (overload) | Many-to-one (distinguished by port) | Many hosts egressing via one public address | ip nat inside source list ... overload |
Trap: "Use dynamic NAT to let many hosts reach the internet simultaneously through a single public address" is wrong—dynamic NAT can translate only as many concurrent sessions as there are pool addresses, so one address serves only one host. Many-to-one aggregation requires PAT with overload. Also wrong: "inside global = the real address of an external server"—inside global is the public address of an internal host after translation; the external host's address is expressed as outside local / outside global.
4.1.3Section summary
- NAT translates internal private addresses to public addresses. inside local = the private address from the inside viewpoint / inside global = the translated public address
- Static = fixed one-to-one (published servers) / dynamic = assigned from a pool / PAT (overload) = many-to-one by port number. Only PAT lets many hosts egress via one public address
- The internal interface needs
ip nat insideand the external oneip nat outside. Troubleshoot by checking whether translation entries exist viashow ip nat translations
Sign in to track progress — Log in.
Quick check
(just a quick review)Q1. On a small-business border router, you need about 80 internal PCs to reach the internet simultaneously through a single public address assigned by the ISP. Which NAT method best meets this requirement?
Q2. On a border router configured for PAT, internal PCs cannot reach the internet at all. The translation rules and ACL are correct, yet `show ip nat translations` shows no translation entries. What is the most likely cause to check first?
Q3. You want to publish an internal business web server (private address `10.1.1.10`) so it is always reachable from outside at the same public address `203.0.113.10`. Which mapping of terminology and method is most appropriate?
Keep track of your progress
The full study guide is free to read. Sign up free to practice with the question bank, track what you have read, review your mistakes, and highlight passages.

