From: Matthew Kent <matt@bravenet.com>
To: bridge@lists.linux-foundation.org
Cc: bonding-devel@lists.sourceforge.net
Subject: [Bridge] received packet with own address as source address
Date: Wed, 03 Dec 2008 16:20:57 -0800 [thread overview]
Message-ID: <1228350057.4344.141.camel@fuego> (raw)
Trying to determine if I have a misconfiguration, misunderstanding or
have stumbled on a bug.
Have a CentOS 5.2 server with 2 e1000e nics in a balance-xor bond, check
this out:
Test 1 - arping the bond device @ 172.16.0.117 from a second machine
---
root@foo [/root]# arping -c 1 -b -I eth0 172.16.0.117
ARPING 172.16.0.117 from 172.16.0.116 eth0
Unicast reply from 172.16.0.117 [00:15:17:70:A3:88] 0.607ms
Unicast reply from 172.16.0.117 [00:15:17:70:A3:88] 0.648ms
Sent 1 probes (1 broadcast(s))
Received 2 response(s)
Nothing logged to the kernel ring buffer on the server. All looks good
and happy.
Test 2 - now add a bridge @ 172.16.0.117 with the bond as a port:
---
root@foo [/root]# arping -c 1 -b -I eth0 172.16.0.117
ARPING 172.16.0.117 from 172.16.0.116 eth0
Unicast reply from 172.16.0.117 [00:15:17:70:A3:88] 0.603ms
Unicast reply from 172.16.0.117 [00:15:17:70:A3:88] 0.642ms
Sent 1 probes (1 broadcast(s))
Received 2 response(s)
Looks good, traffic moves, etc but now the following gets logged on the
server for every broadcast packet:
[26489.040112] bond0: received packet with own address as source
address
Capturing the traffic for both tests and comparing, they look identical,
but the bridge wants to throw the warning level message in
net/bridge/br_fdb.c br_fdb_update(). The printk warning, being rate
limited, seems to add a noticable lag. Disabling the warning with a
patch made things happy again.
Couple questions from this for the more knowledgeable folks:
1) Are the two arp replies from a balance-xor bond normal?
2) Should the bridge handle this or should I just not be tying an ip to
the bridge in balance-xor mode?
Thanks for your time!
--
Matthew Kent \ SA \ bravenet.com
next reply other threads:[~2008-12-04 0:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 0:20 Matthew Kent [this message]
2008-12-04 0:46 ` [Bridge] [Bonding-devel] received packet with own address as source address Jay Vosburgh
2008-12-04 4:18 ` richardvoigt
2008-12-04 18:46 ` Matthew Kent
-- strict thread matches above, loose matches on Subject: below --
2004-01-16 19:24 [Bridge] " Christopher S. Aker
2004-01-19 13:55 ` Nikolay Datchev
2004-01-26 16:28 ` Christopher S. Aker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1228350057.4344.141.camel@fuego \
--to=matt@bravenet.com \
--cc=bonding-devel@lists.sourceforge.net \
--cc=bridge@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.