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