The Parcel's Journey
Tap the board to zoom inClick the board to zoom in
Lessons that use this board
- How a parcel finds any house on earthlesson
- One click, every layer (what happens when you load a page)lesson
- It won't load: the ladder (network debugging)lesson
- Inside one postal company (distance-vector, link-state, and ICMP)lesson
- Build it: ping, and the parcel that dies on purpose (ICMP and traceroute)lesson
- The stack on one pagelesson
- A private road through a public street: VPNs and tunnelslesson
- From the wire to your accept(): sockets and the receive pathlesson
- Who you trust to tell you the way: BGP policy and RPKIlesson
- Too big to pass: MTU, fragmentation and black holeslesson
- Programs inside the kernel: eBPF and XDPlesson
How a parcel finds any house on earth, in 11 handoffs
a real package, tracked live from your laptop to example.com just now, 15 milliseconds door to door
your ISP's private corridors (hops 2–7)
your router
192.168.29.1
depot 2
10.47.168.1
depot 3
172.16.28.1
…three more
private depots…
depot 7
192.168.41.72
depot 8, silent
*
depot 9, silent
*
the open internet!
49.44.220.129
example.com
172.66.147.243
3.8 ms
8.6 ms
9.6 ms
8.9 ms
13.7 ms
15.1 ms: delivered
every plate in here is a "flat number" 10.x, 172.16.x, 192.168.x are reused
in every building on earth. they only mean something inside this ISP.
the miracle: nobody has a map
no depot knows the whole route. each one keeps a single list:
"for that neighborhood → hand it THAT way", and passes your
parcel one step closer. millions of tiny local decisions,
and it works for every house on the planet.
why parcels can't get lost forever
every parcel carries a handoff counter. each depot ticks it
down by one. At zero, the parcel is returned to sender.
nothing circles the earth forever.
the tracking trick: mail parcels allowed only 1 handoff, then 2,
then 3… each depot that returns one reveals its address.
that's the whole secret of `traceroute`: it's how this board exists.
where you feel this: Amazon's "package left
facility" updates, same idea, real vans.
and your game ping: 15 ms IS this journey,
there and back. two silent depots? some
offices just never sign the register.
the jargon, now that you already own the story:
depot = "router" (each stop = a "hop") handoff counter = "TTL" the "that way" list = "routing table"
flat-number plates = "private IP addresses" the tracking trick = "traceroute" (try it: traceroute -n example.com)
next journey: what happens when two parcels want the same letterbox, or we open the box and watch a download stumble and recover.
HOW A PACKET IS ADDRESSED & HOW TRACEROUTE SEES EACH HOP
1) THE IP HEADER -- what every packet carries
version | TTL | protocol (TCP/UDP)
SOURCE IP | DEST IP | checksum
routers really only read the DEST IP.
they pick the next hop by LONGEST-PREFIX match
in their routing table -- no router knows the whole path.
2) TTL -- a self-destruct counter
you
R1
R2
dest
64 63 62 ...
each hop does TTL - 1. hits 0 -> router DROPS it
and mails back an ICMP 'time exceeded'.
3) TRACEROUTE weaponizes TTL
send TTL=1 -> R1 drops, replies -> hop 1
send TTL=2 -> R2 drops, replies -> hop 2
send TTL=3 -> R3 ... -> hop 3
...until the destination itself answers.
that's exactly how you watched 11 hops appear, live.
Saved in this browser, and to your account when you sign in.