From owner-freebsd-net@FreeBSD.ORG Sun Apr 29 21:42:57 2012 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 112D7106566B; Sun, 29 Apr 2012 21:42:57 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6B09D8FC0A; Sun, 29 Apr 2012 21:42:56 +0000 (UTC) Received: from alph.allbsd.org (p4242-ipbf1504funabasi.chiba.ocn.ne.jp [118.7.211.242]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id q3TLgaNa008044; Mon, 30 Apr 2012 06:42:46 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id q3TLgYbY059724; Mon, 30 Apr 2012 06:42:36 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 30 Apr 2012 06:42:29 +0900 (JST) Message-Id: <20120430.064229.855968812732421988.hrs@allbsd.org> To: lev@FreeBSD.org From: Hiroki Sato In-Reply-To: <1606941405.20120429170656@serebryakov.spb.ru> References: <1606941405.20120429170656@serebryakov.spb.ru> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.4.50 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Apr_30_06_42_29_2012_929)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.3 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [133.31.130.32]); Mon, 30 Apr 2012 06:42:50 +0900 (JST) X-Spam-Status: No, score=-101.9 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT,FSL_RU_URL,RCVD_IN_RP_RNBL,SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.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? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 21:42:57 -0000 ----Security_Multipart(Mon_Apr_30_06_42_29_2012_929)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lev Serebryakov 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)----