by Latty · 2y ago · 0 comments
> If we are going to start using address space that might not work for all users, it would be wise to pick the address space that we already have a considerable head start on getting accepted: IPv6.
IPV6 is one of those things where if isp,'s just switched over to it, I'd have so less nightmares caused by cgnat and that bullshit like how expensive static IP's are.
Many its because I'm not working at a ISP or a teir 1 backbone but forcing the transition to ipv6 seems like overall it would be less of a clusterfuck than our current ipv4 stuff. I know their is stuff going to break, anytime changes are made at this scale it often has some hickups....but dear god I really hate how static IP's are so expensive, and how expensive a small IP block is. Also IPV6 is just an excuse to get fiber everywhere.....I hate how slow many services are.
Likewise, some Linux mirrors don't support it. If I decide to try an IPv6-only server, and the first thing I see after "apt update" is network errors, I'm not very motivated to use IPv6 in the future.
Then add some problems where having IPv6 enabled randomly breaks things for one reason or another. I can either debug it forever, or turn the "internet is broken" switch (labeled "Enable IPv6") to "off" and get on with my day. That means more people that support IPv4 but not IPv6 (to be fair, this one seems to have gotten a lot better).
But ultimately, until some major, hard-to-avoid site says "we'll only be on IPv6", there is little reason for most to use it, and many reasons not to. That's why the transition takes forever.
Amazon has hopefully started a change in this mentality by charging money for every IPv4 address used. This creates a real financial incentive to deploy IPv6-only servers, which in turn means that critical services like Github and Linux mirrors are slowly forced to provide IPv6.
CGNAT at scale functions by assigning a range of ports on a shared v4 address to a downstream customer. You can normally get between a 1:8 and 1:32 "compression ratio."
We still need to free up additional IPv4 to keep the internet growing. Don't let the "just switch to v6" crowd fool you, both solutions need to addressed in parallel.
CGNAT is a term that broadly used to refer to carrier-scale solutions to deal with issues with number exhaustion and dual-stack deployments. What most people think "CGNAT" is, is actually NAT44. https://nfware.com/blog/why-cgnat
IPv6 didn't only impact networking devices, it affected end-user applications that interact with the network in many ways, and this is a big part of the slow adoption.
1) make everything the same, the good and the bad, just extend the address space, and replace all the networking stacks in all the gear everywhere.
2) if we're already replacing everything, make stuff better
We chose #2, with varying degrees of what is "better".
For many years it embedded the idea that every application had to handle exact details of each protocol it wanted to support through its exposure of gory details in sockaddr struct and requiring that as input to connect() and listen() calls.
All the SLAAC, privacy address, etc? That's just an emanation of people cargo-culting some practices that were workable with IPv4 but only by making the network suck.
And ifconfig got deprecated because it didn't fit linux networking API anymore, and nobody wanted to maintain it instead of writing something that fit well - which was iproute2.
Also adopting IPv6 these days would require to maintain still IPv4, this means that for example firewall rules must be made both for IPv4 and IPv6, something that adds a lot of work to IT technicians (and they thus disable the protocol that if you disable the internet still works, that is IPv6). Extending IPv4 would mean that the same firewall rules can apply, just considering again the upper 32 bits of the address.
Finally IPv6 is in general more complex, it has some obscure things like SLAAC or the fact that an interface can have multiple IPs, that not all IPs are routable, etc, even simply the notation for IPv6 addresses that is not even consistent among software (in some software you have to put it between [] to disambiguate with port numbers, in some other not), DHCPv6 implementations that are still these days quite broken, etc. Compared to IPv4 is quite a complication...
I'm the opinion that we are slow to adopt IPv6 since it's too different from IPv4, and requires maintaining a network with two protocols, since everyone completes the migrations, this is unlikely to succeed in the next years (for example in my country, Italy, most ISP, even the most important one, don't even bother to provide you an IPv6 address! I think that because it does increment the problems and thus the requests to handle in the customer service, thus they decided that you just get IPv4 that works reliably).
Sounds like IPv7, from year 1993: https://datatracker.ietf.org/doc/html/rfc1475
> I'm the opinion that we are slow to adopt IPv6 since it's too different from IPv4
Doubt, seeing how IPv7 appeared around the same time as IPv6 (RFC1883, from year 1995) and we still don't see IPv7 anywhere.
To be fair, IPv7 seems to have been deprecated in 2012 (RFC6814). It had almost 20 years to catch up but, quoting the RFC, "IPv7 was never widely deployed".
For our users, it doesn't matter if it's IPv4 or IPv6 - they can reach it, and it can reach them.
[1] https://blog.ipv6.rs/ipv4-activated-via-nat64/
Step 1 would've been to leave all the routing, DNS, NAT, DHCP etc as-is and just get people's devices speaking ipv6. And we would've already been there years ago. Once that's done, DNS and DHCP can be updated, then people can start using the extended address space by splitting up their blocks. So if you previously had 1.2.3.4, you now also have 1.2.3.4.1 etc.
It's actually not too late to do this with the existing v6 header.
So your IPv6 address would be 1.2.3.4.5.6.7.8. The header would have 5.6.7.8 as the IPv4 destination. When it got there, that router would unpack the rest of it and send it off to 1.2.3.4.5.6.7.8. If that host had to talk to an IPv4 host, it would just use the IPv4 headers.
Then IPv6 traffic could pass over IPv4 networks without any changes. The only constraint would be that each IPv6 network would have to have an IPv4 "gateway" address.
Old IPv4 hosts wouldn't be able to talk to IPv6 endpoints, but at least this way the user could upgrade their own stack without having to wait for their ISP, and every network in between, to also upgrade.
It's pretty much carrier grade NAT but from client to client without ISP support being necessary, which is the biggest bottleneck right now.
So:
* https://en.wikipedia.org/wiki/Teredo_tunneling
* https://en.wikipedia.org/wiki/6in4
* https://en.wikipedia.org/wiki/ISATAP
You can sign up for an IPv6 connection, without any IPv6 support from your ISP, via Hurricane Electric's tunnel service:
* https://wiki.archlinux.org/title/IPv6_tunnel_broker_setup
* https://docs.netgate.com/pfsense/en/latest/recipes/ipv6-tunn...
It's been around for at least a decade:
* https://www.internetsociety.org/blog/2014/01/weekend-project...
Any 'expanded IPv4 address' solution will (have) face the same problems that IPv6 has faced, and the solutions will end up being the same: having to slowly upgrade the network stack (hosts, routers, firewalls, ASICs), changes in networking system calls and associated structs (because the number of bits), gateways and transitions mechanisms, expansion of related protocols (DNS A records are only 32-bits, so a new record type needs to be supports (e.g., AAAA for IPv6, AAAAAA for your new proposal)).
If you want to argue that we should have (say) kept ARP instead of moving NDP, sure.
But anything to do with expanded addressing would be the exact situation: code upgrades and transition mechanisms.
How does the IPv4 person craft the reply back to the not-IPv4 source?
In your scheme, any IPv4 address is automatically expanded into an IPv6 gateway address, since there is no other way to map that partial addresses together. So, for every /32 of space you want to add, you have to get another IPv4 and use it as a gateway.
It's also going to be a massive amount of fun doing "second level CIDR" on those gateways.
You've just turned CGNAT inside out to no real benefit.
No You'd need a full rewrite at the parser level
As everybody said : ipv4 cannot be made compatible with larger addr space
And by having a just more bits for the address - be incompatible with IPv4.
DNS is IP^W address protocol agnostic, by the way. If you really need you can run it on IPX/SPX.
DHCP is just a lack of the autoconfiguration in IPv4. No thanks. Nor APIPA, nor DHCP with the same 192.168.0.1/24 everywhere solve that properly like in v6. Sure there were some nuances in the begging (like the inability to provide the DNS servers addresses at the beginning) but they were solved 15 years ago.
Source: was there.
IPv6 took longer because the internet is now run by companies that need to see a return on investment, and as long as IPv4 was working fine for their customers, didn't see a benefit to it. It's why IPv6 adoption only started taking off when the answer to "Our projected customer growth this year is 200,000, can we have 200,000 more IPv4 addresses please?" became "No".
This was around 1996, which is when the vertical growth phase took off. Too late.
1.x.x.x.x will be for legacy stuff. If anything is trying to route to only 4 octlets, routers add a 1. in front of it. Bam, legacy solved.
edit: I realised people don't see the big picture here.
Step 1) We collectively engineer and deploy ipv8, along with RFCs explaining how future expansion works
2) We put all sorts of preparatory work, conversation into the eventual expansion into 6 octlets, from 5. We'll need that once we colonize multiple systems.
3) The RFC will state that "new planetary systems get space on 5th oclet, 1.200.x.x.x.x to 1.250.x.x.x.x.
4) As systems grow to need more than an ipv4 range, we transition them to their own 6th oclet. It's easy for them, because they can retain legacy 5th octlet headers.
5) We then collectively freeze our brains, so that in the future, once interplanetary, faster than light communication exists, we are thawed to deal with the 5 to 6 oclet transition!
And we all become immortal.
But no, that's fine, think small, stay non-immortal with your ipv6 Flanders!
Internally, an IP is just a 32bit number. Adding another octet is adding another 8bits to the number. IPv6 merely expands that number to a 128bit number.
If you do the math of say converting 8.8.8.8 to 8256^3 + 8256^2 + 8256^1 + 8256^0 and ping the resulting number, it will work.
Only for unidirectional UDP.
How do you think the other side would be able to respond if it's unaware of the 5th octlet? Basically every protocol in existence requires two-way communication and there's no backward compatible way of providing that.
In the other hand, IPv6 is already used by nearly half of internet, and probably most installed infrastructure supports it. And it have a lot of advantages over IPv4, starting with not having to use NAT.
... :-( ... goes to cry in a corner
Anyone who has ever done net stuff for a living knows that you type or copy paste addresses constantly. Whenever I say this to V6 evangelists they say “we’ll use DNS” which is “tell me you’ve never been a net admin without telling me.”
I’d love for V6 to get traction but I think something needs to be done about the usability issues before it will happen.
Even little details like the fact that in no terminal does double clicking on a V6 address properly select it is a huge problem. Yeah you might be able to change that but that custom config won’t be there on the next machine, etc.
Even seemingly simple usability problems are death to adoption.
It’s not hard to remember IPv6 addresses for DNS servers assuming your addressing plan reserved the right subnets for anycasted services.
Remembering IP addresses stops being a thing pretty quickly. If anything the challenge shifts to remembering airport codes.
If you are typing them by hand that often even in IPv4 networks I'd be worried about typos and insufficient automation.
I think it’s more that small and medium organizations just don’t have any incentive to change (and plenty of incentive to not take the risk of change) leading to the numbers we see at https://ipv6-in-real.life/
Automation is all very well once the network link is up and working so you can reach the automation
But the reality is you put someone who knows what they're doing in front of a machine where the network connection isn't working, the first things they're going to be doing is ifconfig and ping 8.8.8.8 - which they'll be doing from memory, because you can't google anything when your network connection isn't working.
The fact that IPv6 will deprecate both ifconfig and 8.8.8.8 to me seems emblematic of why the adoption has been going so badly.
If you're using ifconfig on linux[1] for the last 10 years, I'm going to negatively look on your claimed expertise
As for point-to-point links, that's what simple link-local addresses are, added in ipv6. And why IP-IP is superior to OSPF, both because it doesn't hardcode address sizes and because it runs on Layer 2.
[1] ifconfig on other systems might be the right command
With properly constructed automation and modern* hardware, you don’t need to do any manual config on-box for automation to be reachable. Zero-Touch Provisioning is a wonder to behold.
Modern being relative. I saw this work on routers terminating telco circuits nearly 20 years ago and had servers netboot and install the OS with basic config before that (though automation was far more tedious back then)