summaryrefslogtreecommitdiff
path: root/rc.conf
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-05-31 10:24:12 +0200
committerTom Gundersen <teg@jklm.no>2011-05-31 10:24:12 +0200
commit017b5a689363aac54313b6e51d0da713f33787b7 (patch)
treeb1d12c00485e9039dd8f3da2887c5d594119ca57 /rc.conf
parent268986e2d39a9ead28b8281fbbcbf79b6ec6c240 (diff)
net: add examples
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.conf')
-rw-r--r--rc.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/rc.conf b/rc.conf
index 3c21d4e..534112f 100644
--- a/rc.conf
+++ b/rc.conf
@@ -71,6 +71,17 @@ HOSTNAME="myhost"
# - netmask: subnet mask (ignored for DHCP)
# - gateway: default route (ignored for DHCP)
#
+# Static IP example
+# interface=eth0
+# address=192.168.0.2
+# netmask=255.255.255.0
+# gateway=192.168.0.1
+#
+# DHCP example
+# interface=eth0
+# address=
+# netmask=
+# gateway=
interface=
address=