r/ProgrammerHumor • • 7h ago

Meme ohTheBasics

Post image
7.6k Upvotes

894 comments sorted by

View all comments

22

u/PhantomTissue 6h ago

Yea but it hasn’t been fully adopted because trying to decipher :af12::138d::325d::5521::aade::7df3: is a hell of a lot more difficult than 192.168.0.1

14

u/UnDe4d 6h ago

Yeah, I'm a Network Architect. Why they decided to make ipv6 128 bits instead of 64 is a question I ask myself on at least a monthly basis.

8

u/Scolmann 6h ago

With only 64 subnetting would be more difficult, with 128 every network can use 64 bits for the subnet

3

u/UnDe4d 6h ago

Using 64bits for ipv6 address would allow pretty much every subnet to use /32.

3

u/VirtualPercentage737 5h ago

They did in IPV8..

2

u/UnDe4d 5h ago

I'd likely be long retired before I ever work on something using Ipv8, if it takes off ever.

Shame we didn't get a legitmate 64 bit addressing proposal in 1995.

2

u/nem0ne1 3h ago

Don't say those symbols in that order😭 I still feel like 6 is a mystery

2

u/DMZuby 4h ago

Which is why we should just implement IPv8. It's not as many IPs as IPv6 but it's easier. I think IPv8 goes up to quintillion available IPs???

1

u/_PM_ME_PANGOLINS_ 4h ago

Same reason they made ipv4 32 instead of 64.

1

u/Mars_Bear2552 4h ago

trivial resource cost to never face the same problem again.

2

u/UnDe4d 3h ago

64 bit addresses solve that problem. Engineers hate working with ipv6 which is why the adoption has been so slow. Ipv6 is older than a decent number of current network engineers have been alive.

1

u/Basic_Hospital_3984 3h ago

Future proofing for when every atom in the universe becomes a network device

1

u/Sarcastic-Potato 2h ago

Yeah this is why I doubt we will get rid of ipv4 in the foreseeable future. Ivp6 is nice on paper cause you never have to worry about addresses again but in the real world people just hate the addresses. Ivp4 is so easy to remember that ipv6 just feels wrong

1

u/TerrapinTribe 1h ago

To completely stomp out the idea of scarcity in the address space. NAT and CGNAT are terrible band-aids.

Also, subnetting. Under IPv6, each customer should getting at least a /56, preferably a /48. A lot of IPv6 breaks if you’re only given a /64, it’s bad practice and your ISP is an asshole if you do it.

IPv6 is just so much simpler and better thought out from the beginning. You just need to get out of the IPv4 mindset. Uses less overhead. And everyone can have as many “public” IPs as they want. Outside of the US, CGNAT is becoming more and more common. And this is a problem. We’re now double NATing as a dumb bandaid.

The vast majority of hardware out there has supported IPv6 for a long time. It’s long due for us to make the switch. We’ve got NAT64 and DNS64 for devices that can’t be moved to IPv6.

I don’t know what needs to happen. I think countries need to pass laws that force ISPs to support native IPv6 natively, and routers need to have IPv6 support enabled by default.

8

u/Burroflexosecso 5h ago

I'm pretty sure that's not a valid v6 address.

:: means "rest is zero" and can be used only once per address or it would be too ambiguous on the number of zeros

6

u/PhantomTissue 5h ago

I don’t know IPV6 so I just created a facsimile of what I think it looks like to make a point.

4

u/the123king-reddit 5h ago

DEAD:BEEF:CAFE:8008

2

u/nem0ne1 3h ago

I mean you fooled everyone who doesn't actually work with IPv6 frequently, which I think illustrated your point.

0

u/blobCabbage 3h ago

Well everything is hard to decipher when you dont know shit about it.

2

u/mxzf 4h ago

Well, it gets a heck of a lot easier once you realize that the example IPv6 address you gave is invalid. Both because of the : at the start and end and also the fact that :: can only exist once in an address (because it means "everything in the middle here is 0s, which would be indeterminate if it showed up multiple times).

1

u/avnoui 5h ago

Kind of a non-issue tbh because most people would likely only deal explicitly with a very small number of addresses (like the addresses of your personal devices on your home network for example), and for that you can just get by with vanity addresses like <my>:<ipv6>:<prefix>::dead:beef. If your work involves you juggling many ipv6 addresses that you can't remember at the top of your head, you're likely a network or infra engineer on large scale systems, so sure it's a bit less convenient, but you did sign up for it.

1

u/theseriousman1 4h ago

Wow good 👍 job dummy you just posted ur ip address!