Starting DHCP Services - wAlber47/Tech-Journal GitHub Wiki

  1. Make sure config file has the correct configuration before proceeding. All of these commands must be run by sudo.
  2. Use the command systemctl restart to restart the system.
  3. systemctl start dhcp will begin the DHCP service.
  4. systemctl status dhcp will check the status of DCHP.
  5. systemctl enable dhcpd will enable the service to start at boot.
  6. Use firewall-cmd --list-all will show off everything allowed through the firewall.
  7. Use firewall-cmd --add-service=dhcp --permanent, firewall-cmd --reload, and firewall-cmd --list-all again to allow DHCP through the firewall.
  8. If a new DHCP option appears in services, then you've done this correctly.