本文共 786 字,大约阅读时间需要 2 分钟。
此链路使用接口 eth1 和 eth2此链路在其中一个接口失效时仍然能工作此链路在 system1 上使用下面的地址 172.16.3.20/24此链路在 system2 上使用下面的地址 172.16.3.25/24此链路在系统重启之后依然保持正常状态负载均衡-聚合连接 "runner": {"name": "roundrobin"}热备份-聚合连接 "runner": {"name": "activebackup"}
[root@server0 ~]# ifconfig1. 创建聚合连接配置[root@system1-2 ~]# nmcli connection add con-name team0 type team ifname team0 config '{"runner": {"name": "activebackup"} }'2.新建聚合成员连接[root@system1-2 ~]# nmcli connection add con-name team0-p1-2 type team-slave ifname eth1-2 master team03.配置IPv4地址[root@server0 ~]# nmcli connection modify team0 ipv4.method manual ipv4.addresses '172.16.3.20/24' connection.autoconnect yes4.激活聚合连接[root@system1-2 ~]# nmcli connection up team05.激活聚合成员连接[root@system1-2 ~]# nmcli connection up team0-p1[root@system1-2 ~]# nmcli connection up team0-p2
转载地址:http://drnwi.baihongyu.com/