ipv6 in FreeBSD 9

Yuri Pankov yuri.pankov at gmail.com
Sat Jan 14 17:12:17 UTC 2012


On Sat, Jan 14, 2012 at 06:07:01PM +0100, Marco Beishuizen wrote:
> Hi,
> 
> In 8.2 ipv6 was enabled by adding ipv6_enable="YES" in rc.conf, and all 
> worked fine. In FreeBSD 9 that changed to 
> ipv6_activate_all_interfaces="YES". But now there are still some error 
> messages at boot time, and ipv6 doesn't seem to work correctly:
> 
> ...
> root: /etc/rc: WARNING: $ipv6_firewall_enable is not set properly - see 
> rc.conf(5).
> root: /etc/rc: WARNING: $ipv6_enable is not set 
> properly - see rc.conf(5).
> ...
> 
> I do not use a static IP adress, but DHCP. Wat do I need to do more 
> to enable ipv6?

This works for me:

ifconfig_em0_ipv6="inet6 accept_rtadv"
ip6addrctl_policy="ipv6_prefer"

No other IPv6-related settings done anywhere else.


Yuri


More information about the freebsd-questions mailing list