aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-25 20:01:54 +0200
committerDee'Kej <deekej@linuxmail.org>2018-05-30 12:32:22 +0200
commita145ddda284570e57413e37f025c3657205e17d8 (patch)
treea371338da02e38d8745964f75239c8ee62cc459b /doc/examples
parentdb1ca2fadd20d0a4fb5a0fe18adcd8c960db9cf3 (diff)
downloadinitscripts-a145ddda284570e57413e37f025c3657205e17d8.tar
initscripts-a145ddda284570e57413e37f025c3657205e17d8.tar.gz
initscripts-a145ddda284570e57413e37f025c3657205e17d8.tar.bz2
initscripts-a145ddda284570e57413e37f025c3657205e17d8.tar.xz
initscripts-a145ddda284570e57413e37f025c3657205e17d8.zip
Repository scheme updated to new layout
NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/networking/ifcfg-bond-802.3ad16
-rw-r--r--doc/examples/networking/ifcfg-bond-activebackup-arpmon17
-rw-r--r--doc/examples/networking/ifcfg-bond-activebackup-miimon16
-rw-r--r--doc/examples/networking/ifcfg-bond-slave12
-rw-r--r--doc/examples/networking/ifcfg-bridge12
-rw-r--r--doc/examples/networking/ifcfg-bridge-port9
-rw-r--r--doc/examples/networking/ifcfg-eth-alias12
-rw-r--r--doc/examples/networking/ifcfg-eth-dhcp14
-rw-r--r--doc/examples/networking/ifcfg-vlan13
-rw-r--r--doc/examples/static-routes-ipv621
10 files changed, 142 insertions, 0 deletions
diff --git a/doc/examples/networking/ifcfg-bond-802.3ad b/doc/examples/networking/ifcfg-bond-802.3ad
new file mode 100644
index 00000000..973f181d
--- /dev/null
+++ b/doc/examples/networking/ifcfg-bond-802.3ad
@@ -0,0 +1,16 @@
+# ifcfg sample for bond in mode 4/802.3ad
+# with static networking configuration
+# lacp_rate=1 for fast LACPDU rx rate (optional)
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=bond0
+ONBOOT=yes
+USERCTL=no
+TYPE=Ethernet
+BOOTPROTO=none
+BONDING_OPTS="mode=4 lacp_rate=1"
+IPADDR=192.168.1.4
+NETMASK=255.255.255.0
+GATEWAY=192.168.1.1
diff --git a/doc/examples/networking/ifcfg-bond-activebackup-arpmon b/doc/examples/networking/ifcfg-bond-activebackup-arpmon
new file mode 100644
index 00000000..01acebac
--- /dev/null
+++ b/doc/examples/networking/ifcfg-bond-activebackup-arpmon
@@ -0,0 +1,17 @@
+# ifcfg sample for bond in active-backup mode using
+# ARP monitoring. The ARP probes frequency (arp_interval)
+# is 500ms and the target IP address (arp_ip_target)
+# is 192.168.1.1
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=bond0
+ONBOOT=yes
+USERCTL=no
+TYPE=Ethernet
+BOOTPROTO=none
+BONDING_OPTS="mode=1 arp_interval=500 arp_ip_target=192.168.1.1"
+IPADDR=192.168.1.4
+NETMASK=255.255.255.0
+GATEWAY=192.168.1.1
diff --git a/doc/examples/networking/ifcfg-bond-activebackup-miimon b/doc/examples/networking/ifcfg-bond-activebackup-miimon
new file mode 100644
index 00000000..befa2de3
--- /dev/null
+++ b/doc/examples/networking/ifcfg-bond-activebackup-miimon
@@ -0,0 +1,16 @@
+# ifcfg sample for bond in active-backup mode using
+# MII link monitoring. The MII status polling frequency
+# (miimon) is 500ms.
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=bond0
+ONBOOT=yes
+USERCTL=no
+TYPE=Ethernet
+BOOTPROTO=none
+BONDING_OPTS="mode=1 miimon=500"
+IPADDR=192.168.1.4
+NETMASK=255.255.255.0
+GATEWAY=192.168.1.1
diff --git a/doc/examples/networking/ifcfg-bond-slave b/doc/examples/networking/ifcfg-bond-slave
new file mode 100644
index 00000000..7ae54793
--- /dev/null
+++ b/doc/examples/networking/ifcfg-bond-slave
@@ -0,0 +1,12 @@
+# ifcfg sample for bond slave device
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=eth0
+TYPE=Ethernet
+USERCTL=no
+SLAVE=yes
+MASTER=bond0
+BOOTPROTO=none
+HWADDR=AA:BB:CC:DD:EE:FF
diff --git a/doc/examples/networking/ifcfg-bridge b/doc/examples/networking/ifcfg-bridge
new file mode 100644
index 00000000..346f6338
--- /dev/null
+++ b/doc/examples/networking/ifcfg-bridge
@@ -0,0 +1,12 @@
+# ifcfg sample for linux bridge device with IP address.
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=br0
+TYPE=Bridge
+IPADDR=192.168.1.1
+NETMASK=255.255.255.0
+ONBOOT=yes
+BOOTPROTO=none
+DELAY=0
diff --git a/doc/examples/networking/ifcfg-bridge-port b/doc/examples/networking/ifcfg-bridge-port
new file mode 100644
index 00000000..0de4778c
--- /dev/null
+++ b/doc/examples/networking/ifcfg-bridge-port
@@ -0,0 +1,9 @@
+# ifcfg sample for a device that is a linux bridge port
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=eth1
+HWADDR=00:11:22:33:44:55
+ONBOOT=yes
+BRIDGE=br0
diff --git a/doc/examples/networking/ifcfg-eth-alias b/doc/examples/networking/ifcfg-eth-alias
new file mode 100644
index 00000000..60dc1d71
--- /dev/null
+++ b/doc/examples/networking/ifcfg-eth-alias
@@ -0,0 +1,12 @@
+# ifcfg sample for alias interface on top of eth0
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=eth0:0
+BOOTPROTO=none
+IPADDR=192.168.1.1
+NETMASK=255.255.255.0
+ONBOOT=yes
+USERCTL=no
+
diff --git a/doc/examples/networking/ifcfg-eth-dhcp b/doc/examples/networking/ifcfg-eth-dhcp
new file mode 100644
index 00000000..58d46bf8
--- /dev/null
+++ b/doc/examples/networking/ifcfg-eth-dhcp
@@ -0,0 +1,14 @@
+# ifcfg sample for common ethernet interfaces using DHCP
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+DEVICE=eth0
+BOOTPROTO=dhcp
+HWADDR=00:11:22:33:44:55
+ONBOOT=yes
+
+# WARNING: When both DHCP_HOSTNAME and DHCP_FQDN are specified,
+# only DHCP_FQDN will be used.
+DHCP_HOSTNAME=host1
+DHCP_FQDN=host1.foo.bar.com
diff --git a/doc/examples/networking/ifcfg-vlan b/doc/examples/networking/ifcfg-vlan
new file mode 100644
index 00000000..d090aab0
--- /dev/null
+++ b/doc/examples/networking/ifcfg-vlan
@@ -0,0 +1,13 @@
+# ifcfg sample for a VLAN device (vlanid=122) on top of
+# eth0 device using static IP configuration
+#
+# Please read /usr/share/doc/initscripts-*/sysconfig.txt
+# for the documentation of these parameters.
+
+TYPE=Ethernet
+DEVICE=eth0.122
+VLAN=yes
+BOOTPROTO=none
+NETMASK=255.255.255.0
+IPADDR=192.168.1.1
+
diff --git a/doc/examples/static-routes-ipv6 b/doc/examples/static-routes-ipv6
new file mode 100644
index 00000000..a4c3b8d9
--- /dev/null
+++ b/doc/examples/static-routes-ipv6
@@ -0,0 +1,21 @@
+# Version: 2002-01-09
+
+# file: /etc/sysconfig/static-routes-ipv6
+#
+# description: this file contains all static IPv6 routes
+# description: Here you can specify several routes to specified gateways
+# description: and also route through a virtual tunnel interface
+#
+# (P) 2000-2002 by Peter Bieringer <pb@bieringer.de>
+
+#Device IPv6 network to route IPv6 gateway address
+
+## Example: static routes through a gateway on local link
+#eth0 fec0:0:0:2::/64 fec0:0:0:1:0:0:0:20
+#eth0 3ffe:ffff:1234::/48 3ffe:ffff:1234:0002:0:0:0:1
+
+## Example: default route through a gateway on local link
+#eth0 2000::/3 3ffe:ffff:1234:0002:0:0:0:1
+
+## Example: static route through a dedicated tunnel
+#sit1 3ffe:ffff:1234::/48