On 8/17/06, Luciano Ruete <luciano@xxxxxxxxxxxxx> wrote:
if all ethx are on the same switch, you will need:
echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore
#you can also do it in a per iface basis
by default, if you recive an arp request(whohas) on a iface(iface1), asking
for an ip that another iface(iface2) has, then the arp request is ansered
with the MAC address of the first iface(iface1). If all devices are in the
same fisical segment this can lead to a single device answer for all IPs, or
to a total caos.
This one is very hard to catch and i forgot to mention, now solved :-)
--
Luciano
I will try all this tommorow, don't have acces to the box right now.
About turning of arp. If you turn them all of, wouldnt the nics (ip's) be unfindable from the outside world? Or does the switch they connect to respond to such an arp request aswell?
But what you are saying is that if i had a box with 2 nics each connected to a different ISP, so each nic with a different gateway and ip. That if nic1 would recieve a arp request for the ip from nic2, it would respond with mac-adres from nic1. So that could mean that all packets would come in over nic1, even if they have destination ip(nic2)? Seems to me that this is never realy desirable. Especialy if nic2 would have an static ip and i would unplug nic2 on purpose.
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc