How to disable IPv6 at FreeBSD 9.x
add to /etc/rc.conf:
# IPv6 Networking
ipv6_network_interfaces="none" # Default is auto
ipv6_activate_all_interfaces="NO" # this is the default
ip6addrctl_enable="NO" # New way to disable IPv6 support
ip6addrctl_policy="ipv4_prefer" # Use IPv4 instead of IPv6
more info here
-- vladget (Vladimir Getmanshchuk)
add to /etc/rc.conf:
# IPv6 Networking
ipv6_network_interfaces="none" # Default is auto
ipv6_activate_all_interfaces="NO" # this is the default
ip6addrctl_enable="NO" # New way to disable IPv6 support
ip6addrctl_policy="ipv4_prefer" # Use IPv4 instead of IPv6
more info here
-- vladget (Vladimir Getmanshchuk)
I don't want to disable IPv6. On the contrary, I want to adjust the precedence so that FreeBSD can prefer IPv6 instead of IPv4. Thanks for the information which directs me to ip6addrctl(8). Now my problem is solved perfectly.
ReplyDelete