aboutsummaryrefslogtreecommitdiff
path: root/src/initscripts-network/bridges.conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/initscripts-network/bridges.conf.d')
-rw-r--r--src/initscripts-network/bridges.conf.d27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/initscripts-network/bridges.conf.d b/src/initscripts-network/bridges.conf.d
new file mode 100644
index 0000000..2609cf5
--- /dev/null
+++ b/src/initscripts-network/bridges.conf.d
@@ -0,0 +1,27 @@
+#
+# Settings for layer-2 bridges
+#
+# For each bridge interface declared in INTERFACES (in rc.conf), declare
+# a bridge_${IF} variable that contains the real ethernet interfaces that
+# should be bridged togeether.
+#
+# Then list the bridge interface name in the BRIDGE_INTERFACES array.
+#
+
+# example:
+#
+# in /etc/rc.conf:
+# eth0="eth0 up"
+# eth1="eth1 up"
+# br0="br0 192.168.0.2 netmask 255.255.255.0 up"
+# INTERFACES=(lo eth0 eth1 br0)
+#
+# in /etc/conf.d/bridges
+# bridge_br0="eth0 eth1"
+# BRIDGE_INTERFACES=(br0)
+#
+
+
+#bridge_br0="eth0 eth1"
+#BRIDGE_INTERFACES=(br0)
+