NAT (Network Address Translation) & PAT
NAT modifies network address information in IP packet headers while in transit across a traffic routing device to enable private IP networks to communicate over public networks.
PAT (NAT Overload) allows hundreds of private hosts to share 1 single public IP by tracking source port numbers.
In Simple Terms
Visual Diagram & Flow
192.168.1.5:5000
Maps: 5000->25000
203.0.113.1:25000
NAT is the primary reason the IPv4 Internet survived for the last 25 years without collapsing under address exhaustion.
How It Works (Technical Breakdown)
An office building with 500 employees but only one main street address and phone number. When someone calls out, the receptionist records their 4-digit extension so return calls reach the right desk.
PC1 (`192.168.1.15:52100`) sends traffic to web server (`93.184.216.34:80`). Gateway router rewrites the packet source to `203.0.113.10:60001` and forwards it to the Internet.
Believing NAT is a complete security firewall. NAT hides internal IPs as a byproduct of translation, but stateful inspection and ACLs are required for true security.
Prerequisites
Next & Related Concepts
Explore the complete curriculum roadmap.Concept Mastery Quiz
Test your comprehension with active-recall questions.
Active Recall Flashcards
Click each flashcard to reveal the answer and test your memory.
Content Versioning
Audit trail of revisions and updates for this knowledge topic.
| Version | Change Summary | Author | Timestamp |
|---|---|---|---|
| v1 (Current) | Active production content | system | Sun, Aug 23, 2026 11:09 AM |