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.
|