In order to set up the Ethernet bonding on two ethernet devices, you must copy the same IPv4 / IPv6 address, DNS and Gateway settings from the first interface to the second interface. By default, the bonding mode would be 0 (Round Robin) but you can configure the interface modes with these other available bonding modes:
Mode | Policy | Description |
|---|---|---|
0 | Round Robin | Packets are sequentially transmitted/received through each interface one by one. |
1 | Active Backup | One interface is active while the other one does nothing unless the first one goes down - at which point it takes over. |
2 | XOR | The MAC address of the secondary NIC is matched up against the incoming request's MAC. Once the connection is established, the same NIC is used to transmit/receive for the destination MAC. |
3 | Broadcast | All transmissions are sent on all secondary NIC. |
4 | Dynamic Link Aggregation | The Ethernet devices act as one Ethernet device, resulting in a higher throughput and failover, during hardware failure. This requires a switch that supports IEEE 802.3ad. |
5 | Transmit Load Balancing | The outgoing traffic is distributed depending on the current load on each secondary interface. The secondary NIC receives the Incoming traffic. If the receiving secondary interface fails, another interface takes over the MAC address of the failed interface. |
6 | Adaptive Load Balancing | As Mode 4 but does not require any particular switch configuration. The receiving packets are load balanced through ARP negotiation. |
Setting up the mode (11.5.1 and before)
Prior to version 11.5.1, the only way to specify the bonding mode was:
Pre-10 SIEM versions: Modify
/etc/modprobe.conf.
Later versions till 11.5.1: Create a file in
/etc/modprobe.d (e.g. bonding.conf)and specify the mode to load when loading the kernel module:options bonding mode=6
Setting up the mode (11.5.2 or above)
The UI has been enhanced to provide a way of specifying the bonding mode when setting up the network settings. To change the bonding mode after having the same IP address for all the interfaces:
From the Trellix ESM dashboard, click
and select More Settings.On the system navigation tree, select the device and click
.The System Properties window pops up on the screen.
Click → .
In the Nodes list, click the ESM device that you want to configure and click Settings.
The Settings window pops up on the screen.
In the Main tab, select Interface 1 and Interface 2.
Click Setup besides Interface 1 and Interface 2 and then, make sure that the properties for both interfaces are same.
In the Bonding Mode, enter a value between 0 to 6.
Click Ok and then click Yes in the Network Settings Change window.
The ESM device restarts to reinitialize the interface bonding settings.