Re: ARP and alias IPs

From: Alex Riesen (Alexander.Riesen@synopsys.com)
Date: Thu Sep 05 2002 - 10:34:36 EST


On Thu, Sep 05, 2002 at 10:09:50AM -0500, Andrew Ryan wrote:
> The linux implementation of ARP is causing me problems. Linux sends out an
> ARP request with the default interface as the sender address, rather than then
> interface the request came on.

http://www.rfc-editor.org/rfc/std/std37.txt

> For example
>
> eth0 10.1.1.100
> eth0:1 192.16.1.101

Are you really expect an aliased interface to work the way you described?

> and an ARP is received on 192.16.1.101, linux responds with
> 10.1.1.100 as the source address in the ARP request, rather than 192.16.1.101
> (which FreeBSD, Solaris, and tru64 do). To me, this is just plain wrong.
> The sender address should be an address on the subnet that the request came
> from, not a different one. Is there any way to fix this?
-
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/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:25 EST