IPv6 default-route - gone
John
freebsd at growveg.net
Tue Apr 3 19:18:17 UTC 2012
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
More information about the freebsd-questions
mailing list