🌐Network Address Translation (NAT)
Also known as NAT, IP Masquerading, Port Address Translation
A trick in the router. It lets many devices share one public address.
Think of it like
It is like the front desk of a school. All the mail goes out with the school address. The desk gives each reply to the right person.
Example
Emma's phone, laptop and TV all browse at once. To the outside world, all three look like one address, the router's.
Why it matters
NAT is a big reason the internet still works on IPv4. It also hides home devices from strangers by default.
Definition
Common mistake
Key takeaways
- 1Swaps addresses. Private inside, public outside.
- 2Keeps a table. It remembers who asked.
- 3Shares one. Many devices, one public address.