Example dhcpd.conf

This is a quick /etc/dhcpd.conf file for the ISC DHCP server. This should be enough to get a basic DHCP server up and running on linux.

option domain-name "mydomain.com"; option domain-name-servers,; default-lease-time 14440; ddns-update-style none; deny bootp; shared-network NetworkName { subnet netmask { option routers; option subnet-mask; pool { range; } } }
Leave A Reply - 2 Replies
Doug 2009-10-08 09:56am - No Email - Logged IP:

Thanks. Worked like magic.

Tidings 2010-07-11 12:00pm - No Email - Logged IP:

out of the first 5 lines, all but lines 2 and 3 can be deleted if all you want is basic DHCP function Line 3 should be a larger interval since this is the lease time in seconds, try 86400 semicolon missing after 'option routers' and 10.x.x.x is a /8 net so you would be better off with a subnet

All content licensed under the Creative Commons License