#
# DHCP configuration file. ISC DHCP server v3.0
#
#
# Global options

### dont update DNS
ddns-update-style none;
ddns-updates off;

### allow netboot
allow bootp;
allow booting;
boot-unknown-clients off;

### free IP Adress if Client forgot to sent DHCP_RELEASE
one-lease-per-client true;
use-host-decl-names on;

### short for times for testing
default-lease-time 600; max-lease-time 720;

### default times for real-life deployment
#default-lease-time 72000; max-lease-time 144000;

min-lease-time 23;

### define grub-options for *lst
option option-150 code 150 = text;

### define pxelinux option space
#option space pxelinux;
#option pxelinux.magic      code 208 = string;
#option pxelinux.configfile code 209 = text;
#option pxelinux.pathprefix code 210 = text;
#option pxelinux.reboottime code 211 = unsigned integer 32;

### define bpbatch options for interactive mode
#option option-135 code 135 = text;


subnet 172.30.2.0 netmask 255.255.255.0 {
	### generall dhcp settings
	#range 10.0.0.23 10.0.0.  ;
	option broadcast-address 172.30.2.255;
        option subnet-mask 255.255.255.0;
	option routers 172.30.2.1;
	option domain-name "exodus.worst.com";
	option domain-name-servers 172.30.2.42;
        #option time-offset 775238962;
        option ip-forwarding off;

	# all path options relativ to tftp-server


	### general options for booting over network
	next-server 172.30.2.42;			# tftp-server
	#filename "/grub/pxegrub";		# grub
	#filename "/pxelinux/pxelinux.0";	# syslinux(pxelinux)
	#filename "/bpb/bpbatch";		# bpbatch



	### options for grub
	#option option-150 "/grub/menu.lst";


	### options for pxelinux
	#option pxelinux.magic f1:00:74:7e;	# practical magic
	#option pxelinux.configfile "yagi";	#
	#option pxelinux.pathprefix "/YAGI/tftpboot/pxelinux/";
	#option pxelinux.reboottime 5;		# reboot after 5m with no input


	### BpBatch command-line argument : -i == interactive
        # You can also specify a script name (do not include the
        # trailing .bpb extension)
        #option option-135 "bpb/yagi-ascii"; # -i  bpb/yagi-ascii";


	### some more options
	#server-name lenny;
	#option ntp-servers ntps1.gwdg.de, ntps2.gwdg.de;
	#option time-servers rdate.uni-regensburg.de;
	#option font-servers lenny.simpsons.org;
	#option netbios-name-servers 134.76.63.252;
	}


host vulab1 {
        hardware ethernet 08:00:20:7e:0c:2c;
        fixed-address 10.0.0.1;
	option root-path "/disk3/vulab/sparc-root";
}

host thesprawl {
	hardware ethernet 08:00:20:77:50:89;
	fixed-address 172.30.2.4;
	option root-path "/n/srv0/DISKLESS/ss20/root";
}