Hetzner.de IPv6 and FreeBSD -- default gateway is on other
prefix, need to add static route before default -- how?
Hiroki Sato
hrs at FreeBSD.org
Sun Apr 29 21:42:57 UTC 2012
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.
-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20120429/5a6e4c82/attachment.pgp
More information about the freebsd-net
mailing list