nmcli connection add type bond con-name bond0 ifname bond0 mode balance-rr!·······创建bond 0
nmcli connection add type bond-slave con-name bond0-enp4s0f1 ifname enp4s0f1 master bond0 ········将网卡enp4s0f1加入到bond0中
nmcli connection add type bond-slave con-name bond0-enp4s0f0 ifname enp4s0f0 master bond0·······将网卡enp4s0f0加入到bond0中
nmcli connection up bond0·········开启bond0聚合口
nmcli connection up bond0-enp4s0f0
nmcli connection up bond0-enp4s0f1
nmcli connection add type bond con-name bond1 ifname bond1 mode balance-rr
nmcli connection add type bond-slave con-name bond1-enp6s0f0 ifname enp6s0f0 master bond1
nmcli connection add type bond-slave con-name bond1-enp6s0f1 ifname enp6s0f1 master bond1
nmcli connection up bond1
nmcli connection up bond1-enp6s0f1
nmcli connection up bond1-enp6s0f0
Centos组聚合口方式
时间:2023-05-20
相关推荐