Arch Linux Network Bonding - ryzendew/Linux-Tips-and-Tricks GitHub Wiki

Arch Linux Network Bonding Guide

Complete beginner-friendly guide to network bonding on Arch Linux, including bond creation, bond modes, and bond configuration.


Table of Contents

  1. Creating Bonds
  2. Bond Modes
  3. Bond Configuration
  4. Troubleshooting

Creating Bonds

Load Bonding Module

Load module:

# Load bonding module
sudo modprobe bonding

# Make permanent
echo "bonding" | sudo tee -a /etc/modules-load.d/bonding.conf

Create Bond

Create bond:

# Create bond interface
sudo ip link add bond0 type bond

# Or using systemd-networkd
sudo vim /etc/systemd/network/bond0.netdev

Bond Modes

Bond Mode Options

Available modes:

  • mode=0 (balance-rr): Round-robin
  • mode=1 (active-backup): Active-backup
  • mode=4 (802.3ad): LACP
  • mode=6 (balance-alb): Adaptive load balancing

Set Bond Mode

Configure mode:

# Set mode
sudo ip link set bond0 type bond mode balance-rr

# Or in config
sudo vim /etc/systemd/network/bond0.netdev

Bond Configuration

Add Interfaces

Add to bond:

# Add interface
sudo ip link set eth0 master bond0
sudo ip link set eth1 master bond0

# Or in config
sudo vim /etc/systemd/network/eth0.network

Troubleshooting

Bond Issues

Check bond:

# Check bond status
cat /proc/net/bonding/bond0

# Check interfaces
ip link show master bond0

Summary

This guide covered bond creation, modes, configuration, and troubleshooting.


Next Steps


This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.