配置聚合连接

[root@server0 /]# nmcli connection add type team autoconnect yes ifname team0 con-name team0 config '{"runner": {"name": "activebackup"}}' #man teamd.conf

[root@server0 /]# nmcli connection add type team-slave ifname eth1 con-name team0-1 autoconnect yes master team0

[root@server0 /]# nmcli connection add type team-slave ifname eth2 con-name team0-2 autoconnect yes master team0

[root@server0 /]# nmcli connection modify team0 ipv4.method manual ipv4.addresses 192.168.1.1/24 connection.autoconnect yes

[root@server0 /]# nmcli connection up team0
[root@server0 /]# nmcli connection up team0-1
[root@server0 /]# nmcli connection up team0-2
[root@server0 /]# ifconfig team0

 

posted @ 2018-05-29 19:22  wwchihiro  阅读(138)  评论(0编辑  收藏  举报