diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/networking/ifcfg-bond-802.3ad | 16 | ||||
-rw-r--r-- | examples/networking/ifcfg-bond-activebackup-arpmon | 17 | ||||
-rw-r--r-- | examples/networking/ifcfg-bond-activebackup-miimon | 16 | ||||
-rw-r--r-- | examples/networking/ifcfg-bond-slave | 12 | ||||
-rw-r--r-- | examples/networking/ifcfg-bridge | 12 | ||||
-rw-r--r-- | examples/networking/ifcfg-bridge-port | 9 | ||||
-rw-r--r-- | examples/networking/ifcfg-eth-alias | 12 | ||||
-rw-r--r-- | examples/networking/ifcfg-eth-dhcp | 11 | ||||
-rw-r--r-- | examples/networking/ifcfg-vlan | 13 |
9 files changed, 118 insertions, 0 deletions
diff --git a/examples/networking/ifcfg-bond-802.3ad b/examples/networking/ifcfg-bond-802.3ad new file mode 100644 index 00000000..973f181d --- /dev/null +++ b/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/examples/networking/ifcfg-bond-activebackup-arpmon b/examples/networking/ifcfg-bond-activebackup-arpmon new file mode 100644 index 00000000..01acebac --- /dev/null +++ b/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/examples/networking/ifcfg-bond-activebackup-miimon b/examples/networking/ifcfg-bond-activebackup-miimon new file mode 100644 index 00000000..befa2de3 --- /dev/null +++ b/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/examples/networking/ifcfg-bond-slave b/examples/networking/ifcfg-bond-slave new file mode 100644 index 00000000..7ae54793 --- /dev/null +++ b/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/examples/networking/ifcfg-bridge b/examples/networking/ifcfg-bridge new file mode 100644 index 00000000..6086b310 --- /dev/null +++ b/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=static +DELAY=0 diff --git a/examples/networking/ifcfg-bridge-port b/examples/networking/ifcfg-bridge-port new file mode 100644 index 00000000..0de4778c --- /dev/null +++ b/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/examples/networking/ifcfg-eth-alias b/examples/networking/ifcfg-eth-alias new file mode 100644 index 00000000..60dc1d71 --- /dev/null +++ b/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/examples/networking/ifcfg-eth-dhcp b/examples/networking/ifcfg-eth-dhcp new file mode 100644 index 00000000..2dd687ab --- /dev/null +++ b/examples/networking/ifcfg-eth-dhcp @@ -0,0 +1,11 @@ +# 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 +DHCP_HOSTNAME=host1 + diff --git a/examples/networking/ifcfg-vlan b/examples/networking/ifcfg-vlan new file mode 100644 index 00000000..d090aab0 --- /dev/null +++ b/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 + |