Every device on the internet has a numeric address. You have never typed one. Today: what the number is, why the world ran out of them, and the phone book that hides them from you.
No reading — this page is the reading. Have Lesson 1.3 (overflow) in mind: an IP address is a fixed number of bits, and you already know what happens when a fixed number of bits runs out.
Internet. The internet layer’s job is addressing. Today it meets Unit 1: an address is just a binary number with a fixed width.
That’s what an internet address looks like. Every website you visit has one. So why do you only ever type names like example.com?
An IP address is a unique number assigned to a device on the internet, so packets know where to go. The original version, IPv4, uses 32 bits, written as four numbers from 0 to 255 (each one is 8 bits).
32 bits gives 232 = 4,294,967,296 addresses — about 4.3 billion. In 1981 that sounded infinite. Then came phones, laptops, tablets, game consoles, doorbells, and fridges. There are about 8 billion people — roughly half an address per person. IPv4 ran out.
The fix is IPv6: 128 bits. That’s 2128 addresses, a 39-digit number. We will not run out.
And the names? The Domain Name System (DNS) is the internet’s phone book. You type a domain name; DNS looks up its IP address; your device connects to the number. DNS is hierarchical: no single server knows every name, so the lookup asks its way down, level by level.
Part 1. Pick an address width. The count is exact — computed by your browser.
Part 2. Your browser needs the address of photos.example.com. Step through the lookup.
Addresses on this page come from ranges reserved for examples, so they don’t point to anyone’s real server.
Five questions. Two need Unit 1 arithmetic — powers of two.
Because every name lookup goes through DNS, whoever runs the DNS server your device uses can see which sites you look up — and can refuse to answer for some of them. Some schools, networks, and governments block sites exactly this way.