NAT (Network Address Translation)
NAT is a process that translates private IP addresses into public IP addresses to enable communication with external networks like the internet. NAT Network Address Translation practical in cisco packet tracer
This is used in:
- Home WiFi routers
- Offices
- Enterprises
- ISPs
- Firewalls
Without NAT:
👉 Private IP devices cannot access the internet.
🎯 Why NAT Exists
Private IPs:
- 192.168.x.x
- 10.x.x.x
- 172.16.x.x
❌ Cannot work directly on internet.
So router does:
Private IP → Public IP
🔥 What You Will Learn
- ✔ Inside vs Outside interfaces
- ✔ Private/Public IP
- ✔ NAT translation
- ✔ Internet simulation
- ✔ PAT overload
- ✔ Enterprise internet access
🧪 Practical Topology
In Cisco Packet Tracer create:
PC0 ---- Switch ---- Router ---- Server
🌐 IP Addressing
🔹 Internal LAN
🔹 External Network
🔌 Wiring
PC → Switch
Use:
✅ Copper Straight-Through
Switch → Router
Use:
✅ Copper Straight-Through
Router → Server
Use:
✅ Copper Straight-Through
🔥 Physical Port Connections
Like -
⚙️ Step 1: Configure Router Interfaces
enable configure terminal interface g0/0 ip address 192.168.1.1 255.255.255.0 ip nat inside no shutdown interface g0/1 ip address 200.1.1.1 255.255.255.0 ip nat outside no shutdown
🧠 Important Concept
⚙️ Step 2: Configure PC
⚙️ Step 3: Configure Server
🔥 Step 4: Create Access List
access-list 1 permit 192.168.1.0 0.0.0.255
🧠 Why ACL?
Tells router:
👉 Which internal IPs should be translated.
🔥 Step 5: Enable NAT Overload (PAT)
ip nat inside source list 1 interface g0/1 overload
🧠 Meaning
🎯 Full NAT Configuration
enable configure terminal interface g0/0 ip address 192.168.1.1 255.255.255.0 ip nat inside no shutdown interface g0/1 ip address 200.1.1.1 255.255.255.0 ip nat outside no shutdown access-list 1 permit 192.168.1.0 0.0.0.255 ip nat inside source list 1 interface g0/1 overload
🧪 Step 6: Test Connectivity
From PC0:
ping 200.1.1.2
✔ Success
🔍 What Happens Internally
192.168.1.10 ↓ Router translates ↓ 200.1.1.1 ↓ Server
🔥 Verify NAT Translation
On router:
show ip nat translations
You’ll see:
Inside local → Inside global
🔥 Most Important Interview Questions
❓ Difference Between NAT and PAT?
❓ What is Overload?
PAT (Port Address Translation)
❓ Why NAT Important?
Conserves public IPv4 addresses.
❓ What command verifies NAT?
show ip nat translations
🔥 Common Mistakes
🎯 What You Learned
- ✔ NAT basics
- ✔ Private/Public IP
- ✔ PAT overload
- ✔ ACL for NAT
- ✔ Enterprise internet logic

















































