[LARTC] proxy arp and routing

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
<ard@telegraafnet.nl> Telegraaf Elektronische Media  http://wwwijzer.nl
http://leerquoten.monster.org/ http://www.faqs.org/rfcs/rfc1855.html 
Let your government know you value your freedom. Sign the petition:
http://petition.eurolinux.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux