Hi,

I have several servers using the bond configuration on 8.04.  I found the most 
effective way to enable this was to do the modprobe configuration (though the 
URL you posted has better instructions than I did), then I make the following 
in the interfaces file:

auto bond0
iface bond0 inet static
   address 10.10.10.10
   netmask 255.255.255.0
   gateway 10.10.10.1
   post-up ifenslave bond0 eth0 eth1

I originally had the line:
post-up ifenslave bond0 eth0 eth1
replaced with:
slaves eth0 eth1 

However did not get consistent operations.

I am using mode 1 for all teams.

Thanks.
Andrew.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Serge van 
Ginderachter
Sent: 18 June 2009 10:43
To: ubuntu-server
Subject: Interface bonding

Hi all,


I have been following https://help.ubuntu.com/community/UbuntuBonding
to set up a bond of two network interfaces, and it seems to me this
documentatuoin has certain flaws.

No problem with the Module Alias Configuration. AFAIK this
configuration will already make sure that the bonding module is probed
and loaded. I then have some remarks on the interface configuration
part.

* loading and unloading the module through pre-up and post-down
statements is not necessary, as the loading already happens in de
modproe.d config, and might even be unwanted in tha case were one has
multiple bonds configured, which would (try to) unload the module
after bringing one bond down, whilst it still being in use for another
one.
* configuring the bond  (ifenslave bond0 eth1 eth2) in the (post-)up
statements didn't work for me: it seemed (post-)up happens after
configuring an ip, but at that time the bond is not configured yet,
and configuring the ip results in an error. I'm not totally sure if
this is eneral logical behaviour or if I just messed something up at
one point in my config trial and error.
* finally, this howto does not mention the by far easier method
explained in /usr/share/doc/ifenslave-2.6/README.Debian: it's just
enough to use the "slaves eth0 eth1" in the iface bond0 stanza


It might be interesting to have those remarks reviewed, to check if my
evaluation is correct.



     Met vriendelijke groet,

     Serge van Ginderachter

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

-- 
allpay achieved PCI DSS and ISO 27001 certification in 2008
Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88.

Telephone: 0844 225 5729, Fax: 0844 557 8350. 
Website: www.allpay.net Email: [email protected]

This email, and any files transmitted with it, is confidential and intended 
solely for the use of the individual or entity 
to whom it is addressed. If you have received this email in error please notify 
the allpay Information Security 
Manager at the number above.


-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to