The minimal configuration for a dhcp server to point to the tftp boot image –
# 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;
ignore client-updates;
default-lease-time 21600;
max-lease-time 43200;
subnet 192.168.20.0 netmask 255.255.255.0
{
range 192.168.20.221 192.168.20.225;
option domain-name-servers 192.168.20.1; # IP of DNS server
option domain-name “example.com”;
option routers 192.168.20.2; # Ip of gateway box
filename “pxelinux.0”; # Name of the file the boot ROMs should download.
next-server 192.168.20.5; #Name of the server they should get it ( pxelinux.0) from.
}
Leave a comment