[1054] in linux-net channel archive
Re: ProxyArp parameterized on interface?
daemon@ATHENA.MIT.EDU (Stephen Tweedie)
Wed Sep 6 01:24:36 1995
Date: Tue, 5 Sep 1995 17:55:55 +0100
To: ove.ewerlid@syscon.uu.se
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <199509040605.AA27386@frej.teknikum.uu.se> (message from Ove Ewerlid on Mon, 4 Sep 1995 08:05:51 +0200)
From: Stephen Tweedie <sct@dcs.ed.ac.uk>
On Mon, 4 Sep 1995 08:05:51 +0200, Ove Ewerlid <ove.ewerlid@syscon.uu.se> said:
> I recently tried to configure a linux box with 3 ethernet cards
> as a bridge between 3 networks, e.g., a class C net split on three subnets.
> I tried to do this with proxyarp (due to various odd reasons).
> I was partially successful and failed due to the fact that the
> proxyarp handling in linux seems to be non interface specific.
> E.g., to solve my problems I find myself needing to add an ethernet
> interface as a parameter to the 'arp'-command.
> Has anyone ever heard of proxyarp that is interface specific.
> (Is this possible with linux? I looked and the answer seems to be no)
This will work fine under Linux. As of 1.2, proxy-arp does honour
interface settings, as per the RFCs.
The trick is that Linux determines the appropriate interfaces from the
routing tables when the proxy-arp is set up. So, to use Linux as an
ethernet bridge using proxy-arp, you need to initialise the interfaces,
then set up all of the routing tables, and THEN, at the end, create the
proxy-arps.
Cheers,
Stephen.
---
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.