双网卡绑定
实验环境: RHEL7.0
# nmcli connection add type team con-name team0 ifname team0 config ‘{"runner":{"name":"activebackup"}}‘
# nmcli connection show
# nmcli connection modify team0 ipv4.addresses 192.168.254.88/24更改IP
# nmcli connection modify team0 ipv4.method manual设置固定IP模式
# nmcli connection add type team-slave ifname ens33 master team0 添加网卡1
# nmcli connection add type team-slave ifname ens37 master team0 添加网卡2
# nmcli connection delete rhce 删除以前的链接
# nmcli connection up team0
# systemctl restart network
# teamdctl team0 state查看team0状态
# nmcli device disconnect ens33 断开网卡ens33测试
# nmcli device connect ens33
本文出自 “威哥” 博客,请务必保留此出处http://yangmv.blog.51cto.com/2366107/1649891
原文地址:http://yangmv.blog.51cto.com/2366107/1649891