Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Apr 2012 20:18:12 +0100
From:      John <freebsd@growveg.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: IPv6 default-route - gone
Message-ID:  <4F7B4CF4.6080201@growveg.net>
In-Reply-To: <20120403174051.GA2540@aurora.oekb.co.at>
References:  <20120403174051.GA2540@aurora.oekb.co.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/04/2012 18:40, Ewald Jenisch wrote:
> Hi,
> 
> After installing a new machine under FreeBSD9 I discovered that the
> IPv6-configuration I had in place with FreeBSD8 does no longer work.
> 
> Here's what I've got in /etc/rc.conf:
> ipv6_enable="YES"
> ipv6_ifconfig_em0="2001:76c:2218:2009::11/64"
> ipv6_defaultrouter="2001:76c:2218:2009::1"
> 
> The interface address correctly shows up under "ifconfig" however the
> default route doesn't seem to be installed, so I'm basically cut off
> the Internet in terms of IPv6.
> 
> Please note that the above config has worked unser FreeBSD8 - in fact
> I've got a couple of boxes under FreeBSD8 with this exact same config.
> 
> Has the IPv6-related config changed from FBSD 8 -> FBSD 9?
> 
> Thanks much in advance for any help,
> -ewald

Hi,

Yeah it's changed in 9. Here's what I have, for autoconfig use with a
tunnel:

ipv6_network_interfaces="re0"
ifconfig_re0_ipv6="inet6 accept_rtadv"
ip6addrctl_policy="ipv6_prefer"

...and it works

For static I'd have:

#ipv6_network_interfaces="re0"
#ifconfig_re0_ipv6="my_end_of_tunnel_ipv6_ip prefixlen 64"
#ipv6_defaultrouter="their_end_of_tunnel_ipv6_ip"
#ip6addrctl_policy="ipv6_prefer"

but I've not tried it static yet.
-- 
freebsd at growveg dot net



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