TechRepublic published a tutorial showing you how to configure a DHCP server on Rocky Linux.
How to configure a DHCP server on Rocky Linux
Jack Wallen shows you how to configure Rocky Linux 9 as a DHCP server for your local area network.
How to configure a DHCP server on Rocky Linux