prefer ipv6 for fedora
Carmen Sandiego on Thursday, 06 May 2010 05:31:50
Back when I had a static tunnel in 2001:: space my fedora system seemed to prefer ipv6 addresses over ipv4 ones. Now that I'm using an automatic tun6to4 interface and I get a 2002:: space address, all the apps seem to prefer IPv4. Does anyone know where the decision to use one protocol vs the other is made? Can I easily switch them around?
prefer ipv6 for fedora
Jeroen Massar on Thursday, 06 May 2010 09:46:45
Depending on applications, as some do it their own way, you can configure this in /etc/gai.conf which is the getaddrinfo configuration.
But I would avoid doing that. There is a big reason why preferring native IPv6, then native IPv4, then tunneled protocols etc, was made: IPv4 will be faster.
See RFC3848 for further details.
prefer ipv6 for fedora
Carmen Sandiego on Thursday, 06 May 2010 16:25:40
Thanks! I don't think I would have found that in quite a while. Just to make it challenging Fedora-12 doesn't have a placeholder file there but it does have a man page. After skimming RFC 3484, I agree. I should keep things stock in this regard.
Posting is only allowed when you are logged in. |