summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-03-19 13:06:38 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2012-03-19 13:09:27 -0700
commit76d3fceb58d757a2acd72a89f6098a45b53fc944 (patch)
treec47a7fb8cc02f26c258176940b315af4fa5dd9f8
parent65be94a34a60c5c09e40aa85b65820a1b792f91f (diff)
downloadopenrc-76d3fceb58d757a2acd72a89f6098a45b53fc944.tar.gz
openrc-76d3fceb58d757a2acd72a89f6098a45b53fc944.tar.bz2
openrc-76d3fceb58d757a2acd72a89f6098a45b53fc944.tar.xz
doc/net.example: Update bonding example
The newer bonding code using sysfs does not clearly show the most common bond parameter: mode Also include a path to the referenced kernel documentation for the other settings. X-Gentoo-Bug: 408333 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=408333 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--doc/net.example.Linux.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 1d30545..51df8a9 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -616,9 +616,16 @@
#slaves_bond0="eth0 eth1 eth2"
#config_bond0="null" # You may not want to assign an IP the the bond
-# You can also configure the bond here, which must be done via sysfs on 2.6
-# kernels or newer. See the kernel bonding documentation for a description of
-# these options.
+# You can also configure the parameters of the bond here, which must be done
+# via sysfs on 2.6 kernels or newer. The description of all the options can be
+# found in the kernel: /usr/src/linux-*/Documentation/networking/bonding.txt
+# You will probably want the 'mode' option at the least.
+# Some possible parameters: mode fail_over_mac arp_validate arp_interval
+# arp_ip_target downdelay updelay lacp_rate ad_select xmit_hash_policy
+# num_grat_arp num_unsol_na miimon primary primary_reselect use_carrier
+# active_slave queue_id all_slaves_active resend_igmp min_links
+#mode_bond0="round-robin"
+#miimon_bond0="100"
#arp_ip_target_bond0="+26.0.0.0"
# If any of the slaves require extra configuration - for example wireless or