Lab 04: DHCP Server - Galen-Dively/SYS250-02-Journal GitHub Wiki

In this lab the goal is to setup a dhcp server on rocky linux. After installing dhcp-server on my linux box I edited the config file at etc/dhcp/dhcpd.conf. After adding all the network settings I tried to start the dhcp service. The service would not start but checking the logs showed there was an error in configuration file. I typed router instead of routers in my dhcpd.conf. Once the configuration file was updated the service started normally.

Inside my wks01 I naviagted to network adapter and then to IPv4. I configured the interface to recive both Ip configuration and DNS servers automatically.

Issues

  • Install dhcp with yum did not work so I had to use the dhcp-server app.
  • I have no directory /var/log/messages so I had to use journalctl to see my dhcp logs