Questions on setting up dhcp.service for DHCP Sever for RHEL 8.1

Posted on

First time working with DHCP on RHEL 8.1 workstation

We are trying to assign IP addresses from this workstation to a number of servers and so far not having success.

Firewalld has been disabled.

When looking either at /var/log/messages or systemctl status dhcpd, I see that DHCP is only doing 1/2 of the process: DHCP Discover and DHCP Offer. Its not completing the other two DHCP Request and DHCP Ack.

I've gone thru Red Hat documentation Chp 43. Providing DHCP Services

I've copied over dhcpd.service from /usr/lib/systemd/system to /etc/systemd/system, which we didn't do before.

Under [Service] I've made an entry for the interface where DHCP is suppose to be listening from:


I've restarted the DHCP Service, and now I'm not getting either DHCP Discover or DHCP Offer. All I'm seeing in /var/log/messages, is ignoring subnet declaration for other interfaces and server starting service.

My question is that typically all files under /etc/systemd/system are soft links back to /usr/lib/systemd/system service files, should I not create this soft link as well? There was nothing in the documentation about doing this.

Also I've checked the syntax of /etc/dhcp/dhcpd.service with the following command:

dhcpd -t -cf /etc/dhcp/dhcpd.conf

[user@foo system]$ sudo dhcpd -t -cf /etc/dhcp/dhcpd.conf
Internet Systems Consortium DHCP Server 4.3.6
Copyright 2004-2017 Internet Systems Consortium.
All rights reserved.
For info, please visit
ldap_gssapi_principal is not set,GSSAPI Authentication for LDAP will not be used
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Config file: /etc/dhcp/dhcpd.conf
Database file: /var/lib/dhcpd/dhcpd.leases
PID file: /var/run/
Source compiled to use binary-leases

Looks like there might be a bug: