Packets & Routing
How do you post a 1,000-piece jigsaw puzzle to a friend when it won't fit in one envelope? The internet solves the same problem millions of times a second.
Swipe or tap Next for the next section
Mailing a Puzzle
Say you want to send a friend a finished jigsaw puzzle, but it's far too big for one envelope. So you break it into ten sections, put each in its own envelope, and write two things on every one: your friend's address, and a number — "3 of 10."
The envelopes go through different post offices. Some take a faster route, some get held up. They arrive on different days, in a jumbled order. But because every envelope is numbered, your friend can put the sections back in the right order. And if "7 of 10" never shows up, they know exactly which one to ask you to send again.
That's how the internet moves everything: split it into small numbered pieces, send each one on its own, and reassemble them at the other end.
The internet itself is a network of networks — home Wi-Fi, school networks, phone networks, company networks — all joined together. Packets hop from one network to the next until they reach the right one.
Packets
Each of those small pieces is called a packet. A web page, a photo, or a video call is chopped into many packets — often hundreds or thousands. Every packet carries:
- Addresses — where it's going and where it came from (the IP addresses you might have read about).
- A number — so the pieces can be put back in order.
- The data itself — its small slice of the message.
A Message, Start to Finish
1. Split into packets
- #1 of 4SEE
- #2 of 4YOU
- #3 of 4AT
- #4 of 4NOON
2. Travel separately — and arrive jumbled
- #2 of 4YOU
- #4 of 4NOON
- #1 of 4SEE
- #3 of 4AT
3. Put back in order by number
SEE YOU AT NOON
The numbers are what make reassembly possible.
Routers: The Internet's Mail Sorters
Between you and a website are lots of routers — computers whose whole job is passing packets along. A router looks at a packet's destination address and hands it to a neighboring router that's a step closer, a bit like a mail sorting center sending a letter on to the next town.
Packets from the same message may arrive in order, out of order, or — occasionally — not at all. No single router knows the whole journey. Each one just makes a good next step. And because the decision is made fresh for each packet, two packets from the same message can take completely different paths.
That flexibility is also what makes the internet so hard to break. If a cable is cut or a router goes down, packets are simply sent another way — which is exactly the idea on the Redundancy & Fault Tolerance page.
The Rules Everyone Follows
For all of this to work between billions of devices made by different companies, everyone has to follow the same rules. These agreed rules are called protocols. A few you'll hear about:
- IP (Internet Protocol) — the addressing rules: how packets are labeled and passed between routers.
- TCP — the careful one: numbers the packets, puts them back in order, and asks for any missing ones to be sent again. Used for web pages, email, and downloads, where every piece matters.
- UDP — the quick one: sends packets without checking they all arrived. Used for live video calls and online games, where a late packet is useless anyway — better to skip it and keep going.
Why Not Send It All in One Go?
- Sharing the road. Small packets from millions of people can take turns on the same cables, so one giant download doesn't block everyone else.
- Easy fixes. If something goes wrong, only one small packet needs re-sending, not the whole file.
- Many routes. Packets can spread out across different paths and around any broken ones.
How quickly all those packets arrive depends on two different things — how much can travel at once, and how long each piece takes to get there.
5 quick questions. Pick one answer for each — you'll see why straight away.
Why does each packet carry a number?
Packets can arrive jumbled. The numbers let the receiving computer reassemble the message — and spot any that are missing.
Packets that belong to the same message…
Each packet is routed on its own, so the journeys can differ. That's why reassembly and re-sending are needed.
What does a router do?
A router reads a packet's destination address and hands it to the next router along a good path.
A live video-call app sends its data using UDP rather than TCP. Why?
TCP re-sends anything missing, which adds delay. For live audio and video, keeping up matters more than getting every packet.
What are internet protocols?
Because everyone follows the same open rules, any device can join the internet and talk to any other.