From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Koski Date: Mon, 04 Feb 2002 17:58:54 +0000 Subject: Re: [LARTC] proxy arp and routing Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Mon, 4 Feb 2002 15:59:44 +0100 Ard van Breemen wrote: > On Fri, Feb 01, 2002 at 02:41:49PM -0800, David Koski wrote: > > Given the network map below, I am able to ping any ip on all networks from the > > linux box. However, from the cisco router, I cannot ping past eth1 on the linux > > box. The reverse is also true; I cannot ping past eth0 from a host on LAN. > > proxy-arp is enabled on the linux box and the route to a.b.c.0/24 is added to > > the cisco router. I haven't a clue why either way, I can only get to the far > > side of the linux box but no further. > I do not care about your ascii art, just about the following: > ip route show > /proc/sys/net/ipv4/conf/eth[012]/proxy_arp > /proc/sys/net/ipv4/conf/eth[012]/rp_filter > /proc/sys/net/ipv4/ip_forward > 1) proxy_arp must be set to 1 > 2) rp_filter: you might start with 0 > 3) ip_forward should be set to 1 > 4) all routes must be sane: > ip route add a.b.c.0/28 dev eth0 > ip route add a.b.c.0/24 dev eth1 > ip route add 192.168.1.0 dev eth2 > ip route add default via a.b.c.1 > > Then you should be able to arp-ping the whole world from anywhere inside > your network. You did not mention: /proc/sys/net/ipv4/conf/eth[012]/forwarding It is set to 1 also. The only difference I have with your settings above is rp_filter. I'll change it to 0 and see what happens. Since the settings were reverted back and I don't have access to it right now, I cannot dump the routing table. But it was verified to be correct and consistant with the above settings. Thank you, David Koski david@KosmosIsland.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/