Should I be using ipv6_activate_all_interfaces or ip6addrctl_policy="ipv6_prefer"
freebsd at jonathanprice.org
freebsd at jonathanprice.org
Tue Aug 26 10:48:21 UTC 2014
Hello,
I am configuring a server with IPv4 and IPv6 addresses and have noticed that FreeBSD seems to be preferring IPv4, such as when establishing SSH connections.
After reading through /etc/defaults/rc.conf, and later /etc/rc.d/ip6addrctl I have come to the conclusion that I have two ways to tell FreeBSD to prefer IPv6:
1) Add ipv6_activate_all_interfaces to /etc/rc.conf
2) Add ip6addrctl_policy="ipv6_prefer" to /etc/rc.conf
Could anybody with a little more knowledge on the matter explain to me which of the two options is more preferential?
If it helps, I only have a single NIC in the server, and it does not function as a gateway.
Thanks,
Jonathan.
(I do apologise if this email ends up being sent as HTML. I haven't tried sending plaintext from this particular webmail client before).
More information about the freebsd-net
mailing list