https://blog.csdn.net/tladagio/article/details/80974422
Centos7多网卡配置端口聚合(bond方式)
https://www.cnblogs.com/larrypeng/p/11874014.html
配置过程
1、nmcli查看设备状态,新增的网卡CONNECTION为Wired connection 2和1状态
CODE:
nmcli device status
2、创建链接聚合team1并查看网卡状态
CODE:
nmcli connection add type team con-name team1 ifname team1 config '{"runner":{"name":"activebackup"}}'
3、将两张新网卡添加到这个team1中并查看网卡状态
CODE:
nmcli connection add type team-slave con-name em1 ifname em1 master team1
CODE:
nmcli connection add type team-slave con-name em2 ifname em2 master team1
4、配置team1的IP地址,红色框是需要修改和添加的内容
5、重启网卡服务
CODE:
systemctl restart network
CODE:
nmcli device status
ip add
teamdctl team1 state
[ 此贴被deserts在2022-01-18 13:04重新编辑 ]