aboutsummaryrefslogtreecommitdiff
path: root/src/initscripts-network
diff options
context:
space:
mode:
Diffstat (limited to 'src/initscripts-network')
-rw-r--r--src/initscripts-network/bonding.conf.d12
-rw-r--r--src/initscripts-network/bridges.conf.d27
-rw-r--r--src/initscripts-network/dhcpcd.conf.d6
3 files changed, 45 insertions, 0 deletions
diff --git a/src/initscripts-network/bonding.conf.d b/src/initscripts-network/bonding.conf.d
new file mode 100644
index 0000000..3092c5e
--- /dev/null
+++ b/src/initscripts-network/bonding.conf.d
@@ -0,0 +1,12 @@
+#
+# Settings for ethernet bonding
+#
+# For each bond interface declared in INTERFACES (in rc.conf), declare
+# a bond_${IF} variable that contains the real ethernet interfaces that
+# should be bonded to the bond interface with the ifenslave utility.
+# Then list the bond interface name in the BOND_INTERFACES array.
+#
+
+#bond_bond0="eth0 eth1"
+#BOND_INTERFACES=(bond0)
+
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)
+
diff --git a/src/initscripts-network/dhcpcd.conf.d b/src/initscripts-network/dhcpcd.conf.d
new file mode 100644
index 0000000..83c6f14
--- /dev/null
+++ b/src/initscripts-network/dhcpcd.conf.d
@@ -0,0 +1,6 @@
+#
+# Arguments to be passed to the DHCP client daemon
+#
+
+DHCPCD_ARGS="-q"
+