Re: [lvs-users] Bonding module in xor and rr mode

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Bonding module in xor and rr mode
From: Siim Põder <windo@xxxxxxxxxxxxxxx>
Date: Tue, 27 Jan 2009 10:05:09 +0200

Guillaume LECCESE wrote:
> So, how set different parameters for each instance ?

max_bonds=n loads n bonds with the parameters specified. the way to do
this, is remove max_bonds=2. Note that you may have to use -o bond0 and
-o bond1 to rename the loaded module (in order to load it multiple times).

Another, likely to be better approach is to use this to create new bond:

echo +bond1 > /sys/class/net/bonding_masters

followed by:

echo 2 > /sys/class/net/bond1/bonding/mode

It's all in bonding documentation, see here for example:


Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

<Prev in Thread] Current Thread [Next in Thread>