dhcpd.conf.template 1.44 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#
# dhcpd.conf.template - From the emulab software distribution
#
# This file is used with dhcpd_makeconf to generate an actual dhpd.conf file
# from the database.
#
# Make sure to change all subnets (don't forget the mask!), the DHCP and DNS
# servers' IP addresses, the router's IP, and see the comment about nodetypes
# below.
#
server-identifier               155.101.128.70;
server-name                     "155.101.128.70";
next-server			155.101.128.70;

option  domain-name-servers     155.101.128.70;
option  domain-name             "emulab.net";

option  root-path		"/tftpboot";

default-lease-time              36000;                  # 10 hours
max-lease-time                  36000;                  # 10 hours

23 24 25
ddns-update-style               none;                   # req'd vers 3 directive

subnet 155.101.132.0 netmask 255.255.252.0 {
26

27 28
	option subnet-mask		255.255.252.0;
	option routers                  155.101.132.1;
29
	filename			"/tftpboot/pxeboot.emu";
30

31 32 33 34 35
	# Example of a dynamic range. If you uncomment the following line 
	# (after changing the IP addresses to suitable ones, of course)
	# unknown nodes will get assigned a random IP in it
	# range 155.101.132.200 155.101.132.249;

36 37 38 39 40
	# testbed PCs
	group {
		#
		# For every PC nodetype, include a line like the the one below.
		# These lines will be replaced with auto-generated entries for
41 42
		# nodes of that type. You can also use the class field from the
		# node_types table
43
		#
44
		%%nodetype=pc
45 46 47

	}
}