From owner-freebsd-net@FreeBSD.ORG Thu May 3 22:35:20 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 1905B106566C; Thu, 3 May 2012 22:35:20 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id B7F598FC17; Thu, 3 May 2012 22:35:19 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id D342125D3A82; Thu, 3 May 2012 22:35:18 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 51132BE62EF; Thu, 3 May 2012 22:35:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id Oea8vA4Yzxht; Thu, 3 May 2012 22:35:16 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 37B5BBE62EE; Thu, 3 May 2012 22:35:16 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <20120430.064229.855968812732421988.hrs@allbsd.org> Date: Thu, 3 May 2012 22:35:15 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <33D6E066-2458-4A4D-B79A-3563D5683437@lists.zabbadoz.net> References: <1606941405.20120429170656@serebryakov.spb.ru> <20120430.064229.855968812732421988.hrs@allbsd.org> To: Hiroki Sato X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@FreeBSD.org, lev@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: Thu, 03 May 2012 22:35:20 -0000 On 29. Apr 2012, at 21:42 , Hiroki Sato wrote: > Lev Serebryakov wrote > in <1606941405.20120429170656@serebryakov.spb.ru>: >=20 > 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=3D"inet6 2a01:4f8:131:60a2::2 prefixlen 64 = auto_linklocal accept_rtadv" > le> ipv6_static_routes=3D"ipv6defgw" > le> ipv6_route_ipv6defgw=3D"2a01:4f8:131:60a0:: -prefixlen 59 -iface = re0" > le> ipv6_defaultrouter=3D"2a01:4f8:131:60a0::1" > le> ipv6_default_interface=3D"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. >=20 > 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. --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do!