Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2011 00:31:28 +0200
From:      Thomas Steen Rasmussen <thomas@gibfest.dk>
To:        freebsd-current@freebsd.org
Subject:   9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces="YES"
Message-ID:  <4E9766C0.1020409@gibfest.dk>

next in thread | raw e-mail | index | archive | help
Hello list,

I just upgraded my home workstation to 9.0-beta3 amd64. It seems
like my web browsers are preferring ipv4 over ipv6 after the upgrade,
I tested Firefox and Opera. After digging into rc.conf(5) I found this bit:

     If ``AUTO'' is specified, it attempts to read a file
     /etc/ip6addrctl.conf first.  If this file is found,
     ip6addrctl(8) reads and installs it.  If not found, a policy
     is automatically set according to
     ipv6_activate_all_interfaces variable; if the variable is set
     to ``YES'' the IPv6-preferred one is used.  Otherwise
     IPv4-preferred.

     The default value of ip6addrctl_enable and ip6addrctl_policy
     are ``YES'' and ``AUTO'', respectively.

I already have ipv6_activate_all_interfaces="YES" in /etc/rc.conf
so ip6addrctl_policy _should_ be "ip6addrctl_policy" if I am reading
this correctly. But my browsers still prefer ipv4. Is this a bug, or
do the manpage need updating ?

Before the upgrade to 9 I was running 8-stable which preferred
ipv6 like I would expect.

Thank you in advance,

Thomas Steen Rasmussen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E9766C0.1020409>