centos7.5下网卡team建立

前端之家收集整理的这篇文章主要介绍了centos7.5下网卡team建立前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
具体操作步骤: 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

猜你在找的CentOS相关文章