Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2012 21:12:14 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Marco Beishuizen <mbeis@xs4all.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipv6 in FreeBSD 9
Message-ID:  <20120114171214.GA1127@procyon.xvoid.org>
In-Reply-To: <alpine.BSF.2.00.1201141758220.3151@yokozuna.lan>
References:  <alpine.BSF.2.00.1201141758220.3151@yokozuna.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120114171214.GA1127>