dhcpd Configuration File

The configuration file for the DHCP server, named dhcp.conf, is located in /usr/local/etc. When you installed dhcpd, it placed a sample configuration file in the directory called dhcpd.conf.sample.

There are two ways to configure the dhcpd.conf file. The first way is manually. The second is with the dhcpconf program. If you have never configured dhcpd before, I recommend that you install and use the dhcpconf program. You can then look through the dhcp.conf file that dhcpconf creates to see how the file looks.

dhcpconf Program

dhcpconf is a menu- and dialog-driven program that helps you set up a basic DHCP server configuration. Once you have it installed, you can start it by typing dhcpconf at the command prompt as root. ...

Get FreeBSD® Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.