r/ProgrammerHumor • • Oct 19 '26

Meme ohTheBasics

Post image
13k Upvotes

1.4k comments sorted by

View all comments

Show parent comment

57

u/xWrongHeaven Oct 19 '26

2128 possible addresses

71

u/queen-adreena Oct 19 '26

2,128… that ain’t that many addresses….

61

u/AmazingDragon353 Oct 19 '26

2.128 addresses? What are we going to do with 0.128 of an address?

15

u/SirLoremIpsum Oct 19 '26

2.128 addresses? What are we going to do with 0.128 of an address?

AI Vibe code a calendar app so we can coordinate whose turn it is to use the IP address on any given day?

2

u/MoltoAllegro Oct 19 '26

Congrats, you've invented Token Ring!

1

u/Jwzbb Oct 20 '26

If we do that rotation fast enough we could still give everyone a piece of internet

11

u/queen-adreena Oct 19 '26

Break out the BitNat table I guess.

9

u/SuperFLEB Oct 19 '26

The "128" isn't even full-size.

→ More replies (1)

5

u/xWrongHeaven Oct 19 '26

No, it isn't. ~340 undecillion, however, is quite a lot

7

u/DanteVermillyon Oct 19 '26

Un-decillion? What's a decillion and why did you undid it?

2

u/SuperFLEB Oct 22 '26

They're probably marketing for 7-Up.

12

u/craftsmany Oct 19 '26

Technically we are not really talking about single addresses when concerned with v6, more so how many /64 subnets can fit in a prefix since that is what SLAAC uses. So for end users we would count the amount of /64 subnets in the possible 2^128 address space, which is 2^64. So still very very very big.

14

u/Harbinger2nd Oct 19 '26

Thats like....half the size of 2128

2

u/CardinalFartz Oct 19 '26

So we got 1080 atoms in the observable universe. Without having it looked up, I suppose 2128 exceeds that number?

3

u/Extension_Option_122 Oct 19 '26 edited Oct 20 '26

As a simple rule of thumb:

103n ≈ 210n

That isn't exact but gives a decent idea of the different sizes.

In this case: 1080 ≈ 2267

That is most definitely bigger than 2128, by about 2139 times

Edit: sleepy me

2

u/ajgrinds Oct 19 '26

I know it’s pedantic but 2267 is bigger than 2128 by about 2267. It’s 2139 times but you wouldn’t say that 1 million is bigger than 100 by about 10,000. You would say 1 million is bigger than 100 by about 1 million. 

1

u/Extension_Option_122 Oct 20 '26

Well I was sleepy...

1

u/CardinalFartz Oct 20 '26

TIL. Thank you.

2

u/Carcer1337 Oct 19 '26

No. 210 is roughly 103, so 2128 is in the region of 1039.

2

u/[deleted] Oct 19 '26

There's around 2138 times more atoms in the universe than there are IPv6 addresses available.

So no, not quite.

1

u/rkkerd Oct 19 '26

1/8 of this is publicly addressable, still a lot, but not as much as this

1

u/Curaced Oct 19 '26 edited Oct 19 '26

Non-technical person here. Wouldn't it just be 248 ? Four blocks of 256 (28) for IPV-4, and two more with IPV-6? Or am I just mistaken about how this stuff works?

3

u/ajgrinds Oct 19 '26

Ipv6 includes letters

2

u/CodingBuizel Oct 20 '26

The number is the version number, not the number of blocks. IPv6 actually uses 8 blocks of 65536 (216) written in hexadecimal.