dhcp will not load "option routers"

  • 7015613
  • 02-Sep-2014
  • 02-Sep-2014


Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 2 (OES 2) Linux


dhcpService object for a given cluster was "accidentally" deleted.  To recover, an ldif file was created to recreate the many missing object.  Upon starting up, the following was observed in the dhcpd.log file:

dhcpd: LDAP line 5440: semicolon expected.
dhcpd: option routers
dhcpd:                            ^
dhcpd: LDAP line 5450: semicolon expected.
dhcpd: option routers
dhcpd:                            ^
dhcpd: LDAP: cannot parse dhcpService entry 'cn=DHCP_server01,ou=SERVERS,ou=CHI,ou=IL,o=Novell'
dhcpd: Configuration file errors encountered -- exiting


Modify the subnet definition that had 5 octets in the "gateway" or router definition.


There were two subnets (CIDR/25) that contained an extra octet on the gateway/router definition in dhcp.  While it was not nor; it was on their counterparts &  This caused the service not to load.

Additional Information

Since all of the subnets were created via LDIF file, all of the information was available so those subnets could be recreated.  Removing those 2 subnets from the tree, and letting eDirectory sync, yielded the issue moved to different subnet definitions.  So this can be a quick way to rule out the subnets listed in the error message.  It was in reviewing the gateway/router option for all subnets, that the extra octet was found on 2 subnets.  Once these were remediated, the service loaded as expected.