[root@kvm5 ~]# teamdctl team0 state
setup:
runner: activebackup
ports:
eth1
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
eth2
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: eth1
[root@kvm5 ~]# ping -c4 -I team0 192.168.122.1 PING 192.168.122.1 (192.168.122.1) from 192.168.122.15 team0: 56(84) bytes of data. --- 192.168.122.1 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3060ms [root@kvm5 ~]# ping -c4 -I team0 192.168.122.1 PING 192.168.122.1 (192.168.122.1) from 192.168.122.15 team0: 56(84) bytes of data. 64 bytes from 192.168.122.1: icmp_seq=1 ttl=64 time=0.584 ms 64 bytes from 192.168.122.1: icmp_seq=2 ttl=64 time=0.340 ms 64 bytes from 192.168.122.1: icmp_seq=3 ttl=64 time=0.308 ms 64 bytes from 192.168.122.1: icmp_seq=4 ttl=64 time=0.278 ms --- 192.168.122.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3013ms rtt min/avg/max/mdev = 0.278/0.377/0.584/0.122 ms
[root@kvm5 ~]# nmcli connection down team0-port1 Connection 'team0-port1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/128)
[root@kvm5 ~]# teamdctl team0 state
setup:
runner: activebackup
ports:
eth2
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: eth2
[root@kvm5 ~]# ping -I team0 192.168.122.1 PING 192.168.122.1 (192.168.122.1) from 192.168.122.15 team0: 56(84) bytes of data. 64 bytes from 192.168.122.1: icmp_seq=15 ttl=64 time=0.619 ms 64 bytes from 192.168.122.1: icmp_seq=16 ttl=64 time=0.265 ms 64 bytes from 192.168.122.1: icmp_seq=17 ttl=64 time=0.324 ms ^C --- 192.168.122.1 ping statistics --- 17 packets transmitted, 3 received, 82% packet loss, time 16416ms rtt min/avg/max/mdev = 0.265/0.402/0.619/0.156 ms
[root@kvm5 ~]# nmcli connection up team0-port1 Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/130)
[root@kvm5 ~]# teamdctl team0 state
setup:
runner: activebackup
ports:
eth1
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
eth2
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: eth2