Date: Mon, 30 Apr 2012 06:42:29 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: lev@FreeBSD.org Cc: freebsd-net@FreeBSD.org Subject: Re: Hetzner.de IPv6 and FreeBSD -- default gateway is on other prefix, need to add static route before default -- how? Message-ID: <20120430.064229.855968812732421988.hrs@allbsd.org> In-Reply-To: <1606941405.20120429170656@serebryakov.spb.ru> References: <1606941405.20120429170656@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Mon_Apr_30_06_42_29_2012_929)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lev Serebryakov <lev@freebsd.org> wrote in <1606941405.20120429170656@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 ----Security_Multipart(Mon_Apr_30_06_42_29_2012_929)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk+dtcUACgkQTyzT2CeTzy0OpQCfay6ov5pi8WSFs6qBR7h77Hu7 W9UAoJPmBRmO8WuSNxlBmmyCN00lxig2 =2opH -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Apr_30_06_42_29_2012_929)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120430.064229.855968812732421988.hrs>