Ethernet Bridge development
 help / color / mirror / Atom feed
From: Matthew Kent <matt@bravenet.com>
To: Jay Vosburgh <fubar@us.ibm.com>
Cc: bridge@lists.linux-foundation.org, bonding-devel@lists.sourceforge.net
Subject: Re: [Bridge] [Bonding-devel] received packet with own address as source	address
Date: Thu, 04 Dec 2008 10:46:51 -0800	[thread overview]
Message-ID: <1228416411.4344.148.camel@fuego> (raw)
In-Reply-To: <25142.1228351616@death.nxdomain.ibm.com>

On Wed, 2008-12-03 at 16:46 -0800, Jay Vosburgh wrote:
> Matthew Kent <matt@bravenet.com> wrote:
> 
> >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: 
> 
> 	I suspect your switch is misconfigured.
> 	
> 	The balance-xor mode is nominally "Etherchannel compatible" and
> the switch ports connected to bonding balance-xor should be in
> Etherchannel mode ("Trunking", etc, but not "LACP" or "802.3ad").
> 
> 	If the switch doesn't know the ports are aggregated, it may very
> well send broadcasts recieved on one port back out the other port, which
> may be the cause of what you're seeing.  The switch might also whine
> about flapping of the MAC address.
> 
> 	If I set up bonding here with the switch unconfigured for
> Etherchannel, I see the same behavior as this:
> 
> 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)
> 
> 	Specifically the "Received 2 response(s)" part.  This happens
> because the bond receives one copy of the packet on each port, and
> responds to each.
> 
> 	After I configure the switch ports correctly for Etherchannel,
> there is only 1 response.  Without the switch configuration IPv6
> addrconf also complains about duplicate address detected.
> 
> 	-J

Ah of course! :) Thanks for the helpful information. I should have read
the later section on balance-xor in bonding.txt more closely.
-- 
Matthew Kent \ SA \ bravenet.com


      parent reply	other threads:[~2008-12-04 18:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04  0:20 [Bridge] received packet with own address as source address Matthew Kent
2008-12-04  0:46 ` [Bridge] [Bonding-devel] " Jay Vosburgh
2008-12-04  4:18   ` richardvoigt
2008-12-04 18:46   ` Matthew Kent [this message]

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=1228416411.4344.148.camel@fuego \
    --to=matt@bravenet.com \
    --cc=bonding-devel@lists.sourceforge.net \
    --cc=bridge@lists.linux-foundation.org \
    --cc=fubar@us.ibm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox