CentOS8.4配置LACP聚合
创建虚拟聚合网口
nmcli con add type bond con-name team0 ifname team0 mode 4
将物理网口加入到该虚拟网口
nmcli con add type bond-slave con-name eno1 ifname eno1 master team0
nmcli con add type bond-slave con-name eno2 ifname eno2 master team0
配置虚拟机网口的IP等
nmcli con modify team0 ipv4.method manual ipv4.addresses 192.168.0.100/24 ipv4.gateway 192.168.0.254 ipv4.dns 192.168.0.1,192.168.0.2 autoconnect yes
启用网口
nmcli con up team0