Module 5: IP Addresses and Ports

Lesson 3 of 5 · 15–25 minutes

Public and private addresses, and NAT

🏠The everyday picture

An office building has one street address, but inside, people have extension numbers: 101, 102, 103. Outsiders call the main number; the receptionist connects them to the right extension. Extensions 101 to 103 exist in thousands of other buildings too, and that's fine because they're only used inside.

📘What it really is

🖱️Try it

Search "what is my IP" in your browser. The address shown is your public IP. Compare it with the private address from Lesson 1. They're different: that's NAT at work.

✅Quick check

Your laptop shows 192.168.1.24, but a website says your IP is 49.36.x.x. Which is which?

Show the answer

192.168.1.24 is your private address on the home network; 49.36.x.x is your router's public address that the internet sees.

Can your neighbour's laptop also have the address 192.168.1.24?

Show the answer

Yes. Private addresses repeat in every local network.

← PreviousIPv4 and IPv6
ProLearners Assist