From owner-freebsd-stable@FreeBSD.ORG Sun Feb 6 14:14:32 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FC58106564A for ; Sun, 6 Feb 2011 14:14:32 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 5676E8FC08 for ; Sun, 6 Feb 2011 14:14:32 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id CE894DD283; Sun, 6 Feb 2011 15:14:30 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: Date: Sun, 6 Feb 2011 15:14:29 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: spil.oss@gmail.com X-Mailer: Apple Mail (2.1082) Cc: freebsd-stable@freebsd.org Subject: Re: bridge, ipv6 and rtadvd X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 14:14:32 -0000 Am 06.02.2011 um 13:23 schrieb Spil Oss: > Hi All, >=20 > Don't know if this is expected behaviour. >=20 > My LAN (bge0) and WLAN (wlan0) are bridged in bridge0. I tried to run > rtadvd on bridge0 but that didn't result in ipv6 addresses on my > network. Tried running rtadvd directly /usr/sbin/rtadvd -c > /etc/rtadvd.conf -f -D and saw the requests coming in from the client > but that didn't result in a working ipv6 network. "Wild guessing" I > tried loading it with /usr/sbin/rtadvd -f -D bge0 and I had a > functional ipv6 network..... >=20 > Is this intended behaviour? Am I doing something wrong? It appears to be intentional; there was some discussion a couple years = back, and the current behavior is for virtual interfaces to not receive = link-local addresses. Since I prefer to have bridge0 as the "main" interface, I simply = manually configured a link local address: ipv6_enable=3D"YES" ipv6_gateway_enable=3D"YES" ipv6_network_interfaces=3D"bridge0 gif0" ipv6_ifconfig_bridge0=3D"fe80::21c:c0ff:fe7d:8c50%bridge0" ipv6_ifconfig_bridge0_alias0=3D"2001:470:1f0b:XXXX::1 prefixlen 64" ipv6_ifconfig_gif0=3D"2001:470:1f0a:XXXX::2 2001:470:1f0a:XXXX::1 = prefixlen 128" $ cat /etc/rtadvd.conf=20 bridge0:\ :addrs#1:addr=3D"2001:470:1f0b:XXXX::":raflags#64: The IPv4 side of gif0 is brought up through a linkup script triggered by = mpd when my DSL connection comes up; that also updates the endpoint = address for the HE tunnel. Oh, this is on -stable from Dec 4. HTH, Stefan --=20 Stefan Bethke Fon +49 151 14070811