To tell your FreeBSD installation to prefer IPv6 over IPv4, add the following line to your rc.conf file:
ip6addrctl_policy=”ipv6_prefer”
And you can activate it without a reboot by typing:
service ip6addrctl start
This instructs FreeBSD to prefer IPv6 over IPv4 where possible (and falling back to IPv4 when needed)