IntermediateAbout 15 min

    Network Address Translation

    Read the full article on Substack

    6 min read.

    Visualize how NAT routers allow entire private networks to share a single public IP address.

    Think of it this way: NAT is like an office receptionist. Employees have internal extension numbers (private IPs). When an employee makes an outside call, the receptionist masks it with the company's main phone number (public IP). When a reply comes to the main number, the receptionist looks at their logbook (NAT Table) and forwards it to the correct internal extension.

    0/6

    A PC on a home network is about to request a web page.

    Private networkHome PC192.168.1.5:4444
    NAT routerpublic 203.0.113.1
    NAT table
    empty
    Public internetWeb server93.184.216.34

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    A packet through NAT

    Sequence

    Order what happens when a laptop at 192.168.1.10 fetches a web page.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    5. 5Drop a step here
    5 pieces left to place

    Quiz

    21 questions
    Question 1 of 21
    Score: 0

    What crucial piece of information does a NAT router store in its translation table to ensure returning packets reach the correct private device?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going