Intermediate LevelLinux Commands & SysAdmin
What is Network Interface Bonding / Teaming and how does it provide network link aggregation?
❓ Interview Prompt: Explain NIC Bonding / Teaming, link aggregation (LACP 802.3ad), active-backup failover, and bond modes (0-6).
NIC Bonding combines multiple physical network interface cards (NICs) into a single logical bonded interface ('bond0'):
Common Bonding Modes:
•
Mode 1 (Active-Backup): One slave NIC is active; secondary slave takes over instantly if active link fails (high availability).
•
Mode 4 (Dynamic Link Aggregation - LACP 802.3ad): Combines bandwidth of multiple physical links using switch LACP protocol for high throughput.
Code Implementation Example
ini
# Netplan / NetworkManager Bonding Configuration
bonds:
bond0:
dhcp4: no
addresses: [192.168.1.50/24]
interfaces: [enp3s0, enp4s0]
parameters:
mode: active-backup
primary: enp3s0💡Configuring active-backup network interface bonding.
🎯 Interview Key Takeaway
Use active-backup bonding for network hardware failover, and LACP (Mode 4) for high-throughput link aggregation.
#NIC Bonding#Teaming#LACP#Networking#Intermediate
Back to all Linux Commands & SysAdmin Questions→