Comment on How does data sent over the internet know where to go?

<- View Parent
glimse@lemmy.world ⁨8⁩ ⁨months⁩ ago

I’m no expert but it seems like the most efficient way with the given technology! The hops between routers are much less frantic than (I think) you’re imagining.

To oversimplify, think of it like boxes in boxes where each box is a router.

Your PC is in the first small box. It says “I want to connect to [IP]” and the box says “I don’t have that IP, let me ask the bigger box”

The bigger box (your ISP) says “I don’t have it either, I’ll ask the big box”

The big box says “I don’t have it but based on the address, I know it’s in this other big box”

Other big box says the same thing and sends it to another small box. That small box has the PC you’re looking for and the packet is delivered!

source
Sort:hotnewtop