summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2008-10-03 11:41:22 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2008-10-03 11:41:22 +0000
commit1275fd97345e1543d3496521a98aa8960253136e (patch)
tree1d9897cbbfd5b0565a0d472dd1c8e699b1f320d2 /etc
parent57f51aefd5700618277849143d96785f0cbf3d1d (diff)
Remove shared-network from the sample config, people who need
that should expect to read the manual anyway and it's caused some confusion in the past. Add example entries for fixed-address and pxeboot. ok krw@
Diffstat (limited to 'etc')
-rw-r--r--etc/dhcpd.conf23
1 files changed, 16 insertions, 7 deletions
diff --git a/etc/dhcpd.conf b/etc/dhcpd.conf
index a137f20b3ab..b795c394c8b 100644
--- a/etc/dhcpd.conf
+++ b/etc/dhcpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $
+# $OpenBSD: dhcpd.conf,v 1.2 2008/10/03 11:41:21 sthen Exp $
#
# DHCP server options.
# See dhcpd.conf(5) and dhcpd(8) for more information.
@@ -10,13 +10,22 @@
# Default router: 192.168.1.1
# Addresses: 192.168.1.32 - 192.168.1.127
#
-shared-network LOCAL-NET {
- option domain-name "my.domain";
- option domain-name-servers 192.168.1.3, 192.168.1.5;
+option domain-name "my.domain";
+option domain-name-servers 192.168.1.3, 192.168.1.5;
- subnet 192.168.1.0 netmask 255.255.255.0 {
- option routers 192.168.1.1;
+subnet 192.168.1.0 netmask 255.255.255.0 {
+ option routers 192.168.1.1;
- range 192.168.1.32 192.168.1.127;
+ range 192.168.1.32 192.168.1.127;
+
+ host static-client {
+ hardware ethernet 22:33:44:55:66:77;
+ fixed-address 192.168.1.200;
+ }
+
+ host pxe-client {
+ hardware ethernet 02:03:04:05:06:07;
+ filename "pxeboot";
+ next-server 192.168.1.1;
}
}