Why does my system use ipv6 by default?

I recently got a new amd ryzen 3700x system with a x570 aorus pro and it’s starts using ipv6 by default in both windows and ubuntu. This causes problems for me because when I ping for example google.com it resolves to an ipv6 and does not give any response back.
Some of the game launchers I use use the same principal to check if their services are online and also start ping with ipv6 for for some reasonthey don’t get a response back, so it goes in offline mode and I can’t launch the game.

Turning off ipv6 solves the problem, but I never really had any issues with this with my old systems.

Does anyone know what causes this problem? and how I can still use ipv6 together with ipv4?

What’s your router/network setup?

In windows use “ping whatever.com -4”
Pinging ipv6 should work aswell - 6
If you don’t want ipv6 you can disable it
ipv6.disable=1 in grub Linux cmd line
Note that some ISPs only have ipv6 addresses available. Ipv4 is out of unique addresses…

I don’t think its related my own network since it works fine on all my other systems and if it was ISP related wouldn’t I have the same problem on all my systems ?
(both ipv4 and ipv6 are enabled on my other systems)

Here are a couple of wild speculations:

There may be some weird configuration on your router. Like, did you ever set up DHCPv6 or turn on some kind of whitelisting, or set up a IPv6 tunnel?

Could be complete coincidence and your ISP renumbered your IPv6 network, but your router didn’t update. Definitely try turning it off and on again. And if you made custom firewall rules for anything make sure the IPs still match reality.

Could be BitTorrent or anything similar like IPFS. I can’t run IPFS on my home network because with IPv6 (mine works fine) it makes both an IPv4 and IPv6 connection to many hosts and the thousands of connections overload my Comcast provided router/modem. It shows symptoms much like yours where mostly IPv6 stops working although IPv4 sort of randomly fails to connect also, in my case.

1 Like

Ipv6 should co exist without breakage (by design) if it has not been partially configured via auto config or dhcpv6.

Sounds like your router may be partially configured for ipv6. Check that for options and/or consult your isp.

You don’t want to turn it off everywhere on all your devices as you will need it in the future.

1 Like

Ideally, your router shouldn’t be handing out public ipv6 addresses or advertising an ipv6 default gateway if it can’t provide the connectivity.

When both ipv4 and ipv6 seem available, then there’s this thing called “happy eyeballs” algorithm that most browsers will use, and then there’s this other configuration in gai.conf in the case of glibc for things like curl and for other software.

1 Like