All of lore.kernel.org
 help / color / mirror / Atom feed
* IP stack question
@ 2002-06-24 11:39 Bloch, Jack
  2002-06-24 13:34 ` jamal
  0 siblings, 1 reply; 11+ messages in thread
From: Bloch, Jack @ 2002-06-24 11:39 UTC (permalink / raw)
  To: 'netdev@oss.sgi.com'

I am writing this e-mail at the recommendation of Alan Cox. I have an
embedded system running on cPCI HW which has two physical Ethernet
connections. This system is connected to an internal network and the IP
addresses are not made public. I use the IP addresses 10.1.1.4 and 10.1.1.5
respectively. The two physical ports are connected to two separate LAN
switches which are connected by an uplink. I want to periodically test this
uplink cable. My plan to do this is to send a simple test message (much like
a ping) from 10.1.1.4 to 10.1.1.5, however, the IP stack does not let me do
this. Is there any specific reason why not?

Jack Bloch
Siemens Carrier Networks
e-mail    : jack.bloch@icn.siemens.com
phone     : (561) 923-6550

^ permalink raw reply	[flat|nested] 11+ messages in thread
* IP stack question
@ 2004-08-20 14:50 Bloch, Jack
  0 siblings, 0 replies; 11+ messages in thread
From: Bloch, Jack @ 2004-08-20 14:50 UTC (permalink / raw)
  To: linux-kernel; +Cc: Laxman, Amruth

I have the following situation.

I am running a SuSE 2.4.19 Kernel on an SMP machine. I am using the bonding
driver. I have a BOND1 device created with IP address 10.77.67.125 and MAC
address 00:10:18:06:CF:B8.  BOND1 consists of ETH2 and ETH6 in active
standby mode with ETH2 being the active slave and ETH6 being standby. I see
periods of duplicate messages being received by my application. I traced it
down to the fact that the messages are indeed being received by both ETH2
and ETH6 (since ETH6 has the same MAC/IP combination, it does pass messages
up the stack). Further analysis has shown that soem messages coming from the
active bond have a garbage sour address in the MAC header. The source
address seems to be an ASCII representation of the actual MAC address, that
is,   30303A31303A (00:10:). This causes the Ethernet switch to overwrite
its learning tables and subsequent messages for that MAC/IP are broadcast
and received by both chips. I put some tracepoints in the bonding drivers
transmit routine and see that the bad address is in the SKB at the time of
transmission. I would like to know if similar problems have been seen. My
assumtion is that this message arrives  at the bonding driver already "bad"
from the IP stack. The fat that I have bonding allows the error to be seen.
Without bonding, this error would not be noticed.

Please CC me directly on any responses.



Regards,


Jack Bloch


Siemens 

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

end of thread, other threads:[~2004-08-20 14:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-24 11:39 IP stack question Bloch, Jack
2002-06-24 13:34 ` jamal
2002-06-24 17:48   ` Ben Greear
2002-06-24 18:59     ` jamal
2002-06-24 19:27       ` Ben Greear
2002-08-28  6:25       ` IP stack question (how to force pkts to not route locally, but go out interfaces regardless of destination) Ben Greear
2002-08-28 12:41         ` James R. Leu
2002-08-29 10:17           ` A question on RTT estimation of SACKed packet Xiaoliang (David) Wei
2002-08-29 19:01             ` kuznet
2002-08-29 22:19               ` Xiaoliang (David) Wei
  -- strict thread matches above, loose matches on Subject: below --
2004-08-20 14:50 IP stack question Bloch, Jack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.