Server rental store

Bonding

# Bonding

Overview

Bonding, also known as link aggregation, port trunking, or Ethernet bonding, is a network configuration technique that combines multiple network interfaces into a single logical interface. This results in increased bandwidth, improved reliability through redundancy, and enhanced load balancing. Instead of relying on a single physical network connection, bonding allows a **server** to utilize multiple connections simultaneously, effectively multiplying the available bandwidth. This is particularly important for applications that demand high network throughput, such as video streaming, large file transfers, database operations, and virtualized environments. The core principle behind bonding is to distribute network traffic across the bonded interfaces, offering a more robust and scalable network solution. The configuration of bonding is typically handled at the operating system level, with support available in most modern operating systems like Linux, Windows Server, and VMware ESXi. Understanding the different bonding modes is crucial for optimal performance and reliability, and we'll explore those details further in the Specifications section. Properly configured bonding can significantly improve the overall performance and availability of a **server** infrastructure. It’s a key consideration when planning network architecture, especially for mission-critical applications. For more information on network fundamentals, please see Network Fundamentals.

Specifications

Bonding offers several different modes, each providing unique benefits and trade-offs. The choice of bonding mode depends on the specific requirements of the network and the capabilities of the network infrastructure. Below is a table detailing common bonding modes and their key characteristics:

Bonding Mode Description Fault Tolerance Load Balancing Requires Switch Support
balance-rr (Round Robin) Transmits packets in a round-robin fashion across all bonded interfaces. Yes Yes No
active-backup Only one interface is active, while others remain in standby mode. If the active interface fails, one of the standby interfaces takes over. High No No
balance-xor Transmits packets based on a hash of the source and destination MAC addresses. Yes Yes No
broadcast Transmits every packet on all bonded interfaces. No No Yes
802.3ad (LACP) Uses the 802.3ad standard Link Aggregation Control Protocol for dynamic link aggregation. High Yes Yes
balance-tlb (Transmit Load Balancing) Balances outbound traffic based on current load on each interface. Yes Yes No
balance-alb (Adaptive Load Balancing) Similar to balance-tlb, but also includes adaptive load balancing for inbound traffic. Yes Yes No

The implementation of Bonding also requires specific kernel modules and network configuration settings. Here's a table outlining typical Linux configuration parameters:

Parameter Description Default Value
mode Specifies the bonding mode (e.g., balance-rr, active-backup, 802.3ad). balance-rr
miimon Frequency in milliseconds to check link status. 100
lacpdu Enables/disables LACPDU transmission (for 802.3ad mode). 1
primary Specifies the primary interface to use. None
slaves List of interfaces to be included in the bond. None
downdelay Delay in milliseconds before marking a link as down. 200
updelay Delay in milliseconds before marking a link as up. 200

Finally, consider the hardware requirements. While bonding can be implemented with standard network cards, utilizing high-quality NICs with support for features like VLAN tagging and hardware offloading can improve performance. Understanding Network Interface Cards is essential for optimal bonding implementation. Also, the switch supporting the bonded interfaces must be compatible with the chosen bonding mode, especially for 802.3ad. See our article on Managed Switches for more details.

Use Cases

Bonding finds application in a wide range of scenarios where high availability and increased bandwidth are critical.

⚠️ *Note: All benchmark scores are approximate and may vary based on configuration. Server availability subject to stock.* ⚠️