Re: [2.4 PATCH] bugfix: ARP respond on all devices

From: David S. Miller
Date: Mon Aug 18 2003 - 08:05:21 EST


On Mon, 18 Aug 2003 14:51:58 +0200
Willy Tarreau <willy@xxxxxxxxx> wrote:

> > 1) consider how you might want to make that configurable
> > by the user
>
> ip route ... src ... is really fine to me for the IP part, and I would have
> expected it to act on ARP too ;-)

More precisely, "preferred source".

> > 2) what the default behavior should be
>
> I think we should apply the exact same source selection as IP to ARP.

This is what setting the "arp_filter" sysctl on a device does
if you've setup the preferred source on your routes correctly.
If we would use that IP address to speak to the destination in
the ARP, we respond, else we do not.

I've quoted the 'arp_filter' entry in Documentation/sysctl/ip-sysctl.txt
please give it a read.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/