Configuring Network Bonding in Linux

Loading

Linux network bonding driver provides a method for joining multiple physical network interfaces into a single logical bonded interface thus aiming to provide us with a higher level of bandwidth and also ensuring network redundancy and load balancing at the NIC level.

Set up Network Bonding

As part of this assignment, I’ve attached two NICs on my VM. We will join two NICs (ens192, and ens122) and we will attempt to make them into one bonded NIC named bond0 and apply a round-robin policy for fault tolerance and load balancing.

Virtual MachineNetwork Interface NamePurposeBonded Interface
virt-scale-05ens192NIC_ABOND0
ens224NIC_BBOND0
ens225DRAC

Types of Network Load balancing

Display Current network devices

 Delete existing network connections

Show Interfaces

Add a new bonding device eg – [bond0]

Add member devices to the bonding device

[root@virt-scale-05 ~]# nmcli connection add type bond ifname bond0 con-name bond0 bond.options “mode=balance-rr”
Connection ‘bond0’ (6d13e394-1b7e-4867-9963-b65e9df709ec) successfully added.
[root@virt-scale-05 ~]#

Show Interfaces

Configure Networking on the bonding device

Verify connection state

Verify Bonding state

Location of Config files

List Network Connection


(Visited 29 times, 1 visits today)

By Ash Thomas

Ash Thomas is a seasoned IT professional with extensive experience as a technical expert, complemented by a keen interest in blockchain technology.