Linux 命令行配置bonding

nmcli con add type bond ifname bond0 con-name bond0 mode 4 miimon 100
nmcli con add type bond-slave ifname ens21 master bond0
nmcli con add type bond-slave ifname ens23 master bond0
nmcli con modify bond0 ipv4.addresses 192.168.3.1/24 ipv4.method manual ipv4.gateway 

  

posted @ 2024-01-05 10:47  LB_运维技术  阅读(25)  评论(0编辑  收藏  举报