team链路聚合
方式:广播,轮询,主备,负载均衡
操作过程:
1,ifconfig查看网卡是否有两块,且没有ip地址.
2.配置文件
添加轮询team
nmcli connection add con-name team0 ifname team0 type team config '{"runner":{"name":"activebackup"}}' ip4 172.25.254.114
添加物理接口
nmcli connection add con-name eth0 ifname eth0 team-slave master team0
nmcli connection add con-name eth1 ifname eth1 team-slave master team0
3测试
watch -n 1 teamdctl team0 stat 检测team0
ifconfig eth0 down
ifconfig eth1 down