In a failover event, the hash calculation is adjusted to steer traffic over available slaves.
Create a Bond
You can create and configure a bond with the Network Command Line Utility (NCLU). Follow the steps below to create a new bond:
|NCLU Configuration Option|
The bonding mode. Cumulus Linux supports IEEE 802.3ad link aggregation mode and balance-xor mode. IEEE 802.3ad link aggregation is the default mode.
You can change the bond mode using NCLU. The following example changes bond1 to balance-xor mode.
Note: Use balance-xor mode only if you cannot use LACP. See below for more information.
The following example changes bond1 to IEEE 802.3ad link aggregation mode:
|The list of slaves in the bond.||N/A|
|Defines how often the link state of each slave is inspected for failures.|
Specifies the time, in milliseconds, to wait before disabling a slave after a link failure has been detected. This option is only valid for the miimon link monitor. The downdelay value must be a multiple of the miimon value; if not, it is rounded down to the nearest multiple.
Specifies the time, in milliseconds, to wait before enabling a slave after a link recovery has been detected. This option is only valid for the miimon link monitor. The updelay value must be a multiple of the miimon value; if not, it is rounded down to the nearest multiple.
|Determines the link state.|
The hash method used to select the slave for a given packet.
|Enables LACP bypass.||N/A|
Sets the rate to ask the link partner to transmit LACP control packets.
You can set the LACP rate to slow using NCLU:
Defines the minimum number of links that must be active before the bond is put into service.
Enable balance-xor Mode
When you enable balance-xor mode, the bonding of slave interfaces are static and all slave interfaces are active for load balancing and fault tolerance purposes. Packet transmission on the bond is based on the hash policy specified by