summaryrefslogtreecommitdiffstats
path: root/rc.inet1.conf
diff options
context:
space:
mode:
authorDarren 'Tadgy' Austin <darren@afterdark.org.uk>2019-11-13 04:49:05 +0000
committerRobby Workman <rworkman@slackware.com>2019-11-13 00:22:00 -0600
commitff04de0b45fe7f24685af3b9523260a313fd0942 (patch)
treea80de479636fac90e78cb8334f25e5172bf8873e /rc.inet1.conf
parent81f8f8a24fa6d91eb67c8b6bd215afb779722b65 (diff)
downloadslacknetsetup-ff04de0b45fe7f24685af3b9523260a313fd0942.tar.xz
Added support for a BROPTS variable to set bridge specific settings.
Before, it was not possible to set bridge specific options when creating a bridge. This option adds the ability to set options via a BROPTS variable, which takes a pipe (|) delimited set of options as documented in the ip-link(8) man page (search for "BRIDGE Type Support").
Diffstat (limited to 'rc.inet1.conf')
-rw-r--r--rc.inet1.conf19
1 files changed, 12 insertions, 7 deletions
diff --git a/rc.inet1.conf b/rc.inet1.conf
index f4d54b1..aba374c 100644
--- a/rc.inet1.conf
+++ b/rc.inet1.conf
@@ -119,13 +119,18 @@ DEBUG_ETH_UP="no"
# Example of how to configure a bridge:
# Note the added "BRNICS" variable which contains a space-separated list
# of the physical or virtual network interfaces you want to add to the bridge.
-#IFNAME[0]="br0"
-#BRNICS[0]="eth0"
-#IPADDR[0]="192.168.0.1"
-#NETMASK[0]="255.255.255.0"
-#IPALIASES[0]=""
-#USE_DHCP[0]=""
-#DHCP_HOSTNAME[0]=""
+# BROPTS is a pipe (|) delimited list of bridge module specific settings to be
+# applied to the interface. See the ip-link(8) man page (search for "BRIDGE
+# Type Support") for details of the options available. This option is not
+# required for a standard bridge to be configured.
+# IFNAME[0]="br0"
+# BRNICS[0]="eth0"
+# BROPTS[0]=""
+# IPADDR[0]="192.168.0.1"
+# NETMASK[0]="24"
+# IPALIASES[0]=""
+# USE_DHCP[0]=""
+# DHCP_HOSTNAME[0]=""
# =============================================================================