Explain it simpler
Inside most offices, computers use private addresses that the internet does not accept, like room numbers inside a hotel. NAT (network address translation) is the front desk that swaps a room number for the hotel's street address on the way out, and swaps it back when replies come in. PAT is the version where the whole building shares one street address and the front desk keeps a numbered list to know which reply belongs to which room. First hop redundancy lets two routers share one pretend address, so if one breaks the other answers instead and nobody has to change any settings. A subinterface splits one physical router port into several logical ones, so one cable can serve several separate networks.
Monday morning at Pinecrest Dental Group, the phones light up. Half the staff cannot load the scheduling site, while the others browse fine. Then, at 10:15, the main router in the server closet loses power when a cleaner unplugs it, and every computer in the building goes offline even though a second router sits right next to it, fully working. Marcus, the office's part-time IT person, is staring at two problems at once: why do some users get to the internet and others not, and why did a spare router do nothing to save the day?
Network address translation (NAT) rewrites IP addresses as packets pass through a router or firewall. Its main job is letting hosts with private RFC 1918 addresses, such as 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16, reach the internet using public addresses. That conserves scarce IPv4 space and hides internal addressing from the outside. The router keeps a translation table so return traffic is mapped back to the right inside host. NAT is configured on the device at the boundary between the inside (private) and outside (public) networks, usually the edge router or firewall.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 9 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.