this post was submitted on 10 Jun 2023
44 points (95.8% liked)

Programmer Humor

32048 readers
1535 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 7 points 1 year ago (1 children)

There are far less than 255 countries in the world, and most countries do not have 255 regions.

On the other hand, most regions have more than 255 subnets, and with NAT these days, most subnets have faaaaar more than 255 devices

[โ€“] [email protected] 8 points 1 year ago* (last edited 1 year ago)

Now with IPv6, we give each continent /12s and then each continent's RIR gives those out as /32s or /48s to ISPs, who then either pass on the /48s to their customers, or further subdivide them into /64s.

So in a way, we actually are kinda doing this /8 /8 /8 division now, but with blocks many, many times bigger, and then each subnet is 72 quadrillion times bigger, with the ability to have up to 18 quintillion devices.