aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/networking/ifcfg-eth-dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/networking/ifcfg-eth-dhcp')
-rw-r--r--doc/examples/networking/ifcfg-eth-dhcp14
1 files changed, 14 insertions, 0 deletions
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