On 10/05/11 04:25, ads...@genis-x.com wrote:
> Hi all,
>
> Soo I've scratched my head on this one for a couple of hours and can't seem
> to figure out the right combination.
> I'm using Bering-uClibc_4 RC1.
>
> I copied the bonding.ko into /lib/modules and following 
> http://sourceforge.net/apps/mediawiki/leaf/index.php?title=Bering-uClibc_4.x
> _-_User_Guide_-_Basic_Configuration_-_Basic_System_Configuration#Add_kernel_
> Modules_for_your_hardware
> It mentions that anything in this folder will be loaded at boot time, yet
> the bonding.ko isn't.
No, all found hardware drivers (and dependencies) will be loaded at boot
time. Bonding module isn't a hw driver.
> Where do I load the bonding module? Is it still done the old way in
> /etc/modules 
Yes, you're right.
> (Maybe update the wiki to include bonding under here)
> The following Modules do still need to be listed in /etc/modules:
>     * tun, the network tunnel driver (required for AICCU and OpenVPN).
>     * lp, the line printer driver (required for the p9100 Package).
>
> Once I included the bonding module in /etc/modules that at least loads it
> now.
>
> So I figured I would add the following to /etc/modprobe.d for the options
> vi /etc/modprobe.d/aliases-bond.conf
> alias bond0 bonding
>       options bonding mode=1 miimon=100
>
> Once I did a save via lrcfg and rebooted anything in /etc/modprobe.d is NOT
> getting saved. 
>
/etc/modprobe.d is useful for files that are provided with packages.
Other options should be in /etc/modprobe.conf. I don't see advantages of
splitting this file to many files.
> I tried adding the options to /etc/modprobe.conf
> alias bond0 bonding
> options bonding mode=0 miimon=100 downdelay=200 updelay=200
>
> Saving and rebooting, and so far so good, bonding module is up but no
> interfaces assigned to it.
>
> My /etc/network/interfaces doesn't seem to work.
> This is what I have.
>
> auto bond0
> iface bond0 inet static
>         address 10.0.10.228
>         netmask 255.255.255.0
>         broadcast 10.0.10.255
>         bond-slaves eth1 eth2
>         bond-mode active-backup
>
> This doesn't work at all.
>
> Can anyone advise?
>
> Cheers
> Adam
This work OK for me:

#/etc/modules
bonding max_bonds=2 mode=802.3ad xmit_hash_policy=layer2+3

#/etc/network/interfaces
auto
bond0                                                                   
iface bond0 inet
static                                                      
        address
192.168.255.69                                               
        netmask
255.255.255.224                                              
        broadcast
192.168.255.95                                             
        slaves eth0  eth1

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to