Example DHCP server configuration file for sync-on-boot technology

From Rost Lab Open
#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;

# option definitions common to all supported networks...
option domain-name "informatik.tu-muenchen.de";
option domain-name-servers 192.168.0.1, 131.159.254.1, 131.159.254.2;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

subnet 192.168.0.0 netmask 255.255.255.0 {
	option domain-name "rostclust";
	option subnet-mask 255.255.255.0;
	option broadcast-address 192.168.0.255;
	option routers 192.168.0.1;

	# Known clients get this pool.
	pool {
		range 192.168.0.2 192.168.0.61;
		deny unknown-clients;
	}
}

group {
	next-server 192.168.0.1;
	# tftp root: /var/lib/tftpboot
	filename "/cluster_node/pxelinux.0";

	use-host-decl-names on;

	host updatenode.rostclust { hardware ethernet 00:1d:60:a3:fe:df; fixed-address updatenode.rostclust; }

	group {
		# one day = 86400 sec
		default-lease-time 86400;
		max-lease-time 86400;

		# regular node definitions
		#host n02.rostclust { hardware ethernet 00:1d:60:a3:fe:df; fixed-address n02.rostclust; }
	}
}