聚合网络:配置teamd
{"runner":{"name":"activebackup"}} loadbalance
配置方式三种: 1.图形界面 2.命令行方式配置 3.修改配置文件模板的方式cd /usr/share/doc/teamd-1.15/example_ifcfgs/1 nmcli connection add type team con-name team0 ifname team0 config '{"runner":{"name":"activebackup"}}'
nmcli connection modify team0 ipv4.addresses 192.168.153.200/24 ipv4.method manual connection.autoconnect yes nmcli connection add type team-slave con-name team0-salve1 ifname eth1 master team0 nmcli connection add type team-slave con-name team0-salve1 ifname eth2 master team0 nmcli connection modify team0-salve1 connection.autoconnect yes nmcli connection modify team0-salve2 connection.autoconnect yes 查看运行级别:runlevel systemctl get-default 设置运行级别 init 3 init 5
systemctl isolate multi-user.target
systemctl list-units --type target