16. DHCP

A special sample template called basetemplate.xml.dhcp can be used in place of the basetemplate.xml file to provide DHCP support. This template works in conjunction with the DHCP export function of IPplan. For a DHCP export to work, the subnet must have the correct template, the subnet must be marked as DHCP and subnet address descriptions must start with the 'DHCPRESERVED' config.php variable. Once an export has been initiated, the resulting output must be processed via an XML parser just like any other export function of IPplan.

Multiple address pools can be simulated by adding numbers to the end of the IP address decsriptions eg. 'Reserved - DHCP pool 1'. Static assignments are dealt with automatically if an IP address has a valid MAC address assigned.