On Sat, Nov 05, 2011 at 04:08:44PM -0000, Shawn Teague wrote:
> Here is my final /etc/interfaces
> ****
> auto lo
> iface lo inet loopback

> auto bond0
> iface bond0 inet manual
>     bond-slaves eth0 eth1

> auto eth0
> allow-bond0 eth0
> iface eth0 inet manual

This is not a supported method of configuring bonded interfaces in Ubuntu. 
The event-driven startup means that the bonding has to be initiated from the
side of the physical interface, not from the bonding interface.

You should have the following instead:

  auto bond0
  iface bond0 inet manual
    bond-slaves none
    bond-primary eth0 eth1

  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


(You don't have to list both interfaces as primary, but at least one of them
should be AIUI.)

> auto bond0.100
> iface bond0.100 inet manual

> auto bond0.30
> iface bond0.30 inet manual

> auto bond0.31
> iface bond0.31 inet manual

> auto bond0.40
> iface bond0.40 inet manual

I think these can all be left out since you aren't actually bringing up any
configuration on them.  And anyway, these would often fail to be started by
ifupdown at all with an event-based boot.

-- 
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/
[email protected]                                     [email protected]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/574456

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to