DHCP is Down! - Hsanokklis/2023-2024-Tech-journal GitHub Wiki

image

On ad02-hannelore install DHCP services on fs01-hannelore

image

image

DHCP Post Configuration Wizard

image

Setting the user to authorize DHCP is the AD DS

image

On fs01-hannelore install the dhcp package`

I used this link to install and configure dhcp:

Troubleshooting: The command I found to install powershell wasn't recognized as command.

This is because its a powershell command, and commands in powershell are different them commands in regular windows, so it wasn't working.

to get into power shell you just need to type powershell in the terminal

image

  • You know you are in Powershell if you see PS

image

Command to install DHCP services fs01-hannelore ---> Install-WindowFeature DHCP -IncludeManagementTools

verify that the DHCP server is authorized in Active Directory

Get-DhcpServerInDC

image

Make a new IPv4 Scope

Add-DhcpServerv4Scope -Name "FeetTime" -StartRange 10.10.5.100 -EndRange 10.10.5.150 -SubnetMask 255.255.255.0

TROUBELESHOOTING: I kept getting an error message when I was adding the scope, but the last one I got was saying that the resource was already installed, which means the scope should have already been set, but I was confused how that could have been true if everytime I exectuted the command I got an error message.

To see if the scope was actually applied I found a command to check the IPv4 scopes on the machine

Get-DhcpServerv4Scope -ComputerName "fs01-hannelore"

link: https://learn.microsoft.com/en-us/powershell/module/dhcpserver/get-dhcpserverv4scope?view=windowsserver2022-ps

image

add the DHCP feature to get the DHCP GUI

Make sure its installed on the correct box. I installed it on fs01-hannelore the first time and that didn't do anything because fs is a command-line interface so I can't access a GUI.

image

image

now the DHCP tool is there!

Configure DHCP on fs01-hannelore

add fs01-hannelore as the new server

image

Go to New Scope and get Scope Wizard

image

Give the scope a name

image

Configure scope range and subnet mask

image

Add the default gateway

image

DHCP scope is successfully added

image

Deliverable 1. Provide a screenshot of ipconfig /all from wks-assessment. It should show that DHCP is now being provided by FS01 and all network parameters are consistent with those provided by the former dhcp01.

image

Deliverable 2. Provide a screenshot of DHCP leases that include wks-assessment.

image

Deliverable 3. Provide a URL for your tech log entry on how to configure the Windows DHCP Server and any management components that were required for this lab.