LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: "LinuxVirtualServer.org 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
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

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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