1. 程式人生 > >centos7.5下網卡team建立

centos7.5下網卡team建立

ports ner onf centos slave 步驟 ipv4 dns amd

具體操作步驟:
nmcli connection add con-name team0 type team ifname team0 config ‘{"runner":{"name":"activebackup"}}‘ ip4 192.168.88.8/24 gw4 192.168.88.1
nmcli connection modify team0 ipv4.dns 8.8.8.8
nmcli connection add con-name team0-eth0 type team-slave ifname ens35 master team0
nmcli connection add con-name team0-eth1 type team-slave ifname ens36 master team0
nmcli connection up team0
nmcli connection up team0-eth0
nmcli connection up team0-eth1
teamdctl team0 stat
ping 192.168.88.1
teamnl team0 ports
teamnl team0 getoption activeport
teanml team0 setoption activeport 6
teamnl team0 getoption activeport
teamdctl team0 stat
nmcli device disconnect ens35
teamnl team0 ports
teamnl team0 getoption activeport
nmcli device connect ens36
teamnl team0 ports

centos7.5下網卡team建立