NAT and PAT lab practice
Translate private addresses at the edge with static NAT, dynamic pools and PAT overload, and read the translation table.
7 labs · 4 lessons · 4 commands · 2 projects
Network Address Translation rewrites private inside addresses to public ones at the edge. Static NAT maps one inside host to one public address; dynamic NAT draws from a pool; PAT (overload) lets many hosts share one public address by tracking ports.
NAT needs three things to work: an inside interface, an outside interface, and a rule whose ACL actually matches the inside hosts. The translation table and statistics show which of the three is missing.
Hands-on labs
- NAT Overload (PAT) (Pro)
- Static One-to-One NAT (Pro)
- Dynamic NAT Pool Setup (Pro)
- Marking NAT Inside and Outside Interfaces (Pro)
- Static NAT for Two Servers (Pro)
- NAT Pool Alongside Overload (Pro)
- NAT Configuration Troubleshooting (Pro)
To practise for free, build the topology in the free Sandbox.
Lessons, in order
- NAT & PAT (4. IP Services, 17 min)
- NAT Architecture & Address Terminology (4. IP Services, 15 min)
- Dynamic NAT & Port Address Translation (PAT) (4. IP Services, 15 min)
- Translate private addresses at the edge (Prerequisite review: CCNA topics from the CCNP courses, 9 min)
Commands
- show ip nat translations — Lists the active NAT and PAT translations: inside local and global, outside local and global addresses and ports.
- show ip nat statistics — Shows NAT counters: active translations, inside and outside interfaces, hits and misses, and the configured rules.
- show access-lists — Lists every access list with its entries in order, their sequence numbers and how many packets each has matched.
- show ip route — Shows the IPv4 routing table: every network the router can reach, how it learned it, and the next hop or exit interface.
Related projects
- NAT / PAT Internet Edge — Larkspur Dental has one public address from its ISP, a dozen private PCs, and a booking server patients must reach from the internet. Translate the office out through the single address and publish the server inbound.
- Small Office Internet Gateway with NAT Overload (PAT) — A regional logistics depot has a single static public IPv4 address from its broadband carrier. You must configure Port Address Translation (NAT Overload) on the border router so 45 internal warehouse terminals and office computers can simultaneously browse logistics tracking portals.