this post was submitted on 03 Aug 2025
440 points (99.8% liked)

Programmer Humor

25448 readers
1040 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] IAmNorRealTakeYourMeds@lemmy.world 3 points 17 hours ago (1 children)

stupid question, wouldn't it be easier to just have sub addresses?

like my fictional ip address is 123.123.123

and I can set my router to give up to 1000 sub addresses, so one computer can host a Minecraft server at 123.123.123.001 I have another for my some projects, the projects ones each have sub addresses like 123.123.123.002.001 and 123.123 123.002.002...

a company could have countless layers and any amount of addresss they want.

and we're never going to run out of addresses.

[–] Xylight@lemdro.id 17 points 17 hours ago (1 children)

Well the IPv4 spec only allows 4 octets, so having 5 or more is impossible. We could fix it by changing the protocol, but at that point it's more worth it to just migrate to IPv6.

[–] IAmNorRealTakeYourMeds@lemmy.world -1 points 17 hours ago (2 children)

fair, but isn't IPv6 just going with the same assumption as IPv4, "so many addresses, no way we will ever use them all"

[–] bss03@infosec.pub 6 points 8 hours ago (1 children)

For every IPv4 address, IPv6 has 18 quintillion IPv4 Internets.

But, sure, it might be possible for us to fsck up allocations, again.

[–] IAmNorRealTakeYourMeds@lemmy.world 1 points 8 hours ago (2 children)

wouldn't surprise me if we end up in a situation where individual programs have their own IP. then individual variables, so different programs in different networks can access them.

that might actually end up consuming all the addresses ...

stupid suggestion. just saying that future technologies might figure up a way to fuck this up again

[–] cellardoor@lemmy.world 1 points 2 minutes ago

There's enough V6 addresses for every atom on the planet and enough spare to do it 100x over. We'll be fine.

[–] bss03@infosec.pub 3 points 7 hours ago

Yeah, the Universe keep making bigger fools (of us all). But, we should still use IPv6 instead of clawing the tattered remains of IPv4. I just wish my ISP agreed.

[–] Hasherm0n@lemmy.world 11 points 16 hours ago* (last edited 16 hours ago)

It's pretty hard to overstate just how many addresses are in the ipv6 address space vs ipv4.

One of my favorite descriptions comes from Beej's guide to network programming, something I first read probably in the early to mid 2000s. https://beej.us/guide/bgnet/html/#ip-addresses-versions-4-and-6

3.1 IP Addresses, versions 4 and 6 In the good old days back when Ben Kenobi was still called Obi Wan Kenobi, there was a wonderful network routing system called The Internet Protocol Version 4, also called IPv4. It had addresses made up of four bytes (A.K.A. four “octets”), and was commonly written in “dots and numbers” form, like so: 192.0.2.111.

You’ve probably seen it around.

In fact, as of this writing, virtually every site on the Internet uses IPv4.

Everyone, including Obi Wan, was happy. Things were great, until some naysayer by the name of Vint Cerf warned everyone that we were about to run out of IPv4 addresses!

(Besides warning everyone of the Coming IPv4 Apocalypse Of Doom And Gloom, Vint Cerf14 is also well-known for being The Father Of The Internet. So I really am in no position to second-guess his judgment.)

Run out of addresses? How could this be? I mean, there are like billions of IP addresses in a 32-bit IPv4 address. Do we really have billions of computers out there?

Yes.

Also, in the beginning, when there were only a few computers and everyone thought a billion was an impossibly large number, some big organizations were generously allocated millions of IP addresses for their own use. (Such as Xerox, MIT, Ford, HP, IBM, GE, AT&T, and some little company called Apple, to name a few.)

In fact, if it weren’t for several stopgap measures, we would have run out a long time ago.

But now we’re living in an era where we’re talking about every human having an IP address, every computer, every calculator, every phone, every parking meter, and (why not) every puppy dog, as well.

And so, IPv6 was born. Since Vint Cerf is probably immortal (even if his physical form should pass on, heaven forbid, he is probably already existing as some kind of hyper-intelligent ELIZA15 program out in the depths of the Internet2), no one wants to have to hear him say again “I told you so” if we don’t have enough addresses in the next version of the Internet Protocol.

What does this suggest to you?

That we need a lot more addresses. That we need not just twice as many addresses, not a billion times as many, not a thousand trillion times as many, but 79 MILLION BILLION TRILLION times as many possible addresses! That’ll show ’em!

You’re saying, “Beej, is that true? I have every reason to disbelieve large numbers.” Well, the difference between 32 bits and 128 bits might not sound like a lot; it’s only 96 more bits, right? But remember, we’re talking powers here: 32 bits represents some 4 billion numbers (232), while 128 bits represents about 340 trillion trillion trillion numbers (for real, 2128). That’s like a million IPv4 Internets for every single star in the Universe.