INHow the Internet Works · Lesson 1 of 7
The Big Picture: Packets & Layers
The internet's founding trick: chop every message into small packets, let each one find its own way, reassemble at the far end. No phone-style dedicated lines — just billions of self-addressed envelopes.
There is no wire between you and a website. Your request is split into packets (~1,500 bytes each), each stamped with source and destination addresses. Routers — machines whose whole job is 'read the address, forward toward it' — pass each packet hop by hop. Packets may take different routes, arrive out of order, or vanish; the endpoints sort it out. This design survives failures beautifully: any router can die and packets route around it.
◆ Note
Layering is why the internet evolves without coordination: WiFi replaced cables without changing IP; HTTP/3 replaced TCP with QUIC without changing web apps. Each layer only promises an interface to the one above — implementation swaps freely. It's the best API-design lesson in engineering history.
Layering is why the internet evolves without coordination: WiFi replaced cables without changing IP; HTTP/3 replaced TCP with QUIC without changing web apps. Each layer only promises an interface to the one above — implementation swaps freely. It's the best API-design lesson in engineering history.