From 76d3fceb58d757a2acd72a89f6098a45b53fc944 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 19 Mar 2012 13:06:38 -0700 Subject: 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 --- doc/net.example.Linux.in | 13 ++++++++++--- 1 file 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 -- cgit v1.2.3