Raspberry Pi雙網卡bonding

安裝bond軟件

sudo apt-get install ifenslave

配置開機加載bond模塊

echo 'bonding' |sudo tee --append /etc/modules

配置網卡

在_/etc/network/interfaces_中追加ubuntu

auto bond0

iface bond0 inet static
    address 192.168.99.254
    netmask 255.255.255.0
    gateway 192.168.99.1
    bond-slaves eth0 eth1
    bond-mode 0
    bond-miimon 100
    bond-downdelay 200
    bond-updelay 200

重啓網絡

sudo systemctl restart network

參考

相關文章
相關標籤/搜索