Table of Contents

Use Network Teaming Or Bonding To Configure Aggregated Network Links Between Two Red Hat Enterprise Linux Systems

General Information

Network interface teaming is a new method of what RHEL 6 referred to as bonding. There are more available options in RHEL 7's network teaming.


Lab Setup

The following virtual machines will be used:


Help

Finding help in this section.


Team Creation

Creating a virtual team interface that is backed by two physical network interfaces.

Virtualbox Notes

To each virtual machine, add two network interfaces.

Each VM should end up with 3 total interfaces:


Due to the limitations of the virtualbox hypervisor, the virtual NICs must be configured to be in promiscuous mode.


When NICs are added to a team, the MAC address of the first slave gets duplicated to the team interface and any other slave interfaces added. This confuses the underlying virtualbox hypervisor.


In Virtualbox (Example from Virtualbox 5.2):

In the EL7 OS


Packages

Install Teamd package (if not already installed)

yum install teamd


Install Network Manager team plugin (if not already installed)

yum install NetworkManager-team

Interface Teaming

On each VM; Create a new team connection

nmcli con add type team ifname team0 config '{"runner": {"name": "loadbalance"}}'


Assign a static address to the virtual team0 interface


On each VM; Add two unconfigured interfaces (enp0s8 and enp0s9) to the virtual team0 interface

nmcli con add type team-slave ifname enp0s8 master team0
nmcli con add type team-slave ifname enp0s9 master team0


On each VM; Configure ports and team as up

nmcli con up team-slave-enp0s8
nmcli con up team-slave-enp0s9
nmcli con up team-team0


View team status (by team device name)

teamdctl team0 state


Team Config Command Examples

man nmcli-examples

Interface Bonding

If you run into issues with teaming not working correctly, you can always set up a bonded connection in order to achieve the objective on the exam.


This is straight from 'man nmcli-examples':

nmcli con add type bond ifname mybond0 mode active-backup
nmcli con add type ethernet ifname eth1 master mybond0
nmcli con add type ethernet ifname eth2 master mybond0