PAT (NAT Overload) for CCNA: Whole LAN Behind One Public IP

PAT (Port Address Translation) lets hundreds of hosts share a single public IP, telling each session apart by port number. It is the most common Internet-exit configuration in the world and a CCNA classic.

Exam domain: IP Services · Level: Intermediate · Updated on October 17, 2026 · 2 min read

Topology diagram “PAT (NAT Overload) for CCNA: Whole LAN Behind One Public IP” with 6 devices and 5 links
Topology: PAT (NAT Overload) for CCNA: Whole LAN Behind One Public IP

Edit this template Download .json

Learning objectives

Devices and addressing

DeviceTypeDetails
PC1PC / user10.1.1.11
GW .1
PC2PC / user10.1.1.12
GW .1
PC3PC / user10.1.1.13
GW .1
SW1SwitchLAN switch
R1 · PATRouterG0/0 10.1.1.1/24 inside
G0/1 198.51.100.2/30 outside
InternetCloud / WANISP 198.51.100.1
WAN

Reference configuration (Cisco IOS)

R1

interface g0/0
 ip nat inside
interface g0/1
 ip nat outside
access-list 10 permit 10.1.1.0 0.0.0.255
ip nat inside source list 10 interface g0/1 overload
ip route 0.0.0.0 0.0.0.0 198.51.100.1

Verification commands

CCNA exam tips

The overload keyword is what turns NAT into PAT.

The ACL does not filter traffic here: it only defines which addresses are translated.

How to use this template

Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.

To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.

JSON template for the editor

This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.

Edit this template

Frequently asked questions

What is the difference between NAT and PAT?

NAT translates IP to IP; PAT translates many IPs to one and uses the port to tell them apart.

How many sessions does PAT support?

In theory tens of thousands per public IP, limited by available ports.

CCNA and Cisco are registered trademarks of Cisco Systems, Inc. This site is independent, not affiliated with Cisco and does not provide official exam material: the templates are study examples.

More related pages