Code Safari

Chapter 106·Intermediate

How Internet Routing Works: How a Packet Finds Its Way Across the World

01 / 05

The core idea

No packet knows its whole route.

A packet is never handed a map. Each router it reaches makes one local decision — 'who's my best next hop toward that address?' — and passes it on. The path emerges hop by hop.

How Internet Routing Works: How a Packet Finds Its Way Across the World | Code Safari