CentOS Bonding LACP
跳至導覽
跳至搜尋
了解網卡的狀態
nmcli device status nmcli connection show
去除實體網卡設定
nmcli connection delete ens7
建立 bonding 網卡
nmcli connection add type bond con-name bond0 ifname bond0 mode 802.3ad
附掛實體網卡
nmcli connection add type bond-slave ifname eno3 master bond0
網卡設定
nmcli connection modify bond0 ipv4.addresses 192.168.1.210/24 nmcli connection modify bond0 ipv4.gateway 192.168.1.1 nmcli connection modify bond0 ipv4.method manual
啟動介面
順序從 Slave Interface 到 Bonding Interface