There are various options to configure a bond on the servers but not all bond modes are applicable. The supported bonding modes are as follows:
- balance-rr: mode 0
- balance-xor: mode 2
- 802.3ad (LACP): mode 4 (starting from 3.4.0000 MLNX-OS release)
Modes 1,3,5,6 were designed to work without LAG configured on the switch side, which limits support for all other modes. Configuring LAG on the switch side will break the solution.
For bonding modes which require LAG on the switch, MLAG must be configured when using redundant switches.
For the bonding modes which don’t use LAG on the switch, two independent switches or non MLAG ports on MLAG switches are enough.
Linux Bonding Mode
LAG on switch requirement
Availability on MLAG interface
Yes (with LACP)
Please refer to the below links for detailed examples:
In older Windows versions it is configured via the NIC driver configuration.