Are there any settings required on a network switch for different bonding and teaming modes?

环境

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 4
  • Bonding network interfaces using ​​bonding​​ driver

问题

  • Are there any settings required on a network switch for different bonding modes?

决议

Mode

Bond

Team

Round-Robin

Yes

Yes

Balance-XOR

Yes

NA

Broadcast

Yes

Yes

802.3 LACP

Yes

Yes

Active-Backup

No

No

Balance-TLB

No

NA

Balance-ALB

No

NA

Loadbalance

NA

Yes

active-backup (Mode 1), balance-tlb (Mode 5), and balance-alb (Mode 6)

These bonding modes do not require any specific configuration of the switch.

802.3ad (Mode 4)

This bonding mode requires that the switch have the appropriate ports configured as an 802.3ad aggregation. The precise method used to configure this varies from switch to switch, but, for example, a Cisco 3550 series switch requires that the appropriate ports first be grouped together in a single EtherChannel instance, then that EtherChannel is set to mode "lacp" to enable 802.3ad (instead of standard EtherChannel).

balance-rr (Mode 0), balance-xor (Mode 2) and broadcast (Mode 3); Loadbalance (teamd runner)

These bonding modes require that the switch have the appropriate ports grouped together. The nomenclature for such a group differs between switches, it may be called an "EtherChannel" (as in the Cisco example, above), a "trunk group" or some other similar variation. For these modes, each switch will also have its own configuration options for the switch's transmit policy to the bond. Typical choices include XOR of either the MAC or IP addresses.  The transmit policy of the two peers does not need to match. For these three modes, the bonding mode really selects a transmit policy for an EtherChannel group; all three will interoperate with another EtherChannel group.

诊断步骤

Please contact your networking hardware vendor for specific instructions to configure switches and ports.

For more information on configuring bonding, please refer to:

​How do I configure bonding device on Red Hat Enterprise Linux?​