Sie sind auf Seite 1von 15

RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.

in/rhel7-how-to-configure-nic-teaming/

1 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

2 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

3 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

[root@Techtutorial ~]# nmcli


connection show
NAME UUID TYPE DEVICE
[root@Techtutorial ~]# nmcli
device status
DEVICE TYPE
STATE CONNECTION
ens33 ethernet
disconnected --
ens36 ethernet
disconnected --6

[root@Techtutorial ~]# nmcli


connection add type team con-

4 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

name team0 ifname team0 config


'{"runner": {"name":
"activebackup"}}'
Connection 'team0' (28a9e70b-
8a8f-4354-a4ec-5cfac6577589)
successfully added.
[root@Techtutorial ~]# nmcli
connection show
NAME
UUID
TYPE DEVICE
team0 28a9e70b-8a8f-4354-
a4ec-5cfac6577589 team team0

[root@Techtutorial ~]# nmcli


connection modify team0
ipv4.addresses 192.168.4.50/24
ipv4.gateway 192.168.4.2
ipv4.dns 8.8.8.8
connection.autoconnect yes
ipv4.method manual

5 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

[root@Techtutorial ~]# nmcli


connection add type team-slave
con-name team0-port1 ifname
ens33 master team0
Connection 'team0-port1'
(8ca9c28b-bbbc-458f-
94fa-56b2f607864f)
successfully added.
[root@Techtutorial ~]# nmcli
connection add type team-slave
con-name team0-port2 ifname
ens36 master team0
Connection 'team0-port2'
(6e57d69e-44d3-4d12-8e6d-
dc6e70189800) successfully
added

[root@Techtutorial ~]# nmcli


connection show
NAME
UUID
TYPE DEVICE
team0-port2 6e57d69e-
44d3-4d12-8e6d-dc6e70189800
802-3-ethernet ens36
team0-port1 8ca9c28b-
bbbc-458f-94fa-56b2f607864f
802-3-ethernet ens33

6 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

team0 28a9e70b-
8a8f-4354-a4ec-5cfac6577589
team team0
[root@Techtutorial ~]# nmcli
device status
DEVICE TYPE
STATE CONNECTION
ens33 ethernet
connected team0-port1
ens36 ethernet
connected team0-port2
team0 team
connected team0

[root@Techtutorial ~]# nmcli


connection down team0
Connection 'team0'
successfully deactivated (D-
Bus active path:
/org/freedesktop
/NetworkManager
/ActiveConnection/0)
[root@Techtutorial ~]# nmcli
connection up team0
Connection successfully
activated (D-Bus active path:
/org/freedesktop
/NetworkManager
/ActiveConnection/4)

7 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

[root@Techtutorial ~]#
teamdctl team0 state
setup:
runner: activebackup
ports:
ens33
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
ens36
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: ens33

[root@Techtutorial ~]# nmcli


device disconnect ens33
Device 'ens33' successfully
disconnected.
[root@Techtutorial ~]#
teamdctl team0 state
setup:
runner: activebackup
ports:
ens36
link watches:

8 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: ens36

9 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

10 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

11 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

12 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

Secure
Connection
Failed
The connection to
jetpack.wordpress.com was
interrupted while the page was
loading.

The page you are trying to view


cannot be shown because the
authenticity of the received data
could not be verified.
Please contact the website

13 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

14 of 15 9/28/2017, 9:19 PM
RHEL7 how to configure NIC Teaming as Active Backup Failover https://arkit.co.in/rhel7-how-to-configure-nic-teaming/

15 of 15 9/28/2017, 9:19 PM