Live data from Hacker News

Tell HN: IPv6-only still pretty much unusable

news.ycombinator.com

451–460 of 649 posts

Re: Tell HN: IPv6-only still pretty much unusable

#451
post #32

IPv6 has been one of the biggest failures in the last couple of decades. And I don't mean adoption, I mean the standard itself. If IPv6 were IPv4 with more octets, then we would all have been using it for like a decade. Yes, I understand it would still require some breaking changes, but it would have been a million times easier to upgrade, as it would be a kind of superset of IPv4 (1.2.3.4 can be referred as 0.0.0.0.…

I always joke with "We figured out how to move from Python 2 to 3 but we still cannot figure out how to do IPv6" :). What a catastrophic failure it has been. Should we just stop using it altogether and retire or are there people still advocating ?

What are you going to use instead? IPv4 is already bursting at the seams and starting over from scratch at this point means at least a decade before a new solution could even be considered.

Re: Tell HN: IPv6-only still pretty much unusable

#452

Every couple of months, I enable dual-stack on my home network, to see if it works. And inevitably I get a terrible experience. Some sites fail to load, others load after a huge delay (presumably because we're waiting for an ip6 timeout of some sort) and some things just don't work right. I'm always too lazy to figure out why these things don't work, but I turn off dual stack and everything works fine again. I'm a ne…

That sounds like pMTUd failure. The easiest check for that would be to set your client machine's MTU to 1280 and see if it fixes it.

Most people work around that problem with TCP MSS clamping in v4. Sometimes they don't apply the workaround for v6, then blame v6 for the problems.

Re: Tell HN: IPv6-only still pretty much unusable

#453
post #141

My take is that they should have used alphanumeric addressing. You could have addresses like company:office:laptop and it shouldn't have reinvented arp and dhcp or added more complex routing like anycast or link local. It tried to solve too many problems at once.

How would alphanumeric addressing help anything? You currently have an address hierarchy like : : : . That hierarchy is conveniently conveyed in a single 128 bit number. With an alphanumeric address, 128 bits of ASCII would get you `company:office:l` and your net/subnet/host would require more CPU horsepower to compute.

The ascii is for presenting to the user not for hardware processing. It is not a wire format. Onlh when logging or parsing a config (human interfacing) is an ascii conversion required and a modern protocol that wants adoption should prioritize human friendliess at the human interface of the protocol.

Right now the hex lets you mental model the wire bytes nicely but it is unpleasant to use. V4 used decimal which is pleasant to use. UX trumps all.

Re: Tell HN: IPv6-only still pretty much unusable

#454
post #241
post #165

Earlier quoted context omitted.

> I don't see any "dash" to support v6 in our future, when the option to just keep working around issues with v4 is so much easier and cheaper in the moment. 30-40% global adoption in ~10 years may or may not be a "dash", but it's also not nothing. "easier and cheaper" is very much not the case at larger scale. legacy ip space is only growing more expensive, & cgnat platforms are not cheap. even if a carrier HAS TO d…

> 30-40% global adoption in ~10 years may or may not be a "dash", but it's also not nothing. Still nowhere close to being remotely unusable after soon 30 years is very very close to nothing. Regarding benefits: Amazon, Azure and all the other major VPS companies has a lot to gain from IP addresses being expensive, since it makes it almost impossible for new players to enter the market. ISPs may pay for CGNAT in terms…

What I think (or at least hope) that this post is missing, is the ever-growing opportunity cost of having a population of people that are flat out unable to access your service. Google's IPv6 page currently has almost all of Africa at near-0% v6 adoption, but this map https://data.worldbank.org/indicator/IT.NET.USER.ZS?view=map shows a lot of African countries that still have low internet access. With such a long way to go towards full access, and in a lot of countries, exponentially rising populations, could a lot of African ISPs give up on the cost and/or CGNAT complexity of trying to magic up so many new IPv4 connections, and go all in on v6? That's only my layman speculation though.

Re: Tell HN: IPv6-only still pretty much unusable

#455

Earlier quoted context omitted.

Thanks, that helps a lot. This got me reading about IPv6 again. I'm trying to figure out how we'd set up an IPv6 network in the case where we have 1) Two upstream ISPs, mostly for failover, but could be loadbalanced too. 2) Internal servers with assigned DNS My initial thoughts were that for each of the two ISPs, each host (e.g. personal desktop or laptop) would use the IPv6 prefix and end up with two addresses. But…

If you want failover-independent IPs you can keep using NAT, ie NPTv6, at the gateway level and not bother with giving public IPs to your LAN machines.

