All tutorials

Course 01 · Networking

How packets movethrough the internet

From a letter in an envelope to independent QUIC streams—a visual guide to what the network promises, what it does not, and how transport protocols fill the gaps.

Beginner 18 min 5 experiments No prerequisites
01 · Start with an analogy

A packet is a little like a letter.

You put a message inside, write a destination on the outside, and hand it to a system that knows the next useful direction—not necessarily the whole route.

The analogy is imperfect, and that is useful. Unlike a postal letter, a large digital message is split into many packets. They may take different routes, arrive out of order, or not arrive at all.

Postal systemInternet
✉01
Street address↔IP address
Sorting center↔Router
Delivery time↔Latency
Lost letter↔Packet loss
02 · Make the network move

One route, two fundamental outcomes.

First see a packet arrive. Then lose the same packet and notice what the internet layer does—and does not—promise.

The transport protocols come next.

A packet goes from A to B
simulation · slowed down

Routers inspect the destination and forward the packet one hop closer.

Packet route from device A to server BAn interactive diagram with two endpoints and two routers. A packet either reaches B or is lost along the route.Ayour device192.0.2.8router 01router 02Bserver203.0.113.42
Network state Ready. Choose an experiment.
  1. idle Waiting at A
03 · Notice the promises

The internet layer is deliberately modest.

IP tries to move each packet toward its destination. It does not promise delivery, order, or a fixed travel time. That small contract keeps the network flexible.

✓

Best-effort forwardingUse the destination address to choose a next hop.

×

Guaranteed arrivalCongestion, failures, or full queues can drop packets.

×

Guaranteed orderPackets can follow different paths and arrive rearranged.

The idea to keep
IP moves packets. Transport protocols decide what to do when reality gets messy.