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

Thomas Steen Rasmussen thomas at gibfest.dk
Sun Oct 16 09:48:46 UTC 2011


On 14.10.2011 10:26, Thomas Steen Rasmussen wrote:
> On 14-10-2011 10:09, Hiroki Sato wrote:
>>  Thanks.  There is no problem with the source address selection. 

I don't understand this comment. I would say that I do
have problems with the source address selection -
otherwise it would be preferring ipv6, right ?

I have tried working around this problem by adding:
ip6addrctl_policy="ipv6_prefer"
to /etc/rc.conf but I still get the same behaviour:

[tykling at tykburk ~]$ telnet www.freebsd.org 80 < /dev/null
Trying 69.147.83.34...
Connected to red.freebsd.org.
Escape character is '^]'.
Connection closed by foreign host.
[tykling at tykburk ~]$ telnet -6 www.freebsd.org 80 < /dev/null
Trying 2001:4f8:fff6::22...
Connected to red.freebsd.org.
Escape character is '^]'.
Connection closed by foreign host.
[tykling at tykburk ~]$

Does anyone know a usable workaround which I can use to
make my machine prefer ipv6 over ipv4, until this problem is fixed ?

Thanks!

Thomas Steen Rasmussen


More information about the freebsd-current mailing list