public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ARP shows client is given wrong MAC Address for system with 2 NICs
@ 2001-12-04 23:25 Q A
  2001-12-05 19:03 ` Richard B. Johnson
  0 siblings, 1 reply; 6+ messages in thread
From: Q A @ 2001-12-04 23:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: qarce

Hello,

I am not on the linux-kernel mailing list so please
reply all.

My problem:

Note that in the following description _(A) refers to
the interface that was brought on line first in the
system after boot up.   That is if eth0 came up first,
_(A) refers to eth0.   If eth1 came up first, _(A)
refers to eth1.  Read on and you will see the problem.


I have a system with 2 NICs in one box.  When I telent
to IP(A) and I am allowed to connect with no problems
and are given MAC(A) which I check with the arp
command.  I then telnet to IP(B) and are given MAC(A).
 Yes, MAC(A).  I then ifdown NIC(B) device and telent
to IP(B) and connect with no problems.

Now looking at ARP I see I am connected to NIC(A)
because I have the MAC(A) according to ARP.  I then
bring up NIC(B) and shutdown NIC(A) while still
connected as it looks to NIC(A).  I look at ARP and I
see I still have the MAC(A). I press enter in the
telnet window connected to what I ARP tells me is
NIC(A) and everything works.   I check ARP and see
that the I now have MAC(B) for the connection.

I really need to fix this soon so that I can bring
this box online.

The system:
uname -a...
Linux system-name 2.4.9-13SGI_XFS_PR1enterprise #1 SMP
Fri Nov 2 23:44:39 CST 2001 i686 unknown

lsmod...
Module                  Size  Used by
nfs                    94706   0  (autoclean)
lockd                  60515   0  (autoclean) [nfs]
sunrpc                 84519   0  (autoclean) [nfs
lockd]
autofs                 13596   6  (autoclean)
e1000                  47194   0  (autoclean)
eepro100               19799   1  (autoclean)
lvm-mod                64482  16 
usb-ohci               23358   0  (unused)
usbcore                66308   1  [usb-ohci]
raid1                  16069   4 
raid0                   4314   1 
cciss                  21124   4 
aic7xxx               119883   8 
sd_mod                 12859   8 
scsi_mod              110515   2  [aic7xxx sd_mod]

This is eth1: e1000                  
This is eth0: eepro100               


Based on RH Linux 7.1 and as you can see SGI XFS.



I found two notes on this subject on the net.

Both are from this list.   
One has the subject:  RE: ARP out the wrong interface
>From Date:  Feb, 09 2001

This one notes that 2.2.18 and 2.4 have a patch to
allow you to:

# sysctl -w net.ipv4.conf.all.arpfilter=1

Yet I only found net.ipv4.conf.all.arp_filter
setting this to 1(on) has no effect on the problem.

The second one has subject:  RE: [2.2] Network
Interface aliasing
>From Date:  Nov, 9 1999

This on talks about IP in the 2.2 kernel.  It talks
about an "optimization to reduce work on hosts
monitoring in promiscuous mode."  "The decision is
made on IP level and by IP address, MAC level details
are inessential."  So I gather what I am seeing is to
optimise network trafic.  But I think there is a bug.


I am not a kernel programmer.  Please have a look and
let me know what more info you need.

Thanks,

Q 

__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-12-06 18:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-04 23:25 ARP shows client is given wrong MAC Address for system with 2 NICs Q A
2001-12-05 19:03 ` Richard B. Johnson
2001-12-05 19:57   ` Christopher Friesen
2001-12-06  2:14   ` Q A
2001-12-06  5:10     ` Ben Greear
2001-12-06 18:19   ` Bernd Eckenfels

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox