DHCP is Down: Recovering DHCP - AidanP017/Aidan-SYS-255 GitHub Wiki
Overview
In this assignment, we were required to re-install our DHCP server from being stolen from the server room.
How to Re-install a DHCP Server
To re-install a DHCP server, take the following steps:
- On FS01, log in as an administrative user and enter the command Install-WindowsFeature DHCP -IncludeManagementTools to install DHCP.
- After DHCP installs, you will need to configure the server with addresses, scopes, leases, and resolutions.
- For addresses;
-
- Enter the command Add-DhcpServerInDC -DnsName -IPAddress .
-
- Verify that the DHCP server is authorized by entering the command Get-DhcpServerInDC.
- For scopes;
-
- Enter the command Add-DhcpServerv4Scope -Name -StartRange -EndRange -SubnetMask .
- For leases and resolutions;
-
- On AD02, log in as the same administrative user and open the Server Manager.
-
- Navigate to Tools > DHCP.
-
- Navigate to DHCP > > IPv4 > Scope > Reservations.
-
- Right-click on Reservations and select "New Reservation".
-
- Specify the appropriate name, IP address, and MAC address that you wish to reserve.
-
- Make sure both DHCP and BOOTP are selected as supported types.
-
- Add the new reservation.
-
- In the Address Leases tab, the lease should be visible and indicate the IP address and name associated with your WKS02 workstation.
-
- In between all of this, you may need to release and renew the IP configurations to ensure proper updates.
How to Verify DHCP Connectivity
To verify DHCP connectivity, take the following steps:
- On WKS02, log in as the same administrative user.
- Open a command prompt or powershell line.
- Enter the command ipconfig /all.
- In the results, you should see that DHCP is enabled as well as the addresses associated with it.