Learning hub

NAT & PAT

Network Address Translation lets many private hosts share scarce public IPv4 space by rewriting addresses as traffic crosses the router's inside/outside boundary. This hub ties together the concept map, the command cheat sheet, and the graded labs for static NAT, dynamic NAT, and PAT (overload) on Cisco IOS.

NAT rewrites the IP addresses in packet headers as traffic crosses a boundary — typically translating private RFC 1918 addresses to a public address — so that many internal hosts can share a small pool of public IPv4 space. It sits in the IP Services portion of the CCNA 200-301 blueprint, where you are expected to configure and verify inside source NAT using both static entries and pools, plus PAT. The exact weighting of the IP Services domain can shift between exam revisions, so treat NAT as a reliably tested skill rather than fixating on a percentage.

Every NAT deployment starts the same way: you designate which interfaces face the private network with 'ip nat inside' and which face the public side with 'ip nat outside'. The router only translates traffic that actually crosses between an inside and an outside interface — miss that step and no entries ever build. On top of that sit three flavors: static NAT (a fixed one-to-one mapping), dynamic NAT (public addresses handed out from a pool on demand), and PAT, also called overload (many hosts sharing one address). The four address perspectives — inside local, inside global, outside local, and outside global — simply describe the same host as seen from each side of the boundary.

The static NAT guide covers the fixed one-to-one case: a permanent mapping so an outside host can always reach a specific inside server at a predictable public address. That same guide covers port forwarding, or static PAT, which maps a single public IP-and-port pair to an inside host-and-port so one public address can publish several distinct services. It is the right tool whenever a server must be reachable from the internet at a stable address.

Dynamic NAT draws from a configured pool, leasing each inside host a public address for the life of its session; once the pool is exhausted, new hosts are simply denied, so it is rarely deployed on its own. PAT — the subject of the NAT overload guide — is what nearly every home and branch router actually runs: many inside hosts share one outside address, kept distinct by unique source port numbers. Remember that NAT overload and PAT are the same feature; 'overload' is just the IOS keyword you append to make one address serve the whole network.

Whichever flavor you build, you confirm it the same way — through the translation table. 'show ip nat translations' lists the active mappings, 'show ip nat statistics' counts hits, misses, and which interfaces are marked inside and outside, and 'clear ip nat translation *' flushes dynamic entries to force a fresh build. Learning to read that table is how you distinguish a working translation from a reversed or missing interface designation, the single most common NAT mistake.

Master NAT in three passes. First, understand the model on this page so the inside/outside logic and the four address perspectives are second nature. Next, keep the command cheat sheet open while you drill the syntax for static mappings, pools, and the overload keyword. Finally, build and grade the hands-on labs so the configuration and verification stick under exam and production pressure. The linked guides give you the exact step-by-step sequences for static NAT and for PAT; this hub is the map that shows how those pieces relate.

Step-by-step guides

Follow these to configure it yourself, command by command.

Practice on real Cisco IOS

Build and grade hands-on Cisco Modeling Labs — the only way it sticks.

Frequently asked questions

What is the difference between NAT and PAT (overload)?

Plain NAT maps addresses one-to-one — a static NAT entry ties one inside address to one outside address permanently, and dynamic NAT leases addresses one-to-one from a pool. PAT, configured with the 'overload' keyword, maps many inside addresses to a single outside address by tracking a unique source port number for each conversation. That port-multiplexing is exactly why one public IP can serve an entire network, and it is why 'NAT overload' and 'PAT' refer to the same feature.

In what order should I learn static NAT, dynamic NAT, and PAT?

Start with static NAT: it is the simplest one-to-one mapping and it teaches the inside/outside interface model that every other flavor depends on. Move to dynamic NAT next to learn the pool and ACL concepts. Finish with PAT (overload), which reuses the pool/ACL syntax but adds port tracking and is the version you will see most in the real world. All three require you to mark interfaces 'ip nat inside' and 'ip nat outside' first, so nail that habit early.

Do I really have to configure inside and outside interfaces for NAT to work?

Yes. NAT only translates packets that travel between an interface marked 'ip nat inside' and one marked 'ip nat outside', so at minimum you need one of each. If the translation table stays empty or traffic is not being translated, a reversed or missing interface designation is the first thing to check — verify it with 'show ip nat statistics', which lists the interfaces and their inside/outside roles.

Study every CCNA topic this way

The CCNA Complete Path sequences all 17 lab bundles into one graded progression you own forever.