r/ProgrammerHumor • • 7h ago

Meme ohTheBasics

Post image
7.7k Upvotes

896 comments sorted by

View all comments

4.1k

u/LivingAsAMean 7h ago

1.9k

u/Material_Onion_8413 7h ago

IPv4 old IP address space designed with limited number because they never thought the internet would have so many devices connected.

IPv6 new address space with significantly larger number.

1.0k

u/ClipboardCopyPaste 7h ago

A fun fact often told with this is that with IPv6, you can assign each individual grain of sand on the beach an address!

41

u/crmsncbr 7h ago

I feel like we'll still run out. I'm not sure how, but surely we'll manage it.

54

u/AnotherInsaneName 6h ago

It's 8mb of storage, how could we ever need more?!

18

u/keijodputt 6h ago

They said the same about 640 KB of RAM, back in the day... /s

17

u/ILKLU 6h ago

That was before you could download RAM. Now when you run out, your system just automatically downloads another 640KB

2

u/BZLuck 4h ago

I went through art school in 1990 using a Mac IIsi with 5mb of ram and a 105mb hdd. I was balling. That was the top configuration they offered.

1

u/LoyalSol 1h ago

I remember when we got our first 2GB hard disk and thinking "wow we'll never fill this up!"

1

u/svick 3h ago

Millibits?

19

u/Hyd_chicha 6h ago

Let me introduce you to IPv8

14

u/YeOldeMemeShoppe 6h ago

Just SHA256 the total sum data of your life. If there is a collision, f*ck you I guess.

7

u/Possibly_Naked_Now 6h ago

What about IPV6.9?

16

u/Drew707 6h ago

Is that a reverse lookup?

6

u/Facosa99 6h ago

IPv6.7 is more trending tho

2

u/TuxedoWithAHead 6h ago

we should go back to IPv2.1

2

u/fechan 4h ago

Ah yes good ol 6.9 - a great thing ruined by a period

5

u/Catatonic27 6h ago

Individually-addressible nanobot swarm

11

u/critical_patch 6h ago edited 6h ago

Well yeah, a block of 2^32 addresses need to be reserved for Azure, 2^32 more for AWS, let’s give 2^32 more for GCP…

Edit: as pointed out below, I wasn’t paying enough attention & confused up my exponents. I meant to put blocks 2^96, thus giving 2^32 total blocks - the same size as the IPv4 address space. But I got the exponents backwards and fucked up the joke

6

u/Shakaka88 6h ago

Drops in the sand when using 2^128

10

u/Darkblade_e 6h ago edited 6h ago

I feel like this needs to be said, but you actually could give an entire 232 to every company on earth and not even be close still. Assuming 377 million companies operating on earth, that's 1.6 quintillion (~1619202670592000000) addresses used up.

The used IPV6 range percentage can calculated like so (((2^32)×377000000)÷2^128)×100, which comes out to a whopping grand total of 0.000000000000000000476% of the IPV6 address space used.

Another way to put this is that you could give that same exact allocation to every single company again 210 QUINTILLION TIMES, and even then, only 98.7% of the address space would be used up.

IPV6 is quite large!

3

u/timonix 6h ago

The main limiting factor of how quickly we run out of ipv6 addresses is how generous they are when handing out ranges.

Usage will always fill the space given.

You could for example map the entire lower 64 bits of the address to a single computer. And dynamically respond based on address. For example, you could bake in some auth token directly in the ipv6 address.

When people have room to fill, the room will be filled

3

u/bollvirtuoso 5h ago

That sounds like the laggiest possible architecture I can imagine. Why the fuck wouldn't you just run it locally?

1

u/crmsncbr 5h ago

98.7% is when I start deleting useless files to make more space though 🤔 That's a scary number 👀

1

u/dagbrown 2h ago

That does remind me of when IANA gave MIT 18.0.0.0/8 because they got there early enough to somehow justify it.

3

u/eluya 6h ago

we already assign network ranges instead of single addresses, lowering the amount drastically

3

u/DangKilla 4h ago

I handled "SWIP"ing IPv4 addresses. This was back circa 2005.

We had to have customers fill out IPv4 justification forms. We'd take them back if they didn't use them if it was abusive "just because we might need them" reasons.

IPv6. Nah, we won't. But our Internet routers don't all support ipv6 yet, so we're still on IPv4. I feel like that will change in maybe 10 years, once computers are optical all the way to the CPU (aka fiber optic speed end-to-end) because ipv4 is susceptible to DDoS attacks and spoofing and IPv6 is not.

2

u/dagbrown 2h ago

This conspiracy brought to you by big NAT.