About bonding Ethernet interfaces
Bonding associates a set of two or more Ethernet interfaces with one IP address. The association improves network performance on each Access Appliance cluster node by increasing the potential bandwidth available on an IP address beyond the limits of a single Ethernet interface. Bonding also provides redundancy for higher availability.
For example, you can bond two 1-gigabit Ethernet interfaces together to provide up to 2 gigabits per second of throughput to a single IP address. Moreover, if one of the interfaces fails, communication continues using the single Ethernet interface.
When you create a bond, you need to specify a bonding mode. In addition, for the following bonding modes: 802.3ad, balance-rr, balance-xor, broadcast, balance-tlb, and balance-alb, make sure that the base network interface driver is configured correctly for the bond type. For type 802.3ad, the switch must be configured for link aggregation.
Consult your vendor-specific documentation for port aggregation and switch set up. You can use the -s option in the Linux ethtool command to check if the base driver supports the link speed retrieval option. The balance-alb bond mode type works only if the underlying interface network driver enables you to set a link address.
Note:
An added IPv6 address may go into a TENTATIVE state while bonding Ethernet interfaces with balance-rr, balance-xor, or broadcast bond modes. While bonding with those modes, Access Appliance requires the switch to balance incoming traffic across the ports, and not deliver looped back packets or duplicates. To work around this issue, enable EtherChannel on your switch, or avoid using these bond modes.
Table: Bonding mode
Index | Bonding mode | Fault tolerance | Load balancing | Switch setup | Ethtool/base driver support |
|---|---|---|---|---|---|
0 | balance-rr | yes | yes | yes | no |
1 | active-backup | yes | no | no | no |
2 | balance-xor | yes | yes | yes | no |
3 | broadcast | yes | no | yes | no |
4 | 802.3ad | yes | yes | yes | yes (to retrieve speed) |
5 | balance-tlb | yes | yes | no | yes (to retrieve speed) |
6 | balance-alb | yes | yes | no | yes (to retrieve speed) |
Note:
When you create or remove a bond, SSH connections with Ethernet interfaces involved in that bond may be dropped. When the operation is complete, you must restore the SSH connections.