From owner-freebsd-net@FreeBSD.ORG Thu Mar 18 22:45:12 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D71A71065676 for ; Thu, 18 Mar 2010 22:45:12 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [212.12.50.234]) by mx1.freebsd.org (Postfix) with ESMTP id A051C8FC14 for ; Thu, 18 Mar 2010 22:45:12 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 542EC53783; Thu, 18 Mar 2010 22:27:44 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: <20091211065141.GL88840@marvin.timesinks.net> Date: Thu, 18 Mar 2010 23:27:43 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091211052349.0000517a@unknown> <20091211065141.GL88840@marvin.timesinks.net> To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: Andrew Thompson Subject: Re: Running rtadvd or DHCPv6 server via if_bridge interface 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, 18 Mar 2010 22:45:12 -0000 Am 11.12.2009 um 07:51 schrieb Chris Cowart: > Bruce Cran wrote: >> I have a router configured using if_bridge with a 4-port NIC that's >> serving addresses over DHCP. I'd like to add in either rtadvd or >> DHCPv6, but neither work because the bridge interface doesn't have an >> IPv6 link-local address. Is there a way around this, or is it not >> possible to serve IPv6 addresses over if_bridge interfaces? >=20 > It's totally doable; you just have to assigned a link-local address to > the bridge. There are some reasons why one isn't defined by default, > which somebody more knowledgeable about the challenges in the > implementation can highlight. >=20 > Here's my configuration from rc.conf: >=20 > ipv6_ifconfig_bridge0=3D"2001:470:8337:10::1/64" > ipv6_ifconfig_bridge0_alias0=3D"fe80::2%bridge0 prefixlen 64" >=20 > Once you're doing that, rtadvd will start doing the right thing. I've just stumbled over this the first time. I thought that best practice nowadays was to use the bridge interface = for host communications, and leaving the physical interfaces = unconfigured, so I'm a bit confused why if_bridge would not allow the = auto-assignment of a link-local address. If you have two or more bridged interfaces now, and you enable automatic = assignment of link-local addresses, you already have multiple = link-locals this way; having the bridge have one as well wouldn't make = things worse (I think). Slightly confused, Stefan --=20 Stefan Bethke Fon +49 151 14070811