2 minutes read

Configure NIC Redundancy with LACP

Configure NIC bonding with Link Aggregation Control Protocol (LACP) to provide network redundancy on a Bare Metal Cloud server.
Milica Dancuk
· Updated
November 27, 2026

BMC delivers iPXE on servers with dual network interface cards (NICs). However, because of the nature of iPXE, it provides no network-level configuration redundancy during provisioning.

Prerequisites

A deployed iPXE server (see Deploy a server for portal steps or Deploy iPXE Instance for API deployment).

LACP

Use Link Aggregation Control Protocol (LACP) to elevate the server's network redundancy status after the server is deployed. Where applicable, use the following settings to establish LACP:

mode: 802.3ad
lacp-rate: fast
transmit-hash-policy: layer3+4
mii-monitor-interval: 100
up-delay: 200msec
down-delay: 200msec
Code language: YAML (yaml)

Server-side LACP configurations depend heavily on the host operating system, so consult its networking documentation before applying changes.

Example: Configure LACP on Ubuntu or Debian

The following example uses Netplan. Add the configuration below to the appropriate file (e.g., /etc/netplan/01-netcfg.yaml) and adapt the network interface names to match your server:

network:
  version: 2
  renderer: networkd
  ethernets:
    enp3s0f0:
      dhcp4: no
    enp3s0f1:
      dhcp4: no
  bonds:
    bond0:
      interfaces:
        - enp3s0f0
        - enp3s0f1
      dhcp4: yes
      parameters:
        mode: 802.3ad
        lacp-rate: fast
        transmit-hash-policy: layer3+4
        mii-monitor-interval: 100
        up-delay: 200
        down-delay: 200
Code language: YAML (yaml)

Apply and test the configuration according to your operating system's procedures. Verify connectivity a failover before relying on the configuration in production.

Important Considerations

  • Do not configure different VLANs across NICs on the same production server.
  • Once LACP is established, configure any VLANs required by the server on the bond interface.
  • To retain DHCP-based IP assignment on the bond's native VLAN, clone the physical MAC address of one of the NICs onto the bond interface. A randomly assigned bond MAC address may not receive an IP address though DHCP.
  • Test failover to verify that network redundancy works as expected.
  • Servers left in single-homed configuration may experience outages. Configure and test redundancy as soon as possible after deployment.