ISC DHCP Configuration

-CONTRIBUTED TOOL-

The generate_dhcp.php script in the contrib section can be used to generate an configuration file for the ISC DHCP daemon.

See also the ISC Bind configuration script

It uses the following parameters in the configuration database (editable using the windows GUI) :

  • dhcp_configfile : the file that this script will write - if it already exists, it will be overwritten without confirmation
  • dhcp_defaults = the global defaults (currently : default-lease-time, max-lease-time, ddns-update-style, authoritative, use-host-decl-names

The rest of the configuration will be taken from the FreeNAC database

  • Subnet and options from dhcp_options (subnet 0 = general options)
  • Fixed ip addresses from systems (where dhcp_fix = 1, the assigned IP will be dhcp_ip)

The "web_showdhcp" configuration flag toggle the ability to edit the dhcp_fix and dhcp_ip field in the web interface.