# dhcpd.conf # # Sample configuration file for ISC dhcpd # # Modified for Windows 7 netbooting # # option definitions common to all supported networks... option domain-name "example.org"; default-lease-time 600; max-lease-time 7200; log-facility local7; ####### gPXE iSCSI BOOT OPTIONS ########### option space ipxe; option ipxe-encap-opts code 175 = encapsulate ipxe; option ipxe.keep-san code 8 = unsigned integer 8; # All 10.0.0.0 IP addresses in this section # should be changed to whichever IP range you # use in your setup subnet 10.0.0.0 netmask 255.255.255.0 { # If authoritative is not set, DHCP server # will not give out new addresses to unknown # clients authoritative; # Range of IP addresses that can be assigned # by DHCP (inclusive) range 10.0.0.100 10.0.0.200; # Check if the client is iPXE. If it is iPXE, # sent it the conf.ipxe configuration file and # don't tell it what the gateway is. # # If it's not iPXE, send it the iPXE ROM and hand # out the gateway if exists user-class and option user-class = "iPXE" { } else { option routers 10.0.0.1; } # What the IP address of the TFTP server is next-server 10.0.0.1; # Optional, DNS server option domain-name-servers 10.0.0.1; } # Call the PC anything you like host arbitrary-computer { # MAC address of this PC harware ethernet 8d:39:10:00:23:14; # Optionally, define a static IP address fixed-address 10.0.0.10; # Give the Boot ROM the iPXE ROM, and give iPXE # its configuration file if exists user-class and option user-class = "iPXE" { filename "conf.ipxe"; } else { filename "undionly.kpxe"; } }