This section explains how to create a bonding interface and the available options.
The detailed options to create a bonding interface are listed below.
Name. The name of the new bonding interface that will be stored in the system. The name must have less than 16 characters.
Mode. The supported modes have been described below.
- Round-robin policy. Transmit packets in sequential order from the first available slave through to the last. This load balancing module permits fault tolerance.
- Active-backup policy. Only one slave in the bond is active. A different slave becomes active only if the active slave fails. The bond’s MAC address is externally visible on only one port (network adapter) to avoid confusing the switch. This mode provides fault tolerance. The primary option affects the behavior of this mode.
- XOR policy. Transmits requests based on the source’s MAC address XOR’d with destination MAC address. This selects the same slave for each destination MAC address. This mode provides load balancing and fault tolerance.
- Broadcast policy. Transmits everything on all slave interfaces. This mode provides fault tolerance.
- IEEE 802.3ad LACP. Creates aggregation groups that share the same speed and duplex settings. It uses all slaves in the active aggregator as defined by the 802.3ad specification. Pre-requisites:
- 1. Network interface support in the base drivers for retrieving the speed and duplex of each slave.
- 2. A switch that supports IEEE 802.3ad Dynamic link aggregation. Most switches will need some type of configuration to enable 802.3ad mode.
- Adaptive transmit load balancing. Channel bonding that does not require any special switch support. The outgoing traffic is in relative to the current load (computed relative to the speed) on each slave. Incoming traffic is received by the current slave. If the receiving slave fails, another slave takes over the MAC address of the failed receiving slave. Pre-requisite: Base driver support for retrieving the speed of each slave.
Slaves. Selection of unused NIC interfaces to be part of the new Bonding interface. These NICs have to be down and without configuration.
Once all the required changes are done, press the Apply button to create the new bonding interface.
To restore your interface’s MAC addresses, you need to delete the bonding interface that is using the given interface. The bonding driver will then restore the MAC addresses that the member interface had before it was added to the bonding interface.
The Bonding MAC address will be taken from its first member device.
The same member interface can be present only in one bonding interface.
If one interface is part of a bonding interface, then this interface will be locked.
Bonding mode can’t be changed once the bonding interface is created, but member interfaces can be added or deleted in the bonding interface as needed.