Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271255AbTHRFi0 (ORCPT ); Mon, 18 Aug 2003 01:38:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271264AbTHRFiZ (ORCPT ); Mon, 18 Aug 2003 01:38:25 -0400 Received: from pizda.ninka.net ([216.101.162.242]:48105 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id S271255AbTHRFiX (ORCPT ); Mon, 18 Aug 2003 01:38:23 -0400 Date: Sun, 17 Aug 2003 22:31:18 -0700 From: "David S. Miller" To: Willy Tarreau Cc: alan@lxorguk.ukuu.org.uk, carlosev@newipnet.com, lamont@scriptkiddie.org, davidsen@tmr.com, bloemsaa@xs4all.nl, marcelo@conectiva.com.br, netdev@oss.sgi.com, linux-net@vger.kernel.org, layes@loran.com, torvalds@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [2.4 PATCH] bugfix: ARP respond on all devices Message-Id: <20030817223118.3cbc497c.davem@redhat.com> In-Reply-To: <20030817224849.GB734@alpha.home.local> References: <20030728213933.F81299@coredump.scriptkiddie.org> <200308171509570955.003E4FEC@192.168.128.16> <200308171516090038.0043F977@192.168.128.16> <1061127715.21885.35.camel@dhcp23.swansea.linux.org.uk> <200308171555280781.0067FB36@192.168.128.16> <1061134091.21886.40.camel@dhcp23.swansea.linux.org.uk> <200308171759540391.00AA8CAB@192.168.128.16> <1061137577.21885.50.camel@dhcp23.swansea.linux.org.uk> <200308171827130739.00C3905F@192.168.128.16> <1061141045.21885.74.camel@dhcp23.swansea.linux.org.uk> <20030817224849.GB734@alpha.home.local> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.6; sparc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 24 On Mon, 18 Aug 2003 00:48:49 +0200 Willy Tarreau wrote: > On Sun, Aug 17, 2003 at 06:24:06PM +0100, Alan Cox wrote: > > > So stick the address on eth0 not on lo since its not a loopback but an eth0 > > address, then use arpfilter so you don't arp for the invalid magic shared IP > > address, or NAT it, or it may work to do > > > > ip route add nexthop-addr src my-virtual-addr dev eth0 scope local onlink > > ip route add default src my-virtual-addr via nexthop-addr dev eth0 scope global > > I have a case where this doesn't work Replying again... Alan does mention in the paragraph you've quoted to use arpfilter, which works for every case imaginable. The facilities to solve these problems are there, people simply don't want to use them. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/