From 9e341fbb562a4686c26f3e97b1b82b3c4ca987f2 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Tue, 12 Nov 2019 22:46:18 +0000 Subject: 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. --- modprobe.d/bonding.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 modprobe.d/bonding.conf (limited to 'modprobe.d') 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 -- cgit v1.2.3