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

参考

相关文章
相关标签/搜索