Lab 4: DHCP - NathanStMarie/tech-journal GitHub Wiki

Install DHCP Services on DHCP01

  • Use sudo yum install dhcp
  • Elevate to root with sudo -i
  • Enter the following into the /etc/dhcp/dhcp.conf file (but domain-name is "nathan.local")
  • Save the file and then restart dhcpd service:
    • systemctl start dhcp
  • Enable the service to start at boot:
    • systemctl enable dhcpd
  • Then, add dhcp to the firewall-cmd rules:
    • firewall-cmd --add-service=dhcp --permanent
    • firewall-cmd --reload
    • firewall-cmd --list-all (should show dhcp under services: )

Windows 10 DHCP Client

  • As an admin, go back to wks01 and change IP address and DNS server to be configured automatically.