lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 29 Apr 2011 06:43:42 -0400
From:	Neil Horman <nhorman@...driver.com>
To:	WeipingPan <panweiping3@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: Is 802.3ad mode in bonding useful ?

On Fri, Apr 29, 2011 at 11:17:48AM +0800, WeipingPan wrote:
> On 04/28/2011 08:21 PM, Neil Horman wrote:
> >On Thu, Apr 28, 2011 at 03:33:50PM +0800, WeipingPan wrote:
> >>Hi, all,
> >>
> >>802.3ad mode in bonding implements 802.3ad standard.
> >>
> >>I am just wondering  802.3ad mode is useful,
> >>since  bonding has many modes like balance-rr, active-backup, etc.
> >>
> >Yes, of course its usefull.  For switches which support 802.3ad, this mode
> >allows for both peers to understand that the links in the bond are acting as an
> >aggregate, which makes it easier to prevent things like inadvertently looped
> >back frames, for which the other modes have to have all sorts of hacks to
> >prevent.
> What is looped back frames here ?
In this case they are frames that get received by the bond, which the bond
itself sent.  In modes where more than one slave is active, and in which the
switch has no additional knoweldge of the aggregate (e.g. round robin mode), the
bond can send a frame on one slave, which the switch may broadcast to all ports,
causing the frame just sent by the bond to then get received on another slave.

> I didn't see any special code to handle looped back frames in other
> modes in bonding,
> can you take an example ?
> 
See bond_handle_frame.

Neil

> thanks
> Weiping Pan
> 
> >Neil
> >
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