[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen 4.3 - bridge with bonding under Debian Wheezy


  • To: xen-users@xxxxxxxxxxxxx
  • From: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • Date: Thu, 15 Aug 2013 18:21:21 -0500
  • Delivery-date: Thu, 15 Aug 2013 23:22:50 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hello.

El 15/08/13 10:59, Ian Campbell escribió:
On Thu, 2013-08-15 at 17:19 +0200, Walter Robert Ditzler wrote:
Sorry,

Copy Paste Error here: the interface file looks like that:

  auto bond0
  iface bond0 inet manual

manual? doesn't that mean you need up and down stanzas to actually do
the work since ifup won't do anything?

This is a copy-paste from my production, Debian Squeeze. Just works:

auto bond0
iface bond0 inet manual
  slaves eth2 eth3 eth4 eth5
  bond-mode 802.3ad
  bond-miimon 100
  bond-updelay 100
  bond-downdelay 200

auto xenbr16
iface xenbr16 inet manual
#  bridge_ports eth0.16
  bridge_ports bond0.16
  bridge_stp off
  bridge_maxwait 0
  bridge_fd 5


If the mode is set to "static", ifupdown scripts get scared because of lack of IP address and netmask definitions. As I understand it, the bond is actually assembled due to "slaves" keyword and the change to "UP" state is done implicitly somewhere else.

Walter, note that in your case, you better use "static" in the bridge definition, because you do want to specify address and netmask. Those parameters are not needed in your bond definition. Also, it would be nice to know what error do you get when trying to bring up the interfaces. Comment out "auto" keyword and bring them up manually first, in the correct order. Watch for errors, they shall tell you what is wrong. Once it's working, enable auto back.

Greetings.

--
Alexandre Kouznetsov


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.