[Bug 574456] Re: hotplug-style bonding does not work after reboot - "service networking restart" needed to get it working

Steve Langasek steve.langasek at canonical.com
Sat Nov 5 20:25:08 UTC 2011


On Sat, Nov 05, 2011 at 07:04:57PM -0000, Shawn Teague wrote:
> As for the 
> > auto bond0.40
> > iface bond0.40 inet manual
> stanzas, are they not required in order to create the required bridges
> (used wholly by vm instances and not by the host)

The bridge-utils package already takes care of bringing up these
subinterfaces as soon as the main interface (in this case, bond0) is made
available.  So there's no need for separate stanzas for the subinterfaces,
especially since you aren't including any configuration.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org

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

Title:
  hotplug-style bonding does not work after reboot - "service networking
  restart" needed to get it working

Status in “ifenslave-2.6” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: ifenslave-2.6

  i just installed a fresh ubuntu 10.04 lts and tried to get bonding to
  work.

  i used the hotplug style as  suggested in the release notes ob 10.04 -
  but it only works as long as i don't reboot the system! when the
  system gets rebootet you have to restart networking service.

  kernel version:
  Linux 1004 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux
  package:
  ifenslave-2.6                       1.1.0-14ubuntu2

  /etc/network/interfaces:
  auto bond0
  iface bond0 inet static
          address 192.168.10.10
          netmask 255.255.255.0
          gateway 192.168.10.1
          bond-slaves none
          bond-mode 1
          bond-miimon 100

  auto eth0
  iface eth0 inet manual
          bond-master bond0
          bond-primary eth0 eth1

  auto eth1
  iface eth1 inet manual
          bond-master bond0
          bond-primary eth0 eth1

  this does not work after reboot of the system!
  when i use the old style with loaded module it works for me.

  working example:
  /etc/modprobe.d/bonding
  install bond0 /sbin/modprobe bonding -o bond0 mode=balance-xor miimon=100

  /etc/network/interfaces:
  auto bond0
  iface bond0 inet static
          address 192.168.10.10
          netmask 255.255.255.0
          gateway 192.168.10.1
          post-up ifenslave bond0 eth0 eth1
          pre-down ifenslave -d bond0 eth0 eth1

  i hope this infos help to get the "hotplug-stlye" version up and
  running even if a system reboots! :-)

  thx
  manfred

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/574456/+subscriptions




More information about the foundations-bugs mailing list