Journey of a Packet — animated

Type certcrack.com into a browser and a surprising amount happens before the page appears. Follow one packet on its full round trip — DNS, ARP, switching, routing and NAT — with the packet's headers inspected at every step. Press play and watch it travel.

INTERNET many routers, one path shown 🖥️ Your PC192.168.1.10 Switch SW1forwards by MAC Router R1gateway + NAT DNS Server8.8.8.8 Router R2server side 🌐 Servercertcrack.com203.0.113.25

🔍 Packet inspector — the headers right now

Source MAC—
Destination MAC—
Source IP—
Destination IP—
TTL—
Carrying—

The four ideas that run the whole journey

MAC = local delivery

A MAC address gets a frame across ONE link — to the switch, or to the gateway. Routers throw the Ethernet header away and build a new one at every hop, so MACs change constantly and never cross a router.

IP = end-to-end address

The source and destination IPs are the packet's real origin and final target. Routers read them to choose the path, but (NAT aside) they do not rewrite them.

NAT = the great translator

Your private 192.168.x.x address means nothing on the internet. The gateway swaps it for its public IP and keeps a translation table so replies find their way home — that's how whole households share one public IP.

DNS runs first, silently

Every “simple” page load starts with a DNS lookup. If DNS fails, the site is “down” for you even when the server is perfectly healthy — a classic exam and help-desk trap.

Now try it with your own hands

Where this appears on your exam

Questions students ask

Why does the frame go to the gateway's MAC if the packet is for the server?
Because Ethernet can only deliver inside the local network. Anything off-network is handed to the gateway — the frame's job is “reach the router,” the packet's job is “reach the server.”

Does NAT change the destination IP?
Outbound NAT (the home/SOHO case here) changes the SOURCE IP on the way out and the DESTINATION IP on the way back, using its translation table. The server's IP is never touched.

What is TTL for?
Time To Live is a hop counter. Every router subtracts 1; at 0 the packet is discarded. It exists so a routing loop can never circulate a packet forever.

Is the DNS server's answer also NAT-translated?
Yes — the reply comes back addressed to the router's public IP, and the router rewrites it to your PC using the same translation entry it created for the question.