测试平台workstation,服务器平台注意网卡名称信息即可
查看网卡信息(这里以网卡名称ens32 和ens33为例)
ip add
配置双网卡
nmcli connection add type team con-name team0 ifname team0 config '{"runner":{"name":"activebackup"}}'
nmcli connection modify team0 ipv4.addresses "192.168.181.130/24" ipv4.gateway 192.168.181.1 ipv4.dns 114.114.114.114 ipv4.method manual
nmcli connection add type team-slave con-name team0-port1 ifname ens32 master team0
nmcli connection add type team-slave con-name team0-port2 ifname ens33 master team0
查看team0 是否存在
nmcli connection show
激活网卡
nmcli connection up team0
nmcli connection up team0-port1
nmcli connection up team0-port2
测试网络故障(实际测试环境插拔网线)
ping 网关或其他主机IP