Re: 9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces="YES"

From: Hiroki Sato <hrs_at_FreeBSD.org>
Date: Fri, 14 Oct 2011 09:52:18 +0900 (JST)
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

Received on Thu Oct 13 2011 - 22:53:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC