Re: ethernet channel bonding (bonding.o) on 2.6.x

From: Mark Watts
Date: Tue Nov 02 2004 - 04:31:27 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


[cc: lkml for the archives]

>
> The module should support multiple bonds by loading just one module,
> however in:
>
> include/linux/if_bonding.h:81:#define BOND_DEFAULT_MAX_BONDS 1 /*
> Default maximum number of devices to support */
>
> Have you tried adding the option:
>
> max_bonds = 2
>
> the the options line?
>
> With regard to the line:
>
> options bond1 -o bonding1 miimon=100 mode=1
>
> I ran into this one a while ago as the -o option doesn't work with 2.6
> kernels in the modprobe.conf file. I believe the theory is that modules
> should be able to support multiple devices without having to be loaded
> twice.


This works perfectly!

I'll do a patch to the documentation to reflect this.

Thanks.

Mark.

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBh1Q2Bn4EFUVUIO0RAjG5AKCSYDrVjLOHFcC4mycsBe9R6FtwzACcC2ki
LX/IhlscYF889fGU0U8IwYA=
=Vex7
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/