[Avila] Boardcast packets not sent on both eth0 and eth1 though bridged
Bhanu Prakash
bhanu at amperion.com
Sat Jun 9 10:57:45 EDT 2007
------_=_NextPart_001_01C7AAA6.8986CB9C
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
All,
I have come across a strange problem with simple bridge setup.
[IXP0] <------------> [IXP1] <------------> [IXP2]
(eth0) (eth1)
eth0 and eth1 are bridged to br0. Both eth0 and eth1 are UP.
IXP0, IXP1 and IXP2 are in the same subnet.
=20
Boards are Avila Networking Platform from GateWorks.
Debian Sarge 3.1, Linux Kernel 2.6.18 and Intel Xscale (GWIXP425)
=20
NPE Drivers from Intel -
BSD_ixp400AccessLibrary-2_1.zip
GPL_ixp400LinuxEthernetDriverPatch-1_5.zip
IPL_ixp400AccessLibrary-2_1.zip
IPL_ixp400NpeLibrary-2_1.zip
=20
The problem is I could able to ping only one of the peers but not both. =
For example, I can able to ping IXP2 but not IXP1 though they are =
bridged.
=20
Later I realized that the order of the addition in the bridge is making =
difference. For example, if I add eth0 first and then eth1, ping =
successes in eth1 but not in eth0. Similarly when I add eth1 first and =
then eth0, ICMP fails in eth0.=20
=20
When debugged with Ethereal,ironically,ARP REQ packets are sent out only =
to the interface which got added later to the bridge. It appears that =
bridge is not properly handling BROADCAST packets that generated =
locally. But bridge forwards ARP REQ (or any Boardcast) packets =
originated at remote device. When I manually added ARP entries for =
IXP0/IXP2, ICMP works fine.
=20
The linux bridge code was debugged and find nothing abnormal.=20
=20
br_dev_xmit -> br_flood_deliver -> __br_deliver ->=20
br_forward_finish -> =
br_dev_queue_push_xmit -> dev_queue_xmit -> ixmac_start_xmit (NPE =
drivers)
=20
The broadcast packets appear to have properly queued to eth0 and eth1.
Has anyone come across this kind of problem? Do we have any patches =
available for the problem?
=20
Thanks in advance,
=20
With rgds,
Bhanu Prakash A=20
=20
=20
------_=_NextPart_001_01C7AAA6.8986CB9C--
More information about the Avila
mailing list