From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Volf Date: Tue, 12 Oct 2004 16:55:45 +0000 Subject: Re: [LARTC] Does anyone have a working proxyARP setup? Message-Id: <416C0C91.5090108@inv.cz> List-Id: References: <41676C12.72F7D09D@iswest.com> In-Reply-To: <41676C12.72F7D09D@iswest.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org gypsy wrote: >>Could you please post the output of 'route -n', 'ip route' and 'ip neigh >>show' as well as any 'ip route [add|del|*]' commands you run? > > I guess not. Martin, is there some reason you do not wish to post these > things? Hello, sorry for the delay. I have used something like this: router: ifconfig eth0 172.16.7.42 netmask 255.255.255.0 broadcast 172.16.7.255 route add default gw 172.16.7.1 ifconfig eth1 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 ifconfig eth2 192.168.1.1 netmask 255.255.255.255 -broadcast route add -host 192.168.1.17 device eth2 route add -host 192.168.1.18 device eth2 route add -host 192.168.1.19 device eth2 echo 1 > /proc/sys/net/ipv4/conf/eth1/proxy_arp echo 1 > /proc/sys/net/ipv4/conf/eth2/proxy_arp The network 192.168.1.0/24 is divided into two parts, ip addresses 192.168.1.17, .18, .19 are connected to eth2, other ip addresses to eth1. 192.168.1.17: ifconfig eth0 192.168.1.17 netmask 255.255.255.0 broadcast 192.168.1.255 route add default gw 192.168.1.1 traceroute from 192.168.1.17 do 192.168.1.2: 1 192.168.1.1 1.08 ms 0.73 ms 0.723 ms 2 192.168.1.2 0.85 ms 0.77 ms 0.715 ms "arp -an" at 192.168.1.17: ? (192.168.1.1) at 00:00:B4:9F:A4:58 [ether] on eth0 ? (192.168.1.2) at 00:00:B4:9F:A4:58 [ether] on eth0 (note the same MAC address) HTH, -- Martin _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/