[ovs-git] Open vSwitch: Document and warn that mirroring to a VLAN is incompatible with SLB bonding. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Aug 8 17:19:30 UTC 2011

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  6c2d2a9f8318fea11250a7624144cb06436f91a4 (commit)
       via  92ada13254cbbc24ded4c9970d73dac1fe2f10d9 (commit)
      from  35d25d444257d086411a4347f8142c53d5ca5d3f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6c2d2a9f8318fea11250a7624144cb06436f91a4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6c2d2a9f8318fea11250a7624144cb06436f91a4
Author: Ben Pfaff <blp at nicira.com>
Document and warn that mirroring to a VLAN is incompatible with SLB bonding.
vswitchd/INTERNALS explains the incompatibility:

   2. When Open vSwitch forwards a multicast or broadcast packet to a
      link in the SLB bond other than the active slave, the remote
      switch will forward it to all of the other links in the SLB
      bond, including the active slave.  Without special handling,
      this would mean that Open vSwitch would forward a second copy of
      the packet to each switch port (other than the bond), including
      the port that originated the packet.

      Open vSwitch deals with this case by dropping packets received
      on any SLB bonded link that have a source MAC+VLAN that has been
      learned on any other port.  (This means that SLB as implemented
      in Open vSwitch relies critically on MAC learning.  Notably, SLB
      is incompatible with the "flood_vlans" feature.)

We could go farther than this and automatically change the bonding mode to
a safer one (e.g. active-backup) when flood_vlans are enabled.  However,
that would still leave the SLB fallback for LACP modes in place; perhaps
active-backup would have to be the fallback for LACP modes when flood_vlans
are enabled.

commit 92ada13254cbbc24ded4c9970d73dac1fe2f10d9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=92ada13254cbbc24ded4c9970d73dac1fe2f10d9
Author: Ben Pfaff <blp at nicira.com>
Document that mirroring to a GRE tunnel works and is better than RSPAN.


Summary of changes:
 vswitchd/bridge.c    |    5 +++++
 vswitchd/vswitch.xml |   42 +++++++++++++++++++++++++++++-------------
 2 files changed, 34 insertions(+), 13 deletions(-)

Open vSwitch

More information about the git mailing list