Date: Mon, 29 Aug 2005 22:24:55 -0700 From: "Bruce A. Mah" <bmah@freebsd.org> To: Andrew Thompson <thompsa@freebsd.org> Cc: freebsd-net@freebsd.org, bmah@freebsd.org Subject: Re: if_bridge and IPv6? Message-ID: <1125379495.19062.37.camel@tomcat.kitchenlab.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-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<UP,RUNNING> 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<LEARNING,DISCOVER> > > > member: sis0 flags=3D3<LEARNING,DISCOVER> > >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1125379495.19062.37.camel>