[Bug 881379] Re: ifenslave fails to bring up bond link

Alexandr Novel 881379 at bugs.launchpad.net
Wed Oct 3 19:27:23 UTC 2012


Either software is wrong or something else.
Should there something else be configured on the switch besides LACP?

Dell Powerconnect S55 (Force10)

root at bob:~# grep -i vlan /var/log/syslog
Oct  3 06:17:53 crawler kernel: [   13.651251] 8021q: 802.1Q VLAN Support v1.8
Oct  3 06:17:53 crawler kernel: [   14.064809] 8021q: adding VLAN 0 to HW filter on device bond0
Oct  3 06:17:53 crawler kernel: [   14.065426] 8021q: VLANs not supported on bond0
Oct  3 06:17:53 crawler kernel: [   14.120531] 8021q: adding VLAN 0 to HW filter on device bond0
Oct  3 06:17:54 crawler kernel: [   14.450877] ADDRCONF(NETDEV_UP): vlan650: link is not ready
Oct  3 06:17:57 crawler kernel: [   17.419812] ADDRCONF(NETDEV_CHANGE): vlan650: link becomes ready
Oct  3 06:18:07 crawler kernel: [   27.816013] vlan650: no IPv6 routers present

root at bob:~# cat /proc/net/vlan/config 
VLAN Dev name	 | VLAN ID
Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD
vlan650        | 650  | bond0

root at crawler:~# cat /etc/network/interfaces 
# The loopback network interface
auto lo
iface lo inet loopback

auto bond0
iface bond0 inet manual 
 bond-mode 802.3ad
 bond-miimon 100
 bond-lacp-rate 1
 bond-slaves none

auto eth2
iface eth2 inet manual
 bond-master bond0

auto eth3
iface eth3 inet manual
 bond-master bond0

auto vlan650
iface vlan650 inet static
 address 10.15.32.66
 gateway 10.15.32.1
 netmask 255.255.252.0
 dns-nameservers 10.17.156.68 10.17.156.69
 vlan_raw_device bond0

-- 
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