Configure OVHcloud Link Aggregation on a Dedicated Server (Debian)
OVHcloud Link Aggregation (OLA) technology is designed by our teams to increase your server’s availability and boost the efficiency of your network connections. In just a few clicks, you can aggregate your network cards and make your network links redundant. This means that if one link goes down, traffic is automatically redirected to another available link. The available bandwidth is also doubled thanks to aggregation. Aggregation is based on IEEE 802.3ad, Link Aggregation Control Protocol (LACP) technology.
NOTE: This guide provides instructions for configuring network interface bonding specifically using ifupdown, whose configuration file is located at /etc/network/interfaces. It also applies to the rescue system.
If your system's network configuration uses Netplan instead (Debian 12 or newer, Ubuntu 24.04), please refer to this guide.
Requirements
OVHcloud Control Panel Access
- Direct link: Dedicated Servers
- Navigation path:
Bare Metal Cloud>Dedicated servers> Select your server
This guide provides instructions for configuring network interface bonding specifically using ifupdown, whose configuration file is located at /etc/network/interfaces. It also applies to the rescue system.
If your system's network configuration uses Netplan instead, please refer to this guide.
Instructions
The values (MAC addresses, IP addresses, etc.) shown in the configurations and examples below are provided as examples. You must replace those values with your own.
NOTE: You will need to install the ifenslave package on the server before enabling OLA in the OVHcloud Control Panel or API. To do so, please use the following command:
apt install ifenslave
Retrieving MAC addresses
Switch to the tab Network Interfaces and take note of the MAC addresses for each interface (public/private), which are displayed at the bottom of the menu.
The MAC address of the main public interface is the one receiving DHCP offers, both in the server's operating system and in rescue mode. This interface handles public connectivity in the default configuration.
Additionally, the MAC address of the main private interface is the one with the lowest value. In the example image above, this is the address a1:b2:c3:d4:e5:d6.
Because you have a private-private configuration for your NICs in OLA, you will be unable to SSH into the server. Thus, you will need to leverage the IPMI tool to access the server.
Click the IPMI tab and then the From a Java applet (KVM) button.
Retrieving interface names
If you lose network connection to your server, follow the "Open KVM" steps from this guide.
To retrieve the names of the interfaces, execute the following command:
This command will yield numerous interfaces. If you are having trouble determining which ones are your physical interfaces, the first interface will still have the server's public IP address attached to it by default.
Example output:
Once you have determined the names of your interfaces, you can configure interfaces bonding in the OS.
Configuring interface bonding
Select the tab below that matches your server configuration:
- Two interfaces: Advance servers with two physical NICs.
- Four interfaces - Double LAG: Scale and High-Grade servers with OLA in Active - Double LAG mode (public + private aggregates). This requires OLA to be enabled in the OVHcloud Control Panel.
- Four interfaces - Fully Private: Scale and High-Grade servers with OLA in Active - Fully Private mode (single private aggregate for vRack). This requires OLA to be enabled in the OVHcloud Control Panel.
Replace the content of /etc/network/interfaces with the following:
DHCP
Apply the configuration
Apply the configuration by restarting the networking daemon:
This restart may take several seconds since it is building the bond interface. To test that our bond is working, ping another server on the same vRack. If it works, you are all set. If it does not, double-check your configurations or try rebooting the server.
Go further
Configuring OVHcloud Link Aggregation in the OVHcloud Control Panel
How to configure OVHcloud Link Aggregation in Windows Server 2019
How to configure Link Aggregation with LACP in Debian 12 or Ubuntu 24.04
How to configure OVHcloud Link Aggregation in SLES 15
Browse all the Dedicated Servers guides.
Browse the rest of the OVHcloud US documentation for guides on our other products and services.
Learn more about Dedicated Servers on the OVHcloud US website.