NAT
What is NAT?
NAT (Network Address Translation) is how a router lets many devices on a private network share one public IP address, rewriting the address and port on each packet in both directions. AdminKit's CGNAT guide explains the second layer some ISPs add on top, sharing one public address across multiple customers' routers.
By AdminKit team, Netbase JSC · Updated
NAT (Network Address Translation) is the mechanism a router uses to let every device on a private network — laptops, phones, smart TVs — share a single public IP address when talking to the internet, the same sharing mechanism Cisco’s own NAT FAQ walks through. The router keeps a translation table mapping each internal device’s private address and port to a public port, rewriting packets in both directions so replies reach the right device. Without NAT, every device would need its own public IPv4 address, which the internet ran out of long ago — the RIPE NCC, the regional internet registry for Europe, the Middle East and parts of Central Asia, exhausted its remaining IPv4 pool in November 2019. Home routers do one layer of NAT; some ISPs add a second layer on top, called CGNAT, which shares one public address across multiple customers’ routers rather than just one household’s devices. Opening a specific inbound connection through NAT usually means configuring port forwarding manually; a related but distinct translation, NAT64, translates between IPv6-only and IPv4-only networks rather than sharing one IPv4 address among IPv4 hosts. The private address ranges NAT translates from are reserved in RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), and also appear as “Private-Use” entries in IANA’s IPv4 Special-Purpose Address Registry; the translation behavior itself is described in RFC 3022, the original Traditional IP Network Address Translator specification.
NAT is part of AdminKit’s IP & network cluster; the full AdminKit glossary lists other related terms.
Frequently asked questions
Why do home networks need NAT at all?
Without NAT, every device on a network would need its own public IPv4 address, which the internet ran out of long ago; NAT lets many devices share a single public address instead.
What's the difference between ordinary router NAT and CGNAT?
A home router does one layer of NAT for its own household's devices; CGNAT is a second layer some ISPs add on top, sharing one public address across multiple customers' routers rather than just one household.
What address ranges does NAT typically translate from?
The private address ranges NAT translates from -- 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 -- are reserved specifically for this purpose in RFC 1918.
How does NAT know which internal device a reply packet belongs to?
The router keeps a translation table mapping each internal device's private address and port to a public port, rewriting packets in both directions so replies reach the right device.