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 /rc.inet1.conf | |
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 'rc.inet1.conf')
-rw-r--r-- | rc.inet1.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rc.inet1.conf b/rc.inet1.conf index ce22cd3..e48f5c1 100644 --- a/rc.inet1.conf +++ b/rc.inet1.conf @@ -78,6 +78,23 @@ DEBUG_ETH_UP="no" # ============================================================================= +# Example of how to configure a bond (link aggrigation) interface. + +# IFNAME[0]="bond0" +# BONDNICS[0]="eth0 eth1" +# BONDMODE[0]="balance-rr" +# BONDOPTS[0]="xmit_hash_policy layer2+3 | miimon 100" +# IPADDR[0]="192.168.0.1" +# NETMASK[0]="24" +# IPALIASES[0]="" +# USE_DHCP[0]="" +# DHCP_HOSTNAME[0]="" +# IP6ADDRS[0]="" +# USE_SLAAC[0]="" +# USE_DHCP6[0]="" + +# ============================================================================= + # Example of how to configure a VLAN interface. # The VLAN ID is taken from the full interface name, which is comprised of the # underlying interface name, a period (.) and then the VLAN ID. |