team高可用
文章目录
一、添加两张网卡
1、关闭客户机
2、添加两张网卡,网络连接模式均为NAT模式
3、启动客户机
4、查看本地网卡情况,检测是否添加成功
命令:
nmcli device
结果:
[root@redhat_1 ~]# nmcli device
DEVICE TYPE STATE CONNECTION
ens160 ethernet connected ens160
ens224 ethernet connected Wired connection 1
ens256 ethernet connected Wired connection 2
lo loopback unmanaged --
二、选择链路聚合配置模型
1、查看示例文件
cd /usr/share/doc/teamd/example_configs/
ll
示例结果:
[root@wang example_configs]# ll
total 64
-rw-r--r--. 1 root root 305 Dec 9 2018 activebackup_arp_ping_1.conf
-rw-r--r--. 1 root root 465 Dec 9 2018 activebackup_arp_ping_2.conf
-rw-r--r--. 1 root root 194 Dec 9 2018 activebackup_ethtool_1.conf
-rw-r--r--. 1 root root