#
#bond
#
nmcli connection show
nmcli connection add con-name bond0 ifname bond0 type bond mode active-backup ip4 172.25.254.217/24
watch -n 1 cat /proc/net/bonding/bond0
ping 172.25.254.250
nmcli connection add con-name eth0 ifname eth0 type bond-slave master bond0
nmcli connection add con-name eth1 ifname eth1 type bond-slave master bond0
ifconfig eth0 down
ifconfig eth0 down
ifconfig eth1 up
#
team
#
nmcli connection add type team con-name team0 ifname team0 config '{"runner":{"name":"activebackup"}}' ip4 172.25.254.217/24
ping 172.25.254.250
nmcli connection add con-name eth0 ifname eth0 type team-slave master team0
nmcli connection add con-name eth1 ifname eth1 type team-slave master team0
watch -n 1 cat teamdctl team0 state
ifconfig eth0 down
ifconfig eth0 down
ifconfig eth1 up