Received: with ECARTIS (v1.0.0; list netdev); Sat, 04 Jan 2003 10:29:48 -0800 (PST) Received: from u.domain.uli (ja.mac.ssi.bg [217.79.71.194]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h04ITf3v010135 for ; Sat, 4 Jan 2003 10:29:44 -0800 Received: from localhost (IDENT:ja@localhost [127.0.0.1]) by u.domain.uli (8.11.6/8.11.6) with ESMTP id h04Iaco06455; Sat, 4 Jan 2003 20:36:38 +0200 Date: Sat, 4 Jan 2003 20:36:38 +0200 (EET) From: Julian Anastasov X-X-Sender: ja@u.domain.uli To: jamal cc: Donald Becker , Ben Greear , Jeff Garzik , Alexandre Cassen , Subject: Re: SIOCADDMULTI for unicast broken In-Reply-To: <20030104122619.R48869@shell.cyberus.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 1461 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: ja@ssi.bg Precedence: bulk X-list: netdev Hello, On Sat, 4 Jan 2003, jamal wrote: > > > And btw, i didnt even open up the whole can of worms - we also need to > > > respond back with proper MAC addresses to ARPs and packets sourced with > > > specific virtual router IPs. This is a seprate problem. > > > > Yup, a whole can of worms if you want it to be a general feature handled > > by the kernel... > > > > I think hacking the ARP code to do this would be horrible - one way to do > it is write a tc module that mungles outgoing ARPs to substitute the src > MAC address based on src IP. You can do it with arptables (still not sure how) or with arprules+iparp: # send all our requests from VRIP with VMAC ip arp add table output from 1.2.3.4 llsrc 00:00:5E:00:01:10 http://www.ssi.bg/~ja/#iparp But this is not enough for VRRP. For Linux we need a way to bind VRIPs to source VMACs or sort of this. I'm cc-ing to Alexandre Cassen as he is working on VRRP (http://keepalived.sourceforge.net/). I hope he can shed some light on the VRRP needs. > cheers, > jamal Regards -- Julian Anastasov