[Bug 881379] Re: ifenslave fails to bring up bond link
Aaron Toponce
aaron.toponce at gmail.com
Tue May 1 20:11:50 UTC 2012
Agreed this bug is certainly not fixed. No matter what I through at my
interfaces(5) file, I cannot create a VLAN on a bonded interface. Both
the "bonding" and "8021q" modules are loaded into the kernel. My config:
# /etc/modules
bonding mode=802.3ad lacp_rate=fast miimon=100 ad_select=bandwidth xmit_hash_policy=layer2+3
# /etc/network/interfaces
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto eth2
iface eth2 inet manual
bond-master bond0
auto eth3
iface eth3 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
slaves eth0 eth1 eth2 eth3
auto bond0.11
iface bond0.11 inet static
address 192.168.11.5
netmask 255.255.255.0
gateway 192.168.11.1
# result of "/etc/init.d/networking restart":
Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/config
ERROR: trying to add VLAN#11 to IF -:bond0:- error: Operation not supported
Cannot find device "bond0.11"
Failed to bring up bond0.11
# /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: down
MII Polling Interval (ms): 100
Up Dely (ms): 0
Down Delay (ms): 0
802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
bond bond0 has no active aggregator
# /proc/net/vlan/config
VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/881379
Title:
ifenslave fails to bring up bond link
Status in “ifenslave-2.6” package in Ubuntu:
Fix Released
Bug description:
After upgrade of ubuntu-server from maveric to oneiric, a bond link
failed to automatically get up on system startup.
The network is configured as follows and the configuration was not
changed:
root at srv2:/etc/network/if-pre-up.d# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_mode 4
bond_miimon 100
bond_downdelay 200
bond_updelay 200
bond_lacp_rate 1
auto bond0.904
iface bond0.904 inet manual
auto vmbr0
iface vmbr0 inet static
bridge_ports bond0.904
bridge_stp off
address 192.168.220.2
netmask 255.255.255.0
network 192.168.220.0
broadcast 192.168.220.255
gateway 192.168.220.254
The simple solution is to change line order of "enslave_slaves" in /etc/network/if-pre-up.d/ifenslave -- se attached diff
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/881379/+subscriptions
More information about the foundations-bugs
mailing list