创建逻辑接口,指定算法
nmcli connection add ifname team100 con-name team100 type team config '{ "runner":{"name": "lacp", "active": true, "fast_rate": true, "tx_hash": ["eth", "ipv4"]},"link_watch": {"name": "ethtool"}}'
配置IP地址及网关
nmcli connection modify team100 ipv4.address 10.203.37.11/24 ipv4.gateway 10.203.37.253
配置接口获取IP地址的方式
nmcli connection modify team100 ipv4.method manual