我有一个Debian 8系统,有两个我想要绑定的NIC。 我的托pipe交换机已经configuration为链接我正在使用的两个端口的聚合。
在Linux上,我已经安装了ifenslave 。
在/ etc / network / interfaces中,我有:
auto eth0 iface eth0 inet manual bond-master bond0 auto eth1 iface eth1 inet manual bond-master bond0 auto bond0 iface bond0 inet static address 10.0.0.100 netmask 255.255.0.0 gateway 10.0.0.1 slaves eth0 eth1 bond-mode 4 bond-miimon 100 bond_downdelay 200 bond_updelay 300
编辑:看起来像使用模式4时configuration是错误的。我很难find如何configuration802.3ad的例子。
编辑2:我尝试modprobe邦定模式= 4,现在cat / proc / net / bond0显示802.3ad,但是我的整个networking变得无法访问。
你是否创build了/etc/modprobe.d/bonding.conf
alias bond0 bonding options bonding mode=active-backup miimon=100 downdelay=200 updelay=200 primary=eth0