Our Knowledge Base provides step-by-step guides, troubleshooting tips, and expert insights to help you manage VPS, dedicated servers, domains, DDoS protection, and more — all designed to make your experience with us fast, secure, and stress-free.
Before you can configure the network cards you need to ensure that the kernel module called bonding is present and loaded.
sudo lsmod | grep bonding
If the module is not loaded. Use the following command to load it
sudo modprobe bonding
To ensure that the bonding module is loaded during boot time change file the following file
sudo nano /etc/modules
Add the following line:
bonding
Step 4 – find the active network interface
clear && echo $(ip -o -4 route get 8.8.8.8 | sed -nr ‘s/.*dev ([^\ ]+).*/\1/p’)
Step 5 – Configure the network interface
The output of step 4 is the network interface which is active at the moment. You should use that name for the bond. In our case this is eno1 and the second interface eno2
# This is the network config written by ‘subiquity’