← Back to course
4/6
Week 08 · Networks and the internet

Thursday

Addresses and the journey
// How a message leaves the device and finds its way
⏱ about 15 min

Thursday: Addresses and the journey

A neighbor typed the name of a story site into his web browser. "How did my tablet know where that site lives?" he asks. "Names are just words!"

Rocket shrugs. Raven looks at the envelope on the desk. "What do you notice about how a letter finds a house?"

Nova glows. "Would you like a hint? Every device on a network has a number address. A name has to be turned into a number first."

Every device has an address

A letter needs a house address. A packet needs a device address.

Every device on a network gets a number address. The router gives your tablet one when it joins the home network.

A packet carries two addresses: where it came from and where it is going. Routers read the going-to address and pass the packet along.

People do not like remembering long numbers, so sites have names. When you type a name, your device asks a lookup service for the number.

The lookup service is like a phone book. Name in, number out. Then the packets can be sent.

What you useWhat the network usesLike
A site nameA number addressA friend's name and their house address
Typing a nameLooking up the numberFinding a name in a phone book
NAMES AND NUMBERS
  • Read the question.
  • Tap your answer.
What does every device on a network need so packets can find it?
You type a site name. What has to happen before packets can be sent?
Who gives your tablet its address on the home network?

The journey of one packet

A packet does not jump straight to its destination. It hops from router to router.

Each router reads the going-to address and passes the packet one hop closer. Like a relay race, each runner hands it on.

A packet might make ten or twenty hops to cross the world. It all happens in less than a second.

Your tablet
↓
Your home router
↓
A router in your town
↓
A big router between cities
↓
The router near the other device
↓
The other device
FOLLOW THE PACKET
  • Tap a card.
  • Then tap its spot.
1First
2Second
3Third
4Fourth
5Last
A packet carries two addresses. One is where it is going. What is the other?
What do we call one step from router to router?
Does a packet take more or less than a second to cross the world?
StatementTrue or false?
Networks send packets to names, not numbers.?
Each router reads the address and passes the packet along.?
A packet usually hops through several routers.?
The journey across the world takes many minutes.?
WHY THIS EXERCISEAddresses and hops explain how a packet finds one device among billions.
In today's lesson, what turns a site name into a number address?
WHY THIS EXERCISEThe lookup step happens every time you type a name. Without it, nothing could be found.
RELAY RACE
  • Read the question.
  • Tap your answer.
A router gets a packet that is not for any device in its home. What does it do?
How many addresses does a packet carry?
Try it
Write a pretend address for every device in your home, like 10, 11 and 12.
Give the router address 1.
Say the path a packet takes from device 11 to a friend across town.

You followed a packet across the world! Tomorrow the crew puts the whole journey together for a video call.

← Wednesday