NAT (Network Address Translation) allows private IP addresses to communicate with public networks like the Internet. PAT (Port Address Translation) is a form of NAT that uses port numbers to map multiple private IPs to a single public IP.
๐ Types of NAT in Cisco
1๏ธโฃ Static NAT (One-to-One)
- One private IP โ One public IP
- Used for servers (web, mail, VPN)


Configuration Example
interface g0/0
ip address 203.0.113.2 255.255.255.252
ip nat outside
interface g0/1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip nat inside source static 192.168.1.10 203.0.113.10
2๏ธโฃ Dynamic NAT (Many-to-Many)
- Private IPs mapped to a pool of public IPs
- No port translation


Configuration Example
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat pool PUBLIC_POOL 203.0.113.10 203.0.113.20 netmask 255.255.255.0
ip nat inside source list 1 pool PUBLIC_POOL
3๏ธโฃ PAT (NAT Overload) โ Many-to-One
- Multiple private IPs share one public IP
- Uses TCP/UDP port numbers
- Most common for Internet access

โ๏ธ PAT Configuration (Most Common)
๐น Using Interface IP (Recommended)
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface g0/0 overload
๐น Using Public IP Pool
ip nat pool PAT_POOL 203.0.113.50 203.0.113.50 netmask 255.255.255.0
ip nat inside source list 1 pool PAT_POOL overload
๐ Inside vs Outside Interfaces (Mandatory)
interface g0/0
ip nat outside
interface g0/1
ip nat inside
๐ NAT Terms (Quick Reference)
| Term | Meaning |
|---|---|
| Inside Local | Private IP (192.168.x.x) |
| Inside Global | Public IP assigned by NAT |
| Outside Local | Public IP as seen inside |
| Outside Global | Actual Internet IP |
๐งช Verification & Troubleshooting
show ip nat translations
show ip nat statistics
clear ip nat translation *
debug ip nat
๐ฆ Real-World Scenario (Home / Lab)
- LAN:
192.168.1.0/24 - ISP IP on
g0/0 - Goal: Internet access for all LAN users
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface g0/0 overload
โ This single command enables Internet for the entire LAN.
โ ๏ธ Common Mistakes
โ Forgetting ip nat inside / outside
โ ACL mismatch (wrong subnet)
โ NAT applied on wrong interface
โ Missing overload keyword for PAT
๐ง CCNA / CCNP Exam Tips
- Static NAT โ servers
- Dynamic NAT โ limited public IPs
- PAT (Overload) โ Internet access
- Order matters: Static NAT > Dynamic NAT > PAT
Leave a comment