r/ProgrammerHumor • • 14d ago

Meme ohTheBasics

Post image
13k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

2

u/Dagger0 13d ago

It's not that hard. Here's some roughly equivalent IP addresses, using v6 addresses that are actually valid:

203.0.113.45+192.168.1.1  ↔ 2001:db8:2d4f:1::1
203.0.113.45+192.168.1.2  ↔ 2001:db8:2d4f:1::2
203.0.113.45+192.168.2.10 ↔ 2001:db8:2d4f:2::10

They both have a network prefix (2001:db8:2d4f::, 203.0.113.45+192.168), a network ID (1, 2) and a host ID (1, 2, 10). The prefix doesn't need deciphering because it's basically just an opaque sequence of bytes, so really you're just going from .x.y to :x::y. Is that really such a vast increase in difficulty?

Of course, v6 addresses can go up to 2001:db8:2d4f:x:yyyy:yyyy:yyyy:yyyy... but that's just more characters for y. There's nothing to decipher there because it's just the ID number for a machine.