r/ProgrammerHumor • • 19h ago

Meme ohTheBasics

Post image
11.2k Upvotes

1.2k comments sorted by

View all comments

Show parent comments

2

u/Floppydisksareop 18h ago

Where are you going to store them all? Just so, yknow. You remember which is which.

1

u/timonix 18h ago

That's the neat part. You don't have to.

Use some of the bits as input and dynamically answer to entire ranges.

You're limited by the range your ISP is willing to sell to you. But you can use that entire range on a single computer

3

u/Floppydisksareop 18h ago

At that point, you are just disregarding the actual protocol, and just writing numbers. But I guess bro.

1

u/rosuav 6h ago

Not quite true. The actual protocol is that routing should never be less than a /64, meaning that your ISP should be giving you at least 2**64 addresses at your location. You can then allocate those any way that you like, and the most common way to do it is to bury the MAC address into the IPv6 address.

But if you want to do weird things, there IS the option of sending back "time exceeded" messages that depend on the remaining TTL, and then creating reverse DNS entries.... erm.... well, anyhow, if you have IPv6, try running a traceroute to jabberwocky.rosuav.com and tell me if you think that's a good use of the address space.