From 1275fd97345e1543d3496521a98aa8960253136e Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Fri, 3 Oct 2008 11:41:22 +0000 Subject: 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@ --- etc/dhcpd.conf | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'etc') 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; } } -- cgit v1.2.3