9.0-beta3 preferring ipv4 over ipv6 with
ipv6_activate_all_interfaces="YES"
Hiroki Sato
hrs at FreeBSD.org
Fri Oct 14 00:53:08 UTC 2011
Thomas Steen Rasmussen <thomas at gibfest.dk> wrote
in <4E9766C0.1020409 at gibfest.dk>:
th> Hello list,
th>
th> I just upgraded my home workstation to 9.0-beta3 amd64. It seems
th> like my web browsers are preferring ipv4 over ipv6 after the upgrade,
th> I tested Firefox and Opera. After digging into rc.conf(5) I found this bit:
th>
th> If ``AUTO'' is specified, it attempts to read a file
th> /etc/ip6addrctl.conf first. If this file is found,
th> ip6addrctl(8) reads and installs it. If not found, a policy
th> is automatically set according to
th> ipv6_activate_all_interfaces variable; if the variable is set
th> to ``YES'' the IPv6-preferred one is used. Otherwise
th> IPv4-preferred.
th>
th> The default value of ip6addrctl_enable and ip6addrctl_policy
th> are ``YES'' and ``AUTO'', respectively.
th>
th> I already have ipv6_activate_all_interfaces="YES" in /etc/rc.conf
th> so ip6addrctl_policy _should_ be "ip6addrctl_policy" if I am reading
th> this correctly. But my browsers still prefer ipv4. Is this a bug, or
th> do the manpage need updating ?
Can you please send me the results of the following commands:
% ifconfig
% grep ^ipv6 /etc/rc.conf
% grep ipv6= /etc/rc.conf
% ip6addrctl show
# /bin/sh -x /etc/rc.d/ip6addrctl start
-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111014/91a35716/attachment.pgp
More information about the freebsd-current
mailing list