Static NAT vs Dynamic NAT
- Networking Fundamentals & OSI Model
- TCP/IP Model
- Network Topologies
- IP Addressing & Subnetting
- Routing Algorithms & Protocols
- Switching Concepts
- Transport Layer Protocols (TCP & UDP)
- Application Layer Protocols
- Network Security & Firewalls
- Wireless Networking & Wi-Fi
- Network Address Translation (NAT)
- DNS Deep Dive
- Congestion Control & Flow Control
- Error Detection & Correction
- Network Devices
- VPN & Tunneling
- Load Balancing & CDN Networking
- Socket Programming
- Network Troubleshooting Tools
- Physical Layer & Transmission Media
- Data Link Layer & MAC Addressing
- Ethernet Protocol
- ARP (Address Resolution Protocol)
- ICMP Protocol
- Unicast, Multicast, Broadcast and Anycast
- Proxy Servers
- Port Numbers Reference
- Network Performance Metrics
- Quality of Service (QoS)
- Software-Defined Networking (SDN)
- HTTP/2 and HTTP/3 Overview
- 5G and Mobile Networks
- IoT Networking Basics
- VoIP Networking Basics
Static NAT: A Fixed One-to-One Mapping
Static NAT permanently maps one specific private IP address to one specific public IP address, and that mapping never changes.
192.168.1.10 <----- always maps to -----> 203.0.113.10 (fixed, permanent)This is typically used for servers that need to be consistently reachable from the outside world at the same address every time - like a company's public web server.
Dynamic NAT: A Shared Pool of Addresses
Dynamic NAT maps private addresses to public addresses drawn from a pool, assigned temporarily on an as-needed basis rather than a fixed permanent mapping.
Available public pool: 203.0.113.1, 203.0.113.2, 203.0.113.3
Device A connects -> temporarily assigned 203.0.113.1
Device B connects -> temporarily assigned 203.0.113.2
Device A disconnects -> 203.0.113.1 returns to the available poolThis still requires roughly one public address per simultaneously active device, so it saves some addresses compared to giving every device a permanently dedicated one, but not nearly as much as PAT (covered in the next note).
Comparing the Two
| Static NAT | Dynamic NAT | |
|---|---|---|
| Mapping | Fixed, one-to-one, permanent | Temporary, drawn from a shared pool |
| Typical use | A server that must always be reachable at the same address | General outbound internet access for internal devices |
| Address efficiency | Low - one public address per mapped device | Moderate - only active devices consume a pool address |
Why Home Routers Use Neither of These
Most home and small office routers actually use PAT instead of plain dynamic NAT, since PAT lets an entire network share a single public address at once - covered in detail in the next note in this section.