[BACK]Return to dhcpd.conf CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / Attic / dhcpd.conf (download)

Revision 1.2, Fri Oct 3 11:41:21 2008 UTC (15 years, 7 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.1: +16 -7 lines

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@

#	$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.
#

# Network:		192.168.1.0/255.255.255.0
# Domain name:		my.domain
# Name servers:		192.168.1.3 and 192.168.1.5
# Default router:	192.168.1.1
# Addresses:		192.168.1.32 - 192.168.1.127
#
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;

	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;
	}
}