[root@10 ~]#nmcli connection add type bond con-name mybond0 ifname bond0 mode active-backup ipv4.method manual ipv4.address 10.0.0.100/24
Connection 'mybond0' (6a46af40-f191-4bb1-9271-57abb1e11c9f) successfully added.
添加从属接口
[root@10 network-scripts]#nmcli con add type bond-slave ifname eth0 master bond0
[root@10 network-scripts]#nmcli con add type bond-slave ifname eth1 master bond0
启动接口
nmcli connection up bond-slave-eth0
nmcli connection up bond-slave-eth1
标签:11,slave,nmcli,网卡,add,bond0,ifname,bond From: https://www.cnblogs.com/Zhou2001/p/16984128.html