Configuring the DHCP Server
To configure the DHCP server, do the following:
Make sure the DHCP server package is installed:
1# yum install dhcpAdd the following lines to the file
/etc/dhcp/dhcpd.conf(or/etc/dhcpd.conf):For installation on BIOS-based client servers:
1 2next-server <TFTP_server_IP_address>; filename "/pxelinux.0";For installation on EFI-based client servers:
1 2next-server <TFTP_server_IP_address>; filename "/grubx64.efi";
Start the DHCP server if you installed it in step 1:
1# systemctl start dhcpd.serviceOr restart the existing DHCP server:
1# systemctl restart dhcpd.service