dhcp server liuxLinux serverNETWORK ADMINISTRATIONS

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

source

by Justin Soh

linux dhcp server

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.