[Hampshire] Set bond mode, when bonding is compiled in to th…

Top Page
Author: David Ramsden
Date:  
To: hampshire
Subject: [Hampshire] Set bond mode, when bonding is compiled in to the kernel?

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x58364100.hantslug.org.uk.22281': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Thu Mar 12 02:25:31 2009 GMT
gpg: using DSA key B15F69BD3454B217
gpg: Can't check signature: No public key
Hi,

I've got a kernel where module support is disabled. The server the
kernel is running on needs to make use of bonding to increase network
throughput.

Normally, you'd modprobe bonding and set the bonding options. e.g. in
modules.conf:

alias bond0 bonding
options bonding mode=6 miimon=100

But since I've got no module support and bonding is compiled in to the
kernel, how can I specify the bonding options such as the bond mode?
This is running on Ubuntu Hardy LTS which doesn't seem to support the
"bond-mode" stanza in interfaces(5).

If push comes to shove, I can enable module support but my preference is
to leave it disabled.

Regards,
David.
-- 
 .''`.     David Ramsden
: :'  :    http://0wned.it/
`. `'`     PGP key ID: 3454B217 on wwwkeys.eu.pgp.net
  `-  Debian - Because it works (tm).