Prerequisites
Before configuring network bonding, make sure you have:
- Multiple network interfaces on your VPS
- Root or sudo privileges
- Hostxpeed support for bonding (contact support)
💡 Network bonding combines multiple network interfaces for redundancy or increased throughput. Most VPS plans do not support this; contact Hostxpeed first.
Install Bonding Tools
ssh hxroot@YOUR_SERVER_IP -p 22
sudo apt install ifenslave -y
Load Bonding Kernel Module
sudo modprobe bonding
echo "bonding" | sudo tee -a /etc/modules
Configure Bonding Interface (Netplan)
sudo nano /etc/netplan/01-netcfg.yaml
Example configuration:
network:
version: 2
renderer: networkd
bonds:
bond0:
interfaces: [eth0, eth1]
parameters:
mode: 802.3ad
lacp-rate: fast
mii-monitor-interval: 100
addresses: [YOUR_IP/22]
gateway4: YOUR_GATEWAY
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Apply:
sudo netplan apply
Check Bonding Status
cat /proc/net/bonding/bond0
⚠️ Network bonding is an advanced feature. Most VPS providers do not support it due to virtualization limits. Always test in a non-production environment first.