How to start DHCP service on OpenNMS server.

By default , you cannot start DHCP Service on OpenNMS server because OpenNMS server has installed DHCP client. If you want to start DHCP Server on same OpenNMS server , please stop DHCP client before.

These are steps :

  1. Check all services which start from OpenNMS
    # opennms -v status
  2. You should find :
    OpenNMS.Dhcpd          : running
  3. Disable this service by comment this service in /opt/opennms/etc/service-configuration.xml :
  4. Restart OpenNMS :
    # service opennms restart
  5. Start DHCP service :
    # service dhcpd start