[Bug 974218] Re: Ifenslave-2.6 problem in ubuntu 12;04 precise

Robie Basak 974218 at bugs.launchpad.net
Wed May 23 09:04:55 UTC 2012


@simonnix

You have missing bond-primary directives and auto against bond0 instead
of eth0 and eth1. Please re-read Tyler's comment - I think he has it
right - and double check against the documentation.


In Precise, the method of specifying bonding has changed, since it changed in Debian. This is because bonding has to be defined from the point of view of each interface instead of the other way round in order to avoid a race condition. This is documented: see http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/ifenslave-2.6/precise/view/head:/debian/README.Debian

Consider the original reporter. He had not changed his configuration to
the new form, so bonding did not work for him. So this bug (if any) is
that an upgrade does not fix your configuration file for you. Thus I'm
happy to leave this bug open on this basis, and if anybody can post a
patch that reliably provides an automatic upgrade path, then please do
so.


If you are having other problems with bonding not related to the configuration change or upgrade path, then please check carefully against the current documentation and file a new bug.

** Changed in: ifenslave-2.6 (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: ifenslave-2.6 (Ubuntu)
       Status: Confirmed => Triaged

** Tags removed: patch

** Summary changed:

- Ifenslave-2.6 problem in ubuntu 12;04 precise
+ Bonding configuration change in Precise provides no automatic upgrade path

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

Title:
  Bonding configuration change in Precise provides no automatic upgrade
  path

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

Bug description:
  Hi,

  I use ubuntu in my server, i have two interfaces bonds connected,
  bond0 -> eth2 and eth3
  bond1 -> eth3 and eth4

  In old versions the package ifenslave, my interface bound, works
  without problems

  But in latest version the package ( 1.1.0-19ubuntu5 ) , the interface
  up but not ping.

  Now i use version ifenslave-2.6 (1.1.0-19ubuntu1) and my interfaces
  works without problems.

  My archive :
  /etc/init.d/network/interfaces :

  auto bond0
  iface bond0 inet static
     pre-up ip link set eth2 up
     pre-up ip link set eth3 up
     address 192.168.0.2
     broadcast 192.168.0.255
     post-up ifconfig bond0 mtu 9000
     netmask 255.255.255.0
     slaves eth2 eth3
     bond_mode broadcast
     bond_miimon 100
     bond_updelay 200
     bond_downdelay 500
     bond_usecarrier 1
  auto bond1
  iface bond1 inet static
     broadcast 192.168.1.255
     address 192.168.2.2
     pre-up ip link set eth4 up
     pre-up ip link set eth5 up
     netmask 255.255.255.0
     post-up ifconfig bond1 mtu 9000
     slaves eth4 eth5
     bond_mode broadcast
     bond_miimon 100
     bond_updelay 200
     bond_downdelay 500
     bond_usecarrier 1

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




More information about the foundations-bugs mailing list