Re: Weird behavior in a router with more than 2 IPs in ainterface

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Helio,

  <snip>

 : some address while some others not.   Using tcpdump, I can see icmp
 : packets arriving, but no response from the server.  Resetting switch
 : works for some time, allowing all IP to be reachable, but after a time
 : (minutes, hours or, even, days) some IPs just stops.

  <snip>

Stop right there!  Have you checked to make sure your linux box is not 
answering ARP queries on the wrong interfaces?  (ARP flux)

You probably need to use Julian's "hidden" patch to 2.4.x.  Strangely, 
it's part of the 2.2.14+ kernels, but is not included by default in the 
2.4.x kernels--but Julian supplies a patch.

  http://www.ssi.bg/~ja/#hidden
  http://www.ssi.bg/~ja/hidden.txt

Once you are patched and running the new kernel, you'll want to do the 
following:

# echo 1 > /proc/sys/net/ipv4/conf/all/hidden
# echo 1 > /proc/sys/net/ipv4/conf/eth2/hidden
# echo 1 > /proc/sys/net/ipv4/conf/eth3/hidden

My guess is that your switch is probably seeing a particular ethernet
address move from one port to another port....

In order to verify this, you should be able to tcpdump on each interface 
(eth2 and eth3) looking for ARP.

Good luck,

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux