Learn Computer Academy

Network Protocol Visualizer

Watch how the internet really works — one packet at a time, with every byte explained.

Browse computer basics lessons

Protocols · 6

DHCP · How a device gets its address

When you join a network your laptop knows nothing: no address, no router, no DNS server. DHCP hands all of that over in four messages, often remembered as DORA — Discover, Offer, Request, Acknowledge.

The network

Laptopno address yetHome router192.168.1.1

Step 1 of 6

You join the Wi-Fi

The laptop is connected but has no IP address, and does not know who could give it one.

Tip: use the ← and → keys to move between steps.

Steps

Inside the packet

Nothing is on the wire in this step — it happens inside one device. Move to a step with a packet to see its bytes.

Packets are shown as they appear on the sender’s local link. Addresses are example values; lengths and checksums are really calculated from the bytes you see. Keys and encrypted data are stand-in bytes, and long payloads are shortened — each such field says so.