jack <(E-Mail Removed)> wrote:
> Tauno Voipio wrote:
> > If you succeeded to break the routing in the requested
> > way, you still have a need for ARP to behave in a
> > scitsophrenic way, to respond correctly to a request
> > from an own interface.
> >
> ARP behaves schizophrenic enough as it is - I spent an hour today
> figuring out what generated a bunch of 'arp info overwritten' messages
> on the firewall. Turns out that my second network card (used to catch
> traffic on a mirrored switch port) was plugged into a normal switch
> port, and was responding to ARP requests for the primary card's IP
> address. And that with one interface on 192.168.0.x and the other on
> 172.16.0.x, and all net.*.forward sysctls set to 0.
"Linux" believes very strongly in the "weak end system" model, where
IP addresses are properties of the *system* not the "physical"
interface. That is why, by default, ARP will respond for any
system-local IP on any interface.
Causes me no end of grief in netperf testing when I want to "know"
that the traffic flowed over a specific NIC. To work around the
issue, I set the "arp_ignore" sysctl for each interface (or set the
default and then re-ifconfig or reboot).
rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...