Hetzner.de IPv6 and FreeBSD -- default gateway is on other prefix, need to add static route before default -- how?

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Thu May 3 22:35:20 UTC 2012


On 29. Apr 2012, at 21:42 , Hiroki Sato wrote:

> Lev Serebryakov <lev at freebsd.org> wrote
>  in <1606941405.20120429170656 at serebryakov.spb.ru>:
> 
> le> Hello, Freebsd-net.
> le>
> le>  "Famous" dedicated server provider Hetzner provides native IPv6 for
> le> servers, but with rather strange routing configuration: you need to
> le> configure static interface route and make this route default.
> le>
> le>  If I add such lines in /etc/rc.conf:
> le>
> le> ifconfig_re0_ipv6="inet6 2a01:4f8:131:60a2::2 prefixlen 64 auto_linklocal accept_rtadv"
> le> ipv6_static_routes="ipv6defgw"
> le> ipv6_route_ipv6defgw="2a01:4f8:131:60a0:: -prefixlen 59 -iface re0"
> le> ipv6_defaultrouter="2a01:4f8:131:60a0::1"
> le> ipv6_default_interface="re0"
> le>
> le>   It doesn't work, because default route added first and it fails to
> le> be added, as route to 2a01:4f8:131:60a0::1 is not known yet.
> 
> Why do you need to configure the default route manually?  If
> accepting RA on re0 it should be configured automatically.'

the accept_rtadv is pointless as they do not advertise - at least not yet.

-- 
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!



More information about the freebsd-net mailing list