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

Siim Põder windo at p6drad-teel.net
Tue Jan 27 08:05:09 GMT 2009


Hi

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:
http://www.mjmwired.net/kernel/Documentation/networking/bonding.txt

Siim




More information about the lvs-users mailing list