Have you implemented NPTv6 before? What routing product(s) have you implemented this with? Do you happen to have some documentation links handy?

In my experience, this capability is missing from most off-the-shelf solutions, and in the cases where it is available, the documentation of this feature is missing or incomplete.

Re: Tell HN: IPv6-only still pretty much unusable

#456

Earlier quoted context omitted.

IPv6 is very similar to IPv4 it's just IPv4 wasn't a consumer grade protocol either. The problem isn't the protocol it's that there is little incentive for the average user to switch to anything else on their own volition when most didn't even really set up what they are switching from (and already working on today) anyways.

Again, this is kind of making my point. IPv4 had an excuse for being a bit crap, because it was designed in the early 1980s. IPv6 should have been much better than it is. Adoption was always going to be slow, but it never needed to be this slow. If the designers had thought a but more about usability and not done stupid stuff like making the address space contain twice as many bits as it actually needs, then we would…

I could say IPv6 addresses should have been 8 bits because it would have been more usable but that's not reasoning I'm right and IPv6 is a mediocre design-by-committee protocol it's just me lambasting the designers based on some number I thought sounded nice.

If the addresses were 64 bit instead of 128 bit the situation wouldn't be any different, beyond IPv6 would be harder to use. For humans unused bits end up hidden when written out and for machines most of the bits are used and are used in a way that make it scale and be simplified over using fewer bits. E.g. the assumption that every user subnet is a /64 instead of based on the number of devices in it is a massive simplification that hides a ton of complexity people ran into with IPv4 networks. /48 being the minimum aggregate advertisable on the internet makes the number of participants in the internet scale much better. Giving RIRs blocks of /23 leaves room to expand as assignments grow in the future - avoiding the problem we hit with IPv4. Just saying "half the bits is simpler" doesn't actually make your assumptions correct or the deployment happen any faster.

To re-iterate on this part: The problem isn't the protocol it's that there is little incentive for the average user to switch to anything else on their own volition when most didn't even really set up what they are switching from (and already working on today) anyways.

That's not to say the end user needs a more "usable" protocol so it becomes attractive to switch - that's not where the lack of attractiveness sources. The cost to use the protocol could be 0 (and IPv6 is actually extremely close to that to be honest) and there is still no incentive for consumers or businesses to make the switch yet. Even if everything goes perfect and is 100% done without any human intervention it still provides them no benefit until very recently when IPv4 prices started to rise so why would anyone have rushed to make the switch 20 years ago?

An example of this comes back to the cell carriers - they didn't go to IPv6 because they just like and have the time to do complicated things it was the simplest way to enable mobility across their networks with a large scale of devices. They hit this need much sooner than the price of a /24 went up enough for people to start caring so they pushed for their networks and phones to support this faster (on top of needing to build out a lot of new greenfield stuff anyways so why bother building greenfield with the old).

Re: Tell HN: IPv6-only still pretty much unusable

#457
post #157
post #32

IPv6 has been one of the biggest failures in the last couple of decades. And I don't mean adoption, I mean the standard itself. If IPv6 were IPv4 with more octets, then we would all have been using it for like a decade. Yes, I understand it would still require some breaking changes, but it would have been a million times easier to upgrade, as it would be a kind of superset of IPv4 (1.2.3.4 can be referred as 0.0.0.0.…

One of the ideas of ipv6 was to reduce routing tables, those tables that backbone providers have to keep in memory and look up for incoming traffic. With ipv4's fragmented allocation scheme, these routing tables are huge. With ipv6, even huge companies like amazon only have a couple of global allocations. A "ipv4 with more octets" scheme would have kept that fragmentation around. That being said, Amazon currently has…

> That being said, Amazon currently has 2880 ipv4 allocations and 946 ipv6 allocations... not much gained I guess? :p https://asnlookup.com/asn/AS16509/

I remember the line being "the IPv4 routing table is 3x as big as it needs to be due to fragmentation", so that seems pretty in line with that.

Re: Tell HN: IPv6-only still pretty much unusable

#458
post #342

Earlier quoted context omitted.

> I would switch to that "IPv4+" system if it existed.. I am willing to use latest software/standards to future-proof my setup, but duplicating all the work is too much for me. And exactly how would you accomplish this switch to a larger address space? Please explain the steps exactly how they would be done. Because IPv4 has 32 bits of address. Anything after IPv4 needed >32 bits of address. How exactly do you fit in…

OK: Let's use "IPv4+" scheme as described by redox99: we still have dotted-decimal, and IPv4 addresses are guaranteed to be accessible via IPv4+ interface. Right now, most application software need non-trivial rewrite to add ipv6 support: it has to support 2 sockets instead of 1, and ":" in address breaks basically every address parsing function out there. With IPv4+, you do search/replace "sockaddr_in"->"sockaddr_in…

> Right now, most application software need non-trivial rewrite to add ipv6 support:

That's not right.

If you've been using the platform network libraries for things then IPv6 will just work with anything more recent than Windows XP. Unless you've been hardcoding IP length expectations then there is basically nothing to do.

Seriously, use the platform libraries. They handle all the edge cases and stop storing IP address in a uint32.

Re: Tell HN: IPv6-only still pretty much unusable

#459
Hey all... unquietwiki from r/ipv6; been lead-mod there for a while now (though the rest of the folks are really amazing on the mod-side).

IPv6 has saved my bacon more times in the past 15 years, than IPv4 has fought with me. No clashing of IPv4 ranges. No fighting with NAT. Ability to easily have concurrent networks, for different purposes. Ability to assign multiple network addresses. Internally, it "just works" on basically anything not an older licensing server, or LAN game. Microsoft is using it internally. Apple has been mandating MacOS and iOS apps to support it for several years now. Usage over the Internet is exceeding 50% in major countries.

Where it falls short... a lot of ISPs use equipment that don't handle it well, and/or don't have the staff to implement it properly; and the ISP buyouts and mergers here in the US of the past 15-20 years REALLY messed up the timeline on adoption. Cloud services, a lot of the stuff Google & Microsoft built up their public offerings on, they were designed largely on older virtualization setups that precluded how IPv6 works, until recently; same goes for Docker & Kubernetes. A lot of VPS hosts support it just fine; but a lot of businesses aren't leveraging those, as they could be. And lastly... a lot of IT guys still don't care for IPv6; as those biases show up in these & on Reddit; so that perpetuates the cycle.

Re: Tell HN: IPv6-only still pretty much unusable

#460
post #174

Earlier quoted context omitted.

What makes you think that, for critical systems, "IPv4 + NAT + bad firewall" is the default IPv4 deployment paradigm, rather than "IPV4 + bad firewall"? Sure, big IaaS providers like AWS put you in a VPC by default. But most servers on the net are not hosted in an IaaS; they're hosted using a VPS or bare-metal hosting provider, or just coloed in a DC by their owner. And in all those cases, what that kind of deploymen…

While I don't have any factual proof to refute your statements, in my personal experience almost every organization uses NAT & RFC1918 address space. The only client I can think of in my 20 years of experience that used a public IPv4 per VM/machine was the DoD, specifically, the U.S. Army. From your very last statement, I think you've confused self hosting (like buying a VPS from Digital Ocean and hosting your own bl…

My company runs an API SaaS; my impressions come from a hobby I have of looking up the hosting providers behind our customer IPs as seen in our request logs (to find out what people think is a good idea for hosting a production web- or mobile-app service backend these days.)

By and large, our very-much "real world" customers are "self hosting" — usually on bare metal rather than a VPS, and usually with providers you've probably never heard of (ColoCrossing and ServerMania seem to come up fairly often among our US-based customers.) These hosting providers are all very much in the style of "you lease each machine as a separate contract; each machine gets one public IPv4 address included in the cost; private networking [i.e. an explicit VLAN] is an extra optional feature you can enable after the fact, and only works between higher-end machine types, rather than being a given, because our lower-end machines only have a single NIC in them [besides the one that's part of the BMC used for IPMI]."

What I assume is happening here isn't literal "self hosting" — these random non-IT-oriented customers wouldn't know the first thing about it — but rather that a given customer of ours has paid some "vertically-integrated IT consultancy" to both build and host their service for them; and said consultancy has chosen to use bare-metal hosting to host the resulting service, to minimize their own OpEx, and therefore maximize their margins. (In fact, I bet they're often packing several such customers onto a single box.)

---

Also, in a more professional capacity, I investigate the hosts behind IP addresses behind bulk-registration / DDoS attacks against our platform, in order to create signatures for them. Given the way some of these attacks seem to work, a large number of machines on the Internet — especially in Russia and [some parts of] Africa — seemingly aren't only un-NATed, but in fact have a public /24 or even /22 directly attached to a single box! (If traffic was originating from a random subset of a /24, it could just be someone spinning up a hundred VMs on top of some small colo's OpenStack deployment, sure. But tandem traffic from every IP in a /24, and only exactly said /24? That looks pretty much exactly like the sort of tandem IPv6 traffic that is generated when a box has a /48 or /56 assigned to it.)

Post reply on HN