315 points · by AndrewDucker · 9y ago · 289 comments
There's a lot of cool things you can do when you don't have to worry about running out of IP addresses. A lot of complex stuff people are doing with cloud meshnets and overlay networks and bridged private networks with port forwarding and such becomes mostly moot if every VM and container can have as many dedicated real IPs as it needs to do its job.
It's also funny/weird to think about how much development effort has gone into stretching IPv4. NAT, port forwarding, SNI (and some hacky other SSL tricks before that to fit multiple SSL sites on one IP), masquerading, tunneling, VPNs, etc. The list is incredibly long and the hours spent on development unfathomable.
If your upstream provider doesn't support IPV6, you can't do anything to help that besides complain about it and hope they provide it one day.
And according to Google's graph I'd say we're about 5 years away from reaching 40%.
I would love a network where there are no bridges and every mote of dust (or VM) has an ip, but if I cannot buy the addresses, what good does it do me?
So I don't think we're gonna see adoption in Western countries that soon.
Here's an IPv4 map for comparison: https://www.jessevaughn.com/images/ipv4_map_of_the_internet....
India, Japan, Brazil, and Australia also rank relatively high.
Keep in mind some of the largest US ISPs (like Comcast) are offering native dual stack now by default. You'd have to go out of your way to disable it.
Edit: Cell phone carriers are a big driver of this as well, both Tmobile and Verizon are majority IPv6 according to [0].
[0] https://en.wikipedia.org/wiki/IPv6_deployment#United_States
BT before you down vote me I used to work in international networking for BT so I know what I am talking about when it comes to interoperability
How is it a "killer"? IPv6 is gaining traction now and gaining it rapidly and looks to be a clear trajectory to become ubiquitous. And hacks like NAT allowed enough runway for this to happen. What exactly is the problem?
NAT64 - October 2010
DNS64 - April 2011
464XLAT - April 2013
Do you mean v6 tunnel brokers? That's a response to not supporting native v6, not running out of v4 space.
My point is that the IPv4 IP shortage is like the ocean and we're all fish swiming around in it. We don't see the water because it's all around us. But, it's shaped our thinking about networks in real ways that most people working in the field today have never had an "every device has a unique address" mindset. The inventors of the internet and some of the greatest innovators of networking existed in a world where "every device is addressable". I think that's a major difference in mindset and I think it has consequences.
All that stuff is mostly done for security purposes, not because we ran out of IP addresses. (And before you reply: yes, it really works and is a valid security tool.)
We're all mostly agreed that security-through-obscurity generally only provides a false sense of security and isn't the real deal. So, what if instead of working around an IP limit with all this complicated technology, the same folks had instead been working on good point-to-point encryption for everything all this time? And, what if all that complexity didn't have to exist in every device? Every line of code increases the likelihood of a security bug, and a network stack with all this extra stuff has a lot of extra lines of code. I dunno if NAT code has been responsible for exploits, but I'd be shocked if it hasn't.
NAT didn't come into common use for security purposes. It just didn't. It came into common use because not every company owns a big enough sub-network for every device to have an IP and no individual household does. It would require completely rewriting history to suggest NAT is and has been used primarily as a security feature.
Certainly, VPNs have a useful purpose other than dealing with the IP shortage of IPv4, but a lot of VPNs at the corporate level are used to tie two private networks together. And, a lot of development has gone into that purpose.
I'm just saying that in a world without a strictly limited set of IPs over the past decade or two, we would likely have a very different looking internet, and I think it'd be a better internet than what we have, because of how much effort has gone into dealing with the complexity of NATted/tunneled/VPNed/etc. networks.
With VPN you have more time in case of an attack, everything is encrypted by default and you only have to watch one basket of eggs.
Yes, you can theoretically migrate everyone to IPv6 and implement some sort of firewall system to block outside access, but now you're effectively duplicating NAT in IPv6. Worse, due to second-system effect you're bound to end up with something even stupider and nastier than the existing stupid and nasty NAT solutions.
Additionally, you could create a setup where every visitor dynamically get a ip address from a pool (shared between multiple websites) when asked over encrypted dns. This kind of setup would clearly be superior over SNI's plain text issue.
The biggest stumbling blocks for IPv6 are the fact that many prominent cloud services don't fully support IPv6. The biggest problems for me are Amazon S3 and Github. I end up having to pass traffic for those services through an SSH tunnel to a nearby node with both IPv4 and IPv6.
On an unrelated note, I'm happy to see that apparently my home country Belgium has one of the highest adoption levels worldwide, if not the highest.
https://aws.amazon.com/blogs/aws/now-available-ipv6-support-...
A lot of internal services, such as logs, build systems, etc, don't need public IPv4 addresses, but giving them 10.x.x.x addresses quickly becomes a burden when dealing with multiple networks.
It would be nice if providers that support IPv6-only networking would provide NAT64 gateways and DNS64 DNS servers.
rsync.net has been ipv6 accessible (the storage, not the website) for 7-8 years ...
Or have outright broken IPv6, e.g. Digital Ocean's /124
$ host -t aaaa news.ycombinator.com.cdn.cloudflare.net.
news.ycombinator.com.cdn.cloudflare.net has no AAAA record
But there's an option to turn it on, documented here: https://support.cloudflare.com/hc/en-us/articles/200168746-H...Unfortunately I can't find a link - I think they closed the issue tracker. Perhaps dang can comment? I'm typing from memory so it might be remembering incorrectly.
https://support.cloudflare.com/hc/en-us/articles/202494830-P...
Browser/device finger printing is probably the best option at the moment, but you'll get plenty of false positives amongst privacy aware users who block fingerprinting.
If the user has a static IP address, in IPv4 you ban a /32 (i.e., one address, his own). In IPv6 you'd have to ban the entire range allocated to the user, usually a /64. (edited)
If the user has a dynamic IP address, well, you're on your own. :D
HN has a system like that, but it fails because some people can still see the 'hidden' / dead posts, and for some reason they then go and point out "your comment shows up as [dead]", which defeats the purpose.
Just ban people without letting them know.
Like in theory of course I want to support IPv6, but in practice I've got a huge TODO list, and if there are present work-arounds that are doing good enough for now, I'd like to prioritise it correctly.
1) ISPs are increasingly deploying Carrier Grade NAT, which puts several people behind a single IP. This completely breaks end-to-end as you can't port forward but if you're running a website, the worst issue is if you ban an IP address, you could be cutting off several legitimate users to get rid of 1 person. It's like banning a whole country because of a few people which Wikipedia has done in the past by mistake: https://en.wikipedia.org/wiki/User_talk:82.148.97.69 see https://techcrunch.com/2007/01/01/wikipedia-bans-qatar/ This problem will only get worse as time goes on. The Internet is starting to feel broken when an entire country shares a single IP address.
2) In some cases, ISPs might address the shortage slightly differently, by serving up an IPv6 address that proxies back to your website over IPv4. To you it looks like Carrier Grade NAT, but you can actually do this yourself if you have an IPv6 enabled server (Linode, DigitalOcean work) and use nginx to reverse proxy. That way you can at-least set an X-Forwarded-For header that will give you better analytics and more precise blocking. Either you do it or the ISP will do it for you but give absolutely no data.
Carrier grade NAT breaks a lot of things in subtle ways. E.g. our ISP does DS-Lite to encapsulate IPv4 in IPv6. For months, our internet connection would sometimes seem dead for a couple of minutes. The router was fine and had uplink.
At some point I figured out that it often happened after a device woke from sleep and that IPv6 continued to work fine. It turns out that Bittorrent Sync was culprit. When a device woke up, BTSync syncs any changes and opens a boatload of connections through different ports. Apparently, the ISP's carrier grade NAT has some QoS where it starts dropping connections if too many ports are opened at the same time.
We shut down BTSync on all devices and never encountered the problem again [1].
At the time Bittorrent Inc. and later Resilio did not really seem interested to add IPv6 support.
[1] Of course, another theory is that they intentionally throttle Bittorrent traffic, but that doesn't explain why no IPv4 connections could be made while IPv6 worked fine.
At work, only parts of our network do IPv6, 5 years later. Enterprise stuff is slow to change. :(
Not really, UnityMedia Germany is also owned by Liberty Global and we have had IPv6 for years (since I moved here in 2013).
For most ISP's today, enabling IPv6 is just a matter of a lot of reconfiguration and then a bunch of testing.
This kinda stuff is clearly madness.
Also, that easily generates petabytes of logs, so it's not really cheap either.
Edit: Answered my own question -- it looks like the data specify access daily, not what I assumed was overall adoption. This does present some interesting patterns, however. For instance, noting that there's a peak weekly on Friday and bottom out on Monday, one might be able to make a conclusion about workplace adoption versus home usage.
They are an early adopter and innovator of IPv6, partly because they had more modems in their private network than the number of all possible 10.x addresses.
https://en.m.wikipedia.org/wiki/List_of_countries_by_IPv4_ad...
This is a disaster. Half the world is not yet online. If we're going to change that, then we need to move to ipv6, and soon.
> Has anyone tried running IPv6 in AWS? It kinda seems like using it for containers is still very messy. IPs are assigned via DHCPv6 and you cannot actually turn off src/dest checking, so to assign public IPv6 address on each container, you would need to assign each IP address one by one on the interface via AWS API and use a hook in host's DHCPv6 client that adds the IPv6 address to NDP proxy (not 100% sure if this is required) and disables assigning it to interface. With this, you would get 10-30 IPv6 addresses per interface and with some additional hacks to use multiple interfaces you could possibly get 240 IPv6 addresses per instance on larger instances (or well, 16xlarge instances give 15*50)
Though admittedly even if there was a support for getting prefixes to instances, it would still take time for other things to get support for it (e.g. Kubernetes)
As you mention in your other post it really is the "billion dollar mistake", it's obvious to me in hindsight that they should have made IPv6 completely backwards compatible with IPv4, no matter the cost. Have a deprecation procedure later on if you want to remove the hacks necessary to support IPv4. Have a clear and simple upgrade path, one step at a time.
Sure, having a clean new standard is compelling but clearly it's making things way more difficult that they ought to be. And that's how we end up more than 20 years after RFC1883 was released with "barely" 20% adoption. NATing was easier than IPv6, so people NAT'ed everything and the internet became the net.
It's not a matter of cost, it's simply impossible.
IPv4 has a 32 bit field for the source address and a 32 bit field for the destination address, and every connection over IP needs to send packets back and forth between the two addresses. As soon as one party has a longer address, the other party has to know how to handle that, otherwise, they cannot possibly communicate.
The only point where compatibility would be possible to some degree is the network, but (a) that compatibility is in effect a tunnel, and there are lots of ways to tunnel IPv6 over IPv4 just fine, and (b) most of the global internet supports IPv6 just fine, and has been for a long time. The problem is the migration of the endpoints, not so much the network.
Why? ipv6 is so much better than ipv4 it's insane that we're even discussing this.
It also sucks at having software/hardware stacks nearly as well debugged as those for ipv4, which means running ipv6 at all is a security risk.
Nobody would switch for sundry technical advantages. The main driver for conversion is that ipv4 addresses are scarce. As soon as "we" seriously "move to ipv6", however, the scarcity driven pressure to convert is relieved. We're bound to reach an equilibrium that will include ipv4 for a long time, possibly forever.
* If you store IP addresses ensure that you can store IPv6 address if necessary.
* Rent servers only from IPv6 capable providers.
* When configuring DNS don't forget AAAA records.
* If you ban users by IP you might need to ban entire IPv6 subnets.
Except you might want to actually configure IPv6 on any backend servers you run and add IPv6 DNS records so that your client software can actually use IPv6.
If you write low level sockets you at least need to be aware of both when you connect the sockets. The easiest is a server as you just need to listen for connections on two sockets. When connecting you should be aware of cases where it seems like either protocol will work, but in fact one is broken (generally this means the local machine supports ipv6 but the network is not connected - it is common to ignore this, but you will get support requests because of it unless you implement a try both scheme). Either way once communication is established there is no real difference in the code.
The above is the common case. If you need to do more than communicate it can get complex quickly. In general I wouldn't use raw sockets unless you actually need to do something complex enough that no existing wrapper will work for you (performance alone is reason to use raw sockets if you have profile data to prove it). However since I don't know your domain I cannot suggest how complex your code will need to be to support both.
The router in question got several firmware updates where changelog mentioned an unspecified "IPv6 fix", but none fixed the issue for me. Finally I just gave up and bought a new one from a different vendor.
https://www.tablix.org/~avian/blog/archives/2017/04/ipv6_pro...
What's the advantage of having an ipv6 home lan? I think for a home network the 192.168.0.0 subnet should be more than enough. Or am I missing something?
A partial list:
* Streaming music - because you can't connect to your music collection at home
* drop box - because neither you or the person you shared with can direct connect
* power/solar monitoring - cloud service because you can't connect to your system
* IoT/Dropcams/Nest thermostats - require cloud services... because your phone/tablet/desktop can't connect to your clients automatically
* security services, garage door control, smart home - another cloud service because you can't monitor/control directly.
* netflix - can't connect to your home plex
* skype (after they ditched p2p), google hangouts etc - requires cloud because the clients can't connect to each other
* pretty much every chat client - central servers because you can't direct connect.IRC had servers decades before IPv4 address scarcity became a thing.
Skype was popular before they had to ditch P2P, and most users aren't aware of the issue.
DropBox is first and foremost a backup service, and you always want backup to be off-premise.
[..]
Cloud services are awesome and we would all use them even if we could accept incoming connections.
- streaming music - you pay Spotify for it's browsing and discovery services and the fact that you don't pay for every album you would like to listen to. Not to access "my music collection at home". Quite frankly it doesn't seem to me you can even do that on Spotify, but I may be wrong.
- power/solar monitoring - you would need a server which would specifically handle the metric collection and make decisions upon this. Obviously cloud is cheaper than a separate box stationed in your house.
- IoT/Dropcams/Nest thermostats - Philips Hue doesn't work through cloud since it doesn't have to. Dropcams are usually a separate device which does not provide server capabilities per se - so require a box.
- security services, garage door control, smart home - all of that is controllable directly, but I am not going to start on how much you will be overpaying for every of the devices for them to have a separate fully-functional IP stack that is easily connected to a (W)LAN (wi-fi, ethernet, bluetooth - all of that is either expensive, bulky or power-hungry). So a box/cloud is always a solution.
- netflix - same points as Spotify. You don't pay them to manage your collection, you pay them to have access to a constantly curated list of newly available items.
- skype, google hangouts, etc. - please do show everyone how to create a chat service that would allow me to chat with anyone I would like to without having to resort to a centralised storage of identities and at the same time solve the issue of spam.
You could, for example, configure the firewall to give access to your IoT fridge, camera, baby monitor and toaster's web interfaces, all on port 80. With IPv4 NAT, you'd need to remember a port number for all but one of these services.
You can more easily accept an incoming connection, whether that's for gaming, video chat, P2P file sharing, etc. The computer knows its own address.
If the ISP is so short of IPv4 addresses that even the router only gets a private address (so, two layers of NAT), then without IPv6 there's no way to set up any type of server.
The IPv6 firewall user interface (my router calls it "pinholes") is simpler than the IPv4 port forwarding interface.
Of course for most users it's going to make no difference at the moment, but for those who need it, it is useful.
You might want to run apps that benefit from robust P2P connectivity, like VoIP or WebRTC apps.
You might use a VPN to connect to another network and get addressing conflicts.
The issues were generally around the OS prioritizing IPv6 over IPv4 which a lot of applications aren't ready for.
I know IPv6 is more secure, better, conditions your hair for you, but I am not excited to move IPv6 forward with our network.
If the application doesn't explicitly request IPv6, it doesn't get IPv6.
So, my noob advice: If you ask for a guide about IPv6, it's not for you yet.
Beware though, some ISPs may switch to CGNAT via DS-Lite for IPv4 when they change you to a IPv6 setup.
As well as Verizon Wireless and T-Mobile wireless. Mobile usage is huge.
Mods, please fix the title?
You don't know that, even when you count in more Chinese people it could still not change the world average. The title is fine since it represents an extremely big sample on the most visited page on the Internet.
http://www.techrepublic.com/blog/10-things/10-things-you-sho...
Since it is such a low level issue and implies a lot of software and hardware, I would not be surprised to not see it progress fast enough.
https://cloud.google.com/compute/docs/load-balancing/ipv6 https://cloudplatform.googleblog.com/2010/07/app-engine-and-... https://cloudplatform.googleblog.com/2014/11/cloudsql-instan... https://googlecloudplatform.uservoice.com/forums/302595-comp...
Source (click on per country tab)
https://www.google.com/intl/en/ipv6/statistics.html#tab=per-country-ipv6-adoptionI thought 20% of IPv6 went down or something.
It used to double every ten to twelve months, the last two doublings took fifteen (IIRC) and nineteen months. 40% around October 2019, then?
The only major ISP that has tried to enable IPv6 is Orange. They did so by putting people in a DS-Lite connection. This is, CG-NAT for IPv4 and real IPv6 connectivity. Result: now everybody thinks "IPv6 sucks because it means I won't have an external IPv4 address". So they stopped the IPv6 programme.
The other two major ISPs also are ready. They just have to flip the switch.
That said... I bet most of the CPEs that are currently deployed have no IPv6 capability. The only ones that work with IPv6 are usually the fibre CPEs, which are more modern, by definition.
IPv6 is simply a failure, especially if you, as an ISP, can afford to buy all the IPv4 addresses you need. And that's what happens in Spain for the three major ISPs: they have all the IP addresses they need, so there is no need at all for them to switch to IPv6. In fact, they are using this as a weapon against the new ISPs: one of the three major ISPs mocked a smaller one for having their clients behind a CG-NAT, which is something they had to do that because they simply have no IPv4 addresses.
Our government forces the biggest ISP to share its last mile infrastructure with every ISP that wants to use it, so my question is, why doesn't the government force the big ISPs to share their IPv4 address pools?
Years ago they used to put a modem instead of a router in every home, the modem had three ports with each of them being assigned a public ip address.