-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2016-09-11 a las 08:51 +0200, Per Jessen escribió:
Carlos E. R. wrote:
The main problem I think people have that forces them to disable IPv6 on their installs is "slow network", or failed connections. I think the DNS tells them of a site address as an IPv6, and of course, they can not connect.
Unless they have an IPv6 route, the resolver will give preference to IPv4. I don't know how that works, but unless the resolver does that, everyone trying to access "google.com" (or any other dual-stack site) would have a problem 50% of the time.
No, the resolver is not that clever. I have seen zypper on ocassion trying an IPv6 mirror and responding "no route", when there are other addresses on IPv4.
Something really is that clever. I believe it is the resolver. Otherwise you would have 50% time-outs on visiting any website with IPv6. Try http://google.com or http://dns24.ch - they both have both ipv4 and ipv6 addresses. For zypper it's most likely a different issue - mirrorbrain might return an ipv6-only mirror, in which case you would see a "no route".
Sometimes the IPv4 address fails with some error, then it tries IPv6, which fails as "no route". And that's the error the user sees, not the real problem with the IPv4 address.
Instead, I configured somewhere (I forgot the file name) to say give IPv4 preference. Ah, /etc/gai.conf.
Yes, but it isn't necessary.
Things work after I changed it...
You just used a big hammer instead of figuring out the real problem. That's okay too of course, but it does not mean there is a general issue with IPv6, nor that anybody else needs to disable IPv6 or amend gai.conf.
The real problem is that I'm given an IPv6 address which the ISP does not route, and I can do nothing about it. I have not disabled IPv6, which is the big hammer people use. I have told the system to prefer IPv4, because my ISP is IPv4 only. I have no IPv6 route. - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlfVZ6EACgkQja8UbcUWM1wqDwD7B8+W0EV9gi6/QfoNOfpBAUkA f0uQkVuIZh6pNJAQIRYA/0lR0T0l78NJxDg7G6/KAWIIyahtOn85f9AM5o+Dv7Qm =oXLD -----END PGP SIGNATURE-----