* [Bridge] bond0: received packet with own address as source address
@ 2008-02-08 18:43 b52
2008-02-08 19:45 ` [Bridge] Re: [Bonding-devel] " Jay Vosburgh
0 siblings, 1 reply; 3+ messages in thread
From: b52 @ 2008-02-08 18:43 UTC (permalink / raw)
To: bonding-devel, bridge, aoetools-discuss
Hi,
I know this will get a little complicated and, cause I have no clue whose
fault it is, I'll post to all three lists..
First my network Setup:
/dev/etherd/e0.2 /eth0 -- switch1 -- AoEServer
br0 -- bond0 |
\eth1 -- switch2
- switch1 and switch2 are connected.
- eth0 is connectet to switch 1.
- eth1 is connectet to switch 2.
- no spanning tree is running (cause you dont need it).
- I use bonding in active-backup mode of eth0 and eth1.
eth0 is active
eth1 is backup
- bond0 is in bridge br0
- Host is mounting a AoE device shared through br0 (from AoEServer)
In this Setup I am receiving periodically, every 60s this Kernel message:
bond0: received packet with own address as source address
I thought "it might be a broadcast loop. Broadcast outgoing from br0
through bond0, through eth0 over the switches looping back through eth1",
but this is not the case for ARP traffic, only for AoE traffic.
Here are some listings: (ethertype 0x88a2 is AoE)
In one shell i did:
mrbrown:/# arping -b -I br0 192.168.13.45
which is not existent
In a second shell i traced the active interface eth0:
mrbrown:/# tcpdump -XX -nvvi eth0 not port 22
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96
bytes
20:14:21.195823 arp who-has 192.168.13.45 tell 255.255.255.255
0x0000: ffff ffff ffff 0002 b3c7 e55e 0806 0001 ...........^....
0x0010: 0800 0604 0001 0002 b3c7 e55e ffff ffff ...........^....
0x0020: 0000 0000 0000 c0a8 0d2d .........-
20:14:21.692671 00:02:b3:c7:e5:5e > ff:ff:ff:ff:ff:ff, ethertype Unknown
(0x88a2), length 32:
0x0000: ffff ffff ffff 0002 b3c7 e55e 88a2 1000 ...........^....
0x0010: ffff ff01 0000 0000 0000 0000 0000 0000 ................
20:14:21.692679 00:02:b3:c7:e5:5e > ff:ff:ff:ff:ff:ff, ethertype Unknown
(0x88a2), length 32:
0x0000: ffff ffff ffff 0002 b3c7 e55e 88a2 1000 ...........^....
0x0010: ffff ff01 0000 0000 0000 0000 0000 0000 ................
In a third shell i traced the backup interface eth1:
mrbrown:/# tcpdump -XX -nvvi eth1
tcpdump: WARNING: eth1: no IPv4 address assigned
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 96
bytes
20:13:21.702832 00:02:b3:c7:e5:5e > ff:ff:ff:ff:ff:ff, ethertype Unknown
(0x88a2), length 32:
0x0000: ffff ffff ffff 0002 b3c7 e55e 88a2 1000 ...........^....
0x0010: ffff ff01 0000 0000 0000 0000 0000 0000 ................
20:14:21.692686 00:02:b3:c7:e5:5e > ff:ff:ff:ff:ff:ff, ethertype Unknown
(0x88a2), length 32:
0x0000: ffff ffff ffff 0002 b3c7 e55e 88a2 1000 ...........^....
0x0010: ffff ff01 0000 0000 0000 0000 0000 0000 ................
and these two packets at eth1 cause that error message. But this too
packets should be ignored by the kernel, cause this nic is backup. ARP
traffic is ignored by the Kernel.
Actually we need this setup in a produktive environment, to get High
Availability Virtual Machines at one Host. STP on the bridge is just too
slow to live without bonding, and RSTP is not available in Kernel.
Thanks, bye,
Holger Lechner
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bridge] Re: [Bonding-devel] bond0: received packet with own address as source address
2008-02-08 18:43 [Bridge] bond0: received packet with own address as source address b52
@ 2008-02-08 19:45 ` Jay Vosburgh
2008-02-11 12:19 ` b52
0 siblings, 1 reply; 3+ messages in thread
From: Jay Vosburgh @ 2008-02-08 19:45 UTC (permalink / raw)
To: b52; +Cc: bridge, bonding-devel, aoetools-discuss
b52@entrap.de wrote:
>- switch1 and switch2 are connected.
>- eth0 is connectet to switch 1.
>- eth1 is connectet to switch 2.
>- no spanning tree is running (cause you dont need it).
>- I use bonding in active-backup mode of eth0 and eth1.
> eth0 is active
> eth1 is backup
>- bond0 is in bridge br0
>- Host is mounting a AoE device shared through br0 (from AoEServer)
>
>In this Setup I am receiving periodically, every 60s this Kernel message:
>bond0: received packet with own address as source address
>
>I thought "it might be a broadcast loop. Broadcast outgoing from br0
>through bond0, through eth0 over the switches looping back through eth1",
>but this is not the case for ARP traffic, only for AoE traffic.
I'd guess it probably is a broadcast loop.
>Here are some listings: (ethertype 0x88a2 is AoE)
[...]
>and these two packets at eth1 cause that error message. But this too
>packets should be ignored by the kernel, cause this nic is backup. ARP
>traffic is ignored by the Kernel.
What distro, kernel and version of bonding are you running (from
cat /proc/net/bonding/bond0)? Older versions of bonding (prior to about
3.0.3, but distros may have the fix without having updated the version
number) do not drop incoming traffic on backup interfaces. If your
bonding driver is too old, then upgrading it may very well make this
problem go away.
I'm not sure offhand why the bridge complains about the 0x88a2
packets but doesn't complain about ARP packets; perhaps the ARP
processing happens before the bridge sees the packets. If you run the
tcpdumps when doing the arping, do you see the ARP frames coming in on
eth0 and eth1?
>Actually we need this setup in a produktive environment, to get High
>Availability Virtual Machines at one Host. STP on the bridge is just too
>slow to live without bonding, and RSTP is not available in Kernel.
Just out of curiosity, why are you using a bridge? Are you
bridging some other interfaces that you're not describing (i.e., I'm not
sure why you'd have a bridge with just one interface in it)?
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bridge] Re: [Bonding-devel] bond0: received packet with own address as source address
2008-02-08 19:45 ` [Bridge] Re: [Bonding-devel] " Jay Vosburgh
@ 2008-02-11 12:19 ` b52
0 siblings, 0 replies; 3+ messages in thread
From: b52 @ 2008-02-11 12:19 UTC (permalink / raw)
To: Jay Vosburgh; +Cc: bridge, bonding-devel, aoetools-discuss
>>In this Setup I am receiving periodically, every 60s this Kernel message:
>>bond0: received packet with own address as source address
Actually this problem is SOLVED, Sam Hopkins wrote:
You'll likely want to use aoe-interfaces to restrict the aoe initiator
driver to only use br0. By default it will use all interfaces it
finds.
..and this solves the issue.
> What distro, kernel and version of bonding are you running (from
> cat /proc/net/bonding/bond0)? Older versions of bonding (prior to about
> 3.0.3, but distros may have the fix without having updated the version
> number) do not drop incoming traffic on backup interfaces. If your
> bonding driver is too old, then upgrading it may very well make this
> problem go away.
I use Version v3.1.2, with a selfbrewed Kernel (Vanilla 2.6.18 + GFS +
OpenVZ)
> I'm not sure offhand why the bridge complains about the 0x88a2
> packets but doesn't complain about ARP packets; perhaps the ARP
> processing happens before the bridge sees the packets. If you run the
> tcpdumps when doing the arping, do you see the ARP frames coming in on
> eth0 and eth1?
No ARP was only on the active one, eth0.
>>Actually we need this setup in a produktive environment, to get High
>>Availability Virtual Machines at one Host. STP on the bridge is just too
>>slow to live without bonding, and RSTP is not available in Kernel.
>
> Just out of curiosity, why are you using a bridge? Are you
> bridging some other interfaces that you're not describing (i.e., I'm not
> sure why you'd have a bridge with just one interface in it)?
Yes we use that bridge to get virtual machines at this host on the net.
Cheers,
Holger
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-11 12:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 18:43 [Bridge] bond0: received packet with own address as source address b52
2008-02-08 19:45 ` [Bridge] Re: [Bonding-devel] " Jay Vosburgh
2008-02-11 12:19 ` b52
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.