From owner-freebsd-net@FreeBSD.ORG Tue Aug 30 05:24:58 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5AD216A446; Tue, 30 Aug 2005 05:24:57 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 578A643D45; Tue, 30 Aug 2005 05:24:57 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from tomcat.kitchenlab.org (tomcat.kitchenlab.org [64.142.31.107]) by b.mail.sonic.net (8.13.3/8.13.3) with ESMTP id j7U5OuM6001669 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 29 Aug 2005 22:24:57 -0700 Received: from tomcat.kitchenlab.org (localhost.kitchenlab.org [127.0.0.1]) by tomcat.kitchenlab.org (8.13.3/8.13.1) with ESMTP id j7U5Ou63019682; Mon, 29 Aug 2005 22:24:56 -0700 (PDT) (envelope-from bmah@freebsd.org) Received: (from bmah@localhost) by tomcat.kitchenlab.org (8.13.3/8.13.1/Submit) id j7U5OuGj019681; Mon, 29 Aug 2005 22:24:56 -0700 (PDT) (envelope-from bmah@freebsd.org) X-Authentication-Warning: tomcat.kitchenlab.org: bmah set sender to bmah@freebsd.org using -f From: "Bruce A. Mah" To: Andrew Thompson In-Reply-To: <20050830012650.GC55642@heff.fud.org.nz> References: <1125346643.2344.31.camel@localhost> <20050829211720.GA55642@heff.fud.org.nz> <1125351478.2344.44.camel@localhost> <1125364782.19062.3.camel@tomcat.kitchenlab.org> <20050830012650.GC55642@heff.fud.org.nz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ebODyPjOwScrEmcyCHPR" Date: Mon, 29 Aug 2005 22:24:55 -0700 Message-Id: <1125379495.19062.37.camel@tomcat.kitchenlab.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: freebsd-net@freebsd.org, bmah@freebsd.org Subject: Re: if_bridge and IPv6? 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: Tue, 30 Aug 2005 05:24:58 -0000 --=-ebODyPjOwScrEmcyCHPR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable If memory serves me right, Andrew Thompson wrote: > On Mon, Aug 29, 2005 at 06:19:42PM -0700, Bruce A. Mah wrote: > > Bridging of IPv6 packets going between two hosts on either side of the > > bridge appears to work just fine (to the point where I can do ping6 and > > ssh across the bridge). > =20 > Good to hear something works :) Well, just for the record (maybe I mentioned this before) ARP and unicast IPv4 work as advertised. So yeah, something works. :-) > > > PS. Food for thought: Should bridge devices have IFF_MULTICAST set? > > > Mine doesn't. > > >=20 > > > hornet# ifconfig bridge0 > > > bridge0: flags=3D41 mtu 1500 > > > inet (foo) netmask 0xffffff00 > > > inet6 (bar) prefixlen 64 > > > ether ac:de:48:cd:e2:32 > > > priority 32768 hellotime 2 fwddelay 15 maxage 20 > > > member: sis1 flags=3D3 > > > member: sis0 flags=3D3 > >=20 > > This looks more and more suspicious to me. IPv6 ND requires multicast > > to work and there are several explicit checks for IFF_MULTICAST in the > > IPv6 output path and neighbor discovery code. >=20 > I think you are right, i'll look into it. Thanks! If I had some hacking time right now, my first attempt would be to stick this... ifp->if_flags |=3D IFF_MULTICAST; ...somewhere in bridge_clone_create(). Given how little I actually have worked with FreeBSD's network drivers, this would really be the "Hail Mary" approach and I wasn't feeling quite up to it this evening... :-p Cheers, Bruce. --=-ebODyPjOwScrEmcyCHPR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDE+2n2MoxcVugUsMRAqvbAKDLzyjF6EUgJijrViJIWcYPZoEP3gCgyrqv 3gZjhVnanx++CYna6cZqeS8= =FeHA -----END PGP SIGNATURE----- --=-ebODyPjOwScrEmcyCHPR--