Live data from Hacker News

Enabling IPv6 support for IPv4-only apps on Linux

blog.apnic.net

11–20 of 199 posts

Re: Enabling IPv6 support for IPv4-only apps on Linux

#11

Super cool! I tried doing a pure IPv6 network a little over a decade ago; Maybe I’ll try it again. Though, my cheap IoT devices likely still need IPv4… but perhaps not internet connectivity. It might be fun to explore just how much IPv4 continues to be ingrained into cheap Things (eg: Arduino WiFI?) There always seems to be a long tail of small places where IPv4 pops straight back into the equation.

Small places? When I disabled IPv4 a few weeks ago, I couldn't use: HN, GitHub, Reddit, Discord, Duckduckgo.

Almost sounds like a productivity enhancement.

Re: Enabling IPv6 support for IPv4-only apps on Linux

#13

Super cool! I tried doing a pure IPv6 network a little over a decade ago; Maybe I’ll try it again. Though, my cheap IoT devices likely still need IPv4… but perhaps not internet connectivity. It might be fun to explore just how much IPv4 continues to be ingrained into cheap Things (eg: Arduino WiFI?) There always seems to be a long tail of small places where IPv4 pops straight back into the equation.

Small places? When I disabled IPv4 a few weeks ago, I couldn't use: HN, GitHub, Reddit, Discord, Duckduckgo.

Also Android doesn't support DHCPv6

Re: Enabling IPv6 support for IPv4-only apps on Linux

#14

Earlier quoted context omitted.

Small places? When I disabled IPv4 a few weeks ago, I couldn't use: HN, GitHub, Reddit, Discord, Duckduckgo.

Also Android doesn't support DHCPv6

What's the benefit of DHCPv6 over SLAAC (genuine question, never looked into DHCPv6 at all)

Re: Enabling IPv6 support for IPv4-only apps on Linux

#15

Super cool! I tried doing a pure IPv6 network a little over a decade ago; Maybe I’ll try it again. Though, my cheap IoT devices likely still need IPv4… but perhaps not internet connectivity. It might be fun to explore just how much IPv4 continues to be ingrained into cheap Things (eg: Arduino WiFI?) There always seems to be a long tail of small places where IPv4 pops straight back into the equation.

plus these individual devices will live for a long time.

I recently had to setup a non-encrypted website because I have a few old devices that can no longer do HTTPS.

IPv4 on local networks will probably exist for a very long time.

Re: Enabling IPv6 support for IPv4-only apps on Linux

#17
post #12

ssh 64:ff9b::1.3.3.7 What address syntax is that? I mean I can easily guess what it means, but I wasn't aware such mixture exists. Do connect(2) and friends support that?

It's an IPv4-mapped IPv6 address. Just interpret the IPv4 address like it's the last 32 bits of the v6 address.

In the example, 64:ff9b::103:307 is equivalent. A more complicated example might be akin to 64:ff9b::198.51.100.231, equivalent to 64:ff9b::c633:64e7.

Re: Enabling IPv6 support for IPv4-only apps on Linux

#18

Super cool! I tried doing a pure IPv6 network a little over a decade ago; Maybe I’ll try it again. Though, my cheap IoT devices likely still need IPv4… but perhaps not internet connectivity. It might be fun to explore just how much IPv4 continues to be ingrained into cheap Things (eg: Arduino WiFI?) There always seems to be a long tail of small places where IPv4 pops straight back into the equation.

Small places? When I disabled IPv4 a few weeks ago, I couldn't use: HN, GitHub, Reddit, Discord, Duckduckgo.

Those all work for me, on my v6-only desktop. (I don't use Discord, but their homepage loads at least.)

None of those sites have v6 though, so you'll need some form of backwards compatibility running to reach them. Presumably you were missing that.

Re: Enabling IPv6 support for IPv4-only apps on Linux

#19

Earlier quoted context omitted.

Also Android doesn't support DHCPv6

What's the benefit of DHCPv6 over SLAAC (genuine question, never looked into DHCPv6 at all)

You can do finer-grained subnets with DHCP than SLAAC will give you.

Re: Enabling IPv6 support for IPv4-only apps on Linux

#20

"To prove that IPv6 is ready for production use, I built a second PC so I can access the IPv4 Internet"

This is actually a very good workaround/transition mechanism, because it lets you go fully IPv6 native, keeping the translation layer for things that absolutely must use IPv4.

And after transition is done, in theory, all you’d do would be turn off the translation box. In practice you’ll have to keep it up until the end of days, but that’s a separate matter.

Post reply on HN