DHCPD.conf for TFTP image

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.

 

}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: