1 Install DHCP on CentOS 9
Part of my initiative to set up a Linux Server to perform network image installation.
Set DHCP eth interface no longer in /etc/sysconfig/dhcpd for CentOS 9.
We set our eth for DHCP setup in (3.00 ~ 3.50 mins)
#sudo cp /usr/lib/systemd/system/dhcpd.service /etc/systemd/system/
#sudo vi /etc/systemd/system/dhcpd.service
add your ethXX behind $DHCPDARGS on the following line:
ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd –no-pid $DHCPDARGS ethXX
by Justin Soh
linux dhcp server