Repair DHCP configuration file?



  • For some reason my primary pfsense box has gotten one or two dhcp ranges the "wrong" way, configured as secondaries instead of primaries:

    /services_dhcp.php: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid igb1 igb1_vlan103 igb1_vlan102 igb1_vlan105 igb1_vlan104 igb1_vlan110 igb1_vlan111' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.3.5 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ /etc/dhcpd.conf line 93: secondary may not define load balance settings. split 128; ^ Configuration file errors encountered – exiting If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting.'

    There doesn't seem to be a way to delete dhcp services - only to disable them, so how do I clean up the config file?


Log in to reply