~30 Router Hops
1500 Bytes Max
<100ms Round Trip

The Life of a Packet

Every click sends a tiny messenger on an incredible journey. Follow a single packet as it hops through routers, crosses networks, and finds its way to a server on the other side of the world.

1

You Click a Link

The moment you click, your computer creates a tiny digital messenger called a packet. It contains your request wrapped in layers of addressing information - like a letter with multiple envelopes.

Fun Fact: A single webpage might require hundreds of packets! Each image, script, and stylesheet is requested separately.
2

The Local Network

Your packet's first hop is just a few meters - from your computer to your home router. But first, it needs to find the router using something called ARP (Address Resolution Protocol).

0
Hops
0
ms Latency
Why ARP?

Your computer knows the router's IP address, but to actually send data over the wire, it needs the router's MAC address (hardware address). ARP broadcasts "Who has 192.168.1.1?" and the router responds with its MAC.

Fun Fact: Your computer caches ARP results so it doesn't have to ask every time. Check yours with arp -a in terminal!
3

ISP Handoff

Your router passes the packet to your Internet Service Provider (ISP). This is where your home network meets the wider internet. The ISP assigns your public IP and routes your traffic.

192.168.1.105
Private IP
---
Public IP (NAT)
NAT: Network Address Translation

Your home network uses "private" IP addresses (like 192.168.x.x). Your router translates these to your single public IP address using NAT. It's like having one mailbox for an entire apartment building!

Fun Fact: There are only ~4.3 billion IPv4 addresses, but over 5 billion internet users. NAT is why we haven't run out!
4

The Routing Table

At each router, your packet faces a decision: which way to go? Routers use routing tables - like road signs that say "To reach X, go through Y."

Destination: 93.184.216.34
Network Mask Next Hop Interface
93.184.216.0 /24 10.0.0.5 eth2
93.184.0.0 /16 10.0.0.3 eth1
10.0.0.0 /8 Direct eth0
0.0.0.0 /0 10.0.0.1 eth0
Longest Prefix Match

Routers choose the most specific route (longest matching prefix). 93.184.216.0/24 is more specific than 93.184.0.0/16, so it wins. The /0 route is the "default gateway" - the catch-all for unknown destinations.

Fun Fact: The global routing table has over 900,000 entries! Core internet routers need special hardware just to process them all.
5

Hops and TTL

Every packet has a Time-To-Live (TTL) counter. Each router decrements it by 1. If TTL hits zero, the packet is discarded. This prevents packets from looping forever!

Time To Live
64
Starting TTL: 64 (typical for Linux/Android)
Hops traveled: 0
Status: Healthy
Why Different Starting TTLs?

Windows: 128
Linux/Android: 64
macOS/iOS: 64
Cisco routers: 255
You can often guess someone's OS by the TTL in their packets!

Fun Fact: The traceroute command works by sending packets with TTL=1, then TTL=2, etc. Each router that drops the packet sends back an error, revealing the path!
6

Arrival and Response

Your packet has arrived! The destination server unpacks your request, processes it, and creates a response packet to send back. The roles are now reversed.

Waiting
Server Status
---
HTTP Response
---
Response Size
Response Packet Structure

The response packet swaps source and destination! Your IP becomes the destination, the server's IP becomes the source. The payload now contains the webpage data (HTML, CSS, images, etc.).

Fun Fact: A typical webpage loads 50-100 resources. That means 50-100 separate request/response cycles, often happening in parallel!
7

The Return Journey

Here's the surprising part: the response often takes a completely different path back to you! Internet routing is dynamic - each router makes its own decision based on current conditions.

→ Outbound Path
1192.168.1.11ms
210.0.0.18ms
372.14.215.8515ms
4108.170.252.6523ms
593.184.216.3428ms
← Return Path
193.184.216.11ms
2152.195.232.2512ms
3206.126.236.17819ms
410.0.0.126ms
5192.168.1.10527ms
28
Outbound (ms)
27
Return (ms)
55
Round Trip (ms)
Asymmetric Routing

Different paths happen because each router independently decides the best route. ISPs also have peering agreements that may favor certain directions. This is called asymmetric routing and it's completely normal!

Fun Fact: Submarine cables have different capacities in each direction. Traffic from the US to Europe might go through different cables than Europe to US!

Packet Delivered!

You've followed a packet through its entire journey across the internet.

0
Hops Traveled
0
Packets Sent
0
Time Exploring

Packet Structure

Every packet has a header (address info, TTL, protocols) and payload (your actual data).

TTL Protection

Time-To-Live prevents packets from looping forever by counting down at each hop.

Dynamic Routing

Packets find their own path - the return journey often takes a different route!

Hop by Hop

Each router only knows the next step, not the full path. It's like asking directions one block at a time.

Ready to Create?

Put your new knowledge into practice!

More Discoveries

Suggest a Correction