Appendix D. A dhcpd Reference

This appendix covers the syntax of the dhcpd command and the dhcpd.conf configuration file. It is a reference to the Internet Software Consortium (ISC) Dynamic Host Configuration Protocol (DHCP) server, dhcpd. To fully understand how to configure and use dhcpd in realistic network environments, see the tutorial and sample configuration files in Chapter 9.

The information in this appendix is based on the version of dhcpd available at this writing. As a beta release, this software is bound to be upgraded and changed. Refer to the web page for the most recent information about dhcpd. And remember, a DHCP implementation from another vendor will probably be configured in a completely different manner.

Compiling dhcpd

The source code for dhcpd can be obtained through the ISC web site at or via anonymous FTP at The name of the compressed tar file will change as new versions are released. However, the latest release should be stored as dhcp-latest.tar.gz. Download, gunzip, and untar the file:

> ftp 
Connected to 
220 FTP server ready. 
Name ( anonymous 
331 Guest login ok, send your complete email address as password. 
230 Guest login ok, access restrictions apply. 
ftp> cd isc/dhcp 
250 CWD command successful. 
ftp> binary 
200 Type set to I. 
ftp> get dhcp-latest.tar.gz 200 PORT command successful. 150 Opening BINARY ...

Get TCP/IP Network Administration, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.