Received: with ECARTIS (v1.0.0; list netdev); Fri, 03 Jan 2003 16:01:27 -0800 (PST) Received: from beohost.scyld.com (dsl093-058-082.blt1.dsl.speakeasy.net [66.93.58.82]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h0401K3v025663 for ; Fri, 3 Jan 2003 16:01:21 -0800 Received: from localhost (becker@localhost) by beohost.scyld.com (8.11.6/8.11.6) with ESMTP id h0407CF31101; Fri, 3 Jan 2003 19:07:13 -0500 Date: Fri, 3 Jan 2003 19:07:11 -0500 (EST) From: Donald Becker To: jamal cc: Jeff Garzik , Subject: Re: SIOCADDMULTI for unicast broken In-Reply-To: <20030103164001.S48623@shell.cyberus.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 1444 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: becker@scyld.com Precedence: bulk X-list: netdev On Fri, 3 Jan 2003, jamal wrote: > Subject: SIOCADDMULTI for unicast broken > > Some programs require ability to accept packets destined to certain > MAC addresses (in addition to their own). > Example Jerome Ettienes vrrpd (http://w3.arobas.net/~jetienne/vrrpd/) > > The trick is to add unicast addresses via SIOCADDMULTI and accept those > packets when they make their way up the stack. > I think this used to work, no? Donald, any history/comments behind > this? This is a very specialized requirement, so specialized that it should not be added as general-purpose requirement for drivers or the network stack. This capability was supported as a special case for the Tulip driver, and then only for the real 21*4* chips that had the hardware CAM capable of matching up to 16 destination addresses. A few other chips support matching unicast addresses with the multicast filter, but there is the general problem of false-accepts and chip-specific quirks that must be dealt with. Once again: this is a very specialized thing. Of the few people that think they need the capability, most are wrong. -- Donald Becker becker@scyld.com Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Scyld Beowulf cluster system Annapolis MD 21403 410-990-9993