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.
The following virtual machines will be used:
Finding help in this section.
man nmcli-examples
/usr/share/doc/teamd-1.17/example_configs/
Creating a virtual team interface that is backed by two physical network interfaces.
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
ip link set enp0s8 promisc on ip link set enp0s9 promisc on
Install Teamd package (if not already installed)
yum install teamd
Install Network Manager team plugin (if not already installed)
yum install NetworkManager-team
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
nmcli con mod team-team0 ipv4.method manual ipv4.addresses 10.0.0.10/24
nmcli con mod team-team0 ipv4.method manual ipv4.addresses 10.0.0.20/24
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
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