Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 02 · Networking · How a packet finds a house · about 14 min to read

Play it as a journeyTutor comes with a plan

The address that never runs out: IPv6 properly

Inside Your Building
Inside Your Building · Open board

Shows one building, one router and every device inside it. IPv6 changes how each device in that building gets its address, and the router does most of the talking.

On 3 February 2011, in a ceremony, the Internet Assigned Numbers Authority gave away the last five blocks of free IPv4 addresses. Each of the five regional registries, the bodies that hand addresses out in their part of the world, received one block. After that day, nobody at the top had any addresses left to give. Asia was hit first. The registry for Asia and the Pacific, APNIC, ran its own pool down to its last block in April 2011.

The internet did not stop. Your phone still works. But every new network since then has had to borrow, share or hide addresses. The fix was written down long before 2011, and it is called IPv6.

By the end of this lesson you will be able to read any IPv6 address, say how a device builds its own address with no server, and explain why a fix that exists is still being rolled out decades later.

Before you start. The stack on one page gave you the four layers, and IP is the internet layer that puts the sender and receiver addresses on a packet. How a parcel finds any house on earth showed that a router holds rows of prefixes and the narrowest matching row wins. Inside your building (your router's life) showed NAT, the trick that lets many devices share one public IPv4 address, and showed the three IPv6 addresses on a real laptop. This lesson explains where those three addresses come from.

Lesson 10 of 44 in Networking

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • Why 4,294,967,296 addresses ran out
  • Reading an IPv6 address: eight groups, and the shortcut
  • SLAAC: the device builds its own address
  • NDP: how devices on one link talk
  • Dual stack: running both at once
  • Why the fix took decades
  • The code that counted
  • The address types worth knowing
  • Privacy: why the real address is not the MAC
  • The IPv6 header
  • Dual stack and the real world
  • Edge cases

Terms it explains: hexadecimal, prefix, SLAAC, link-local address, NDP, solicited-node multicast address, dual stack, Common mistakes, 32, 2.

Review Networking