diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2019-11-12 22:46:18 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2019-11-13 00:19:04 -0600 |
commit | 9e341fbb562a4686c26f3e97b1b82b3c4ca987f2 (patch) | |
tree | 30ee7a206cad46b94ef5900c29fa67dadb1f2826 /modprobe.d | |
parent | 9383f916300851f71f74936ab7e193b63857cea8 (diff) | |
download | slacknetsetup-9e341fbb562a4686c26f3e97b1b82b3c4ca987f2.tar.xz |
Initial support for bonding (link aggrigation) in rc.inet1.
The bonding code introduces three new variables for use in rc.inet1.conf:
BONDNICS[x]=""
BONDMODE[x]=""
BONDOPTS[x]=""
The BONDNICS variable takes a list of interfaces which should be slaved to
the bond.
BONDMODE sets the mode of the bond. Useful options are 'balance-rr',
'active-backup' and '802.3ad'. A full list of options can be found in
/usr/src/linux/Documentation/networking/bonding.txt and README.bonding.
BONDOPTS are a pipe (|) separated list of options to apply to the bond after
the interfaces have been added. Useful options are 'primary' (which is
required when BONDMODE is 'active-backup', 'xmit_hash_policy' (which can be
used with 'balance-rr' to choose the hash policy, 'lacp_rate' (which should
be used with '802.3ad' mode), and 'miimon' (which should be used with all
modes) See the kernel source documentation or README.bonding for more info.
Diffstat (limited to 'modprobe.d')
-rw-r--r-- | modprobe.d/bonding.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modprobe.d/bonding.conf b/modprobe.d/bonding.conf new file mode 100644 index 0000000..20652c2 --- /dev/null +++ b/modprobe.d/bonding.conf @@ -0,0 +1,2 @@ +options bonding max_bonds=0 +options rtnl-link-bond max_bonds=0 |