码迷,mamicode.com
首页 > 其他好文 > 详细

centos7.5下网卡team建立

时间:2019-01-01 21:48:58      阅读:272      评论:0      收藏:0      [点我收藏+]

标签:team   centos7   eth   get   config   add   dns   backup   ping   

具体操作步骤:
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建立

标签:team   centos7   eth   get   config   add   dns   backup   ping   

原文地址:http://blog.51cto.com/jxwpx/2337603

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!