Skip to contentSkip to conversation

Documentation/networking/bonding.txt update

PATCH New Mark Watts 1 participant 1 message Nov 15, 2004

lore
Share & tools
lore

Mark Watts

author
#0 lore raw

PATCH 1/1 Documentation/networking/bonding.txt update

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

Updates to Documentation/networking/bonding.txt to reflect an apparent change in how to load the bonding.o driver more than once (Based on experience with migrating a quad-nic/dual-bond server from 2.4.x to 2.6.x).

diff -Nurd linux-2.6.9/Documentation/networking/bonding.txt linux-2.6.9-mrw/Documentation/networking/bonding.txt
- --- linux-2.6.9/Documentation/networking/bonding.txt 2004-10-18
22:53:45.000000000 +0100
+++ linux-2.6.9-mrw/Documentation/networking/bonding.txt 2004-11-02
09:48:05.831738136 +0000
@@ -418,17 +418,27 @@
driver multiple times allows each instance of the driver to have differing options.

+Note: 2.6 kernel modules are capable of being loaded multiple times without +being explicitly loaded twice. The bonding.o driver however, defaults to +only allowing you to load it once, unless you use the max_bonds parameter. +Using "-o bonding1" is depreciated for 2.6 kernels.
+
For example, to configure two bonding interfaces, one with mii link monitoring performed every 100 milliseconds, and one with ARP link
- -monitoring performed every 200 milliseconds, the /etc/conf.modules should +monitoring performed every 200 milliseconds, the /etc/modprobe.conf should resemble the following:

alias bond0 bonding
alias bond1 bonding

+# For Kernel 2.4 (/etc/modules.conf or conf.modules):
options bond0 miimon=100
options bond1 -o bonding1 arp_interval=200 arp_ip_target=10.0.0.1

+# for Kernel 2.6:
+options bond0 miimon=100 max_bonds=2 +options bond1 arp_interval=200 arp_ip_target=10.0.0.1 +
Configuring Multiple ARP Targets
================================

- --
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)

iD8DBQFBmLvJBn4EFUVUIO0RAm5BAJ9+NiHTHtdUwdR3NE69dnD0Y7tQ3gCgxMUY CfRSAabygSimbUgRHRPO05s=
=mu17
-----END PGP SIGNATURE-----