我的问题如下:
我有两个10 GIG接口,我需要在bonding - LACP -模式4中使用。
mypc# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet manual
bond-master bond0
auto eth5
iface eth5 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
bond-mode 4
bond-miimon 100
bond-lacp-rate fast
mtu 11000
bond-slaves none
auto bond0.10
iface bond0.10 inet static
address 10.0.0.30
netmask 255.255.255.0
gateway 10.0.0.1
mtu 11000
vlan-raw-device bond0
auto bond0.20
iface bond0.20 inet static
address 10.0.1.31
netmask 255.255.255.0
gateway 10.0.1.1
mtu 11000
vlan-raw-device bond0
dns-nameservers 8.8.8.8
mypc# cat /etc/modprobe.d/bonding.conf
alias bond0 bonding
bonding mode=4 lacp_rate=1 miimon=100 max_bonds=1
probe bonding
mypc# cat /etc/modules
bonding
8021q正如您可以从主题中看到的那样,接口键0.10和键0.20在引导后仍然处于下线状态。
发布于 2013-11-25 03:52:54
我在大致相同的配置中遇到了同样的问题。首先,我在接口方面遇到了一些问题-- inet static而不是inet manual在bond0接口上,inet manual代替inet static在键0.x接口上。
不确定是否解决这个问题的唯一办法是解决这个问题。在排除故障时,我有几个没有出现债券0.x接口的实例。在每个接口配置部分的末尾添加语句,如下面所示,似乎有助于启动接口,而这些接口在以前的尝试中似乎没有出现。
up ifconfig bond0 up ## or bondo.x for each vlan interfacehttps://askubuntu.com/questions/359947
复制相似问题