top | item 37551820

(no title)

malikNF | 2 years ago

Question for the networking folk here. How can the rest of us help move things over to ipv6?

discuss

order

viraptor|2 years ago

If your ISP provides the ipv6 option but doesn't turn it on by default, turn in on. If they don't call them periodically and ask for IPv6 support.

If you run only online service, enable ipv6 on it.

Basically, help move the needle on the chicken and egg issue of adoption. Move more traffic to v6 as much as you have control over.

jiggawatts|2 years ago

To add to this:

Most content distribution networks (CDNs) support IPv6 even if the back-end is IPv4. For most web sites, a CDN is a good idea in general, so just use one.

For developers: don't hard-code IPv4 as an assumption. E.g.: don't validate network addresses with an IPv4-only regex, and don't store addresses into a 32-bit unsigned integer. Most SDKs and APIs have supported IPv4/IPv6 dual-mode addresses for like... two decades by default. Just don't... undo... all that effort!

Generally: Use DNS instead of IP addresses. Do it properly by respecting TTLs and using multiple upstream DNS servers in a fast failover configuration. This is not the default in many systems, especially Linux distros used in servers. Many admins "prefer" raw IP addresses because they think "DNS is unreliable". It isn't, it's just the default config that's poor.

irrational|2 years ago

I’ve been hearing about ipv4 running out and the need to move to ipv6 for so many years/decades, but it keeps not happening. I’m wondering if anything will change in my lifetime.

kmeisthax|2 years ago

IPv4 ran out a decade ago, the only reason why it continues to work at all is because of two things:

- Compatibility bridges for v6-only hosts to connect to v4 servers

- The IP address market encouraging old v4 allocation owners to sell off their space (at the expense of a bloated routing table)

In 2009, IANA and the RIRs created a process for buying and selling IP addresses. Which is something they never wanted to allow, but their hand was forced by the abysmal levels of v6 adoption back then. Two years later IANA would allocate the last /8s, and the RIRs that got those allocations would exhaust them in the years following[1]. The only virgin v4 address space remaining is reserved specifically for ISPs setting up v4 compatibility for native v6 networks.

You did not notice this because the v6 transition has already happened, and it was boring. In 2023, Google reports 40-45% v6 adoption[0]. This is largely due to LTE making v6 a mandatory feature. Had we kept mobile traffic on v4, networks would've adopted shedloads of CGNAT, and even then that hits a wall when you start running out of ephemeral ports to disguise addressing information inside of. This would have resulted in significantly worse behavior for smartphone users, especially in heavily populated countries like India (which have far higher v6 utilization).

[0] https://www.google.com/intl/en/ipv6/statistics.html#tab=ipv6...

[1] https://en.wikipedia.org/wiki/IPv4_address_exhaustion

antientropic|2 years ago

> but it keeps not happening

The article you're responding to is a dramatic demonstration that it has happened: Amazon's IPs would not be worth $4.5B if we hadn't run out. It requires us all to ration a resource (namely numbers) that should be near-infinite and essentially free.

sambazi|2 years ago

ipv6 is _the_ mobile and india internet, mostly.

iphones are v6 only as are indian consumer connections.

yyyk|2 years ago

There's no reason for the 'rest of us' to do anything. Prices will move enough users out to ipv6 so that the ipv4 market will always be in equilibrium. Due to particular reasons (specific design of ipv6, human population maxing out at about 10bil, main users getting their own ipv4 addresses already) ipv4 will never entirely go away - which is not something we should care about.

wmf|2 years ago

Just wait. The people who don't already support IPv6 can't really be influenced.

preisschild|2 years ago

Make sure your ISP already configures IPv6 correctly and if not write them.

SSLy|2 years ago

My ISP (Liberty Global) did configure IPv6 but then made your IPv4 to be a CGNAT ending in next state over.

Sigh

CameronNemo|2 years ago

NAT64 and DNS64 can help your v6-only hosts cope with the ubiquity of v4-only hosts.