DHCP is Down! - Hsanokklis/2023-2024-Tech-journal GitHub Wiki
On ad02-hannelore
install DHCP services on fs01-hannelore
DHCP Post Configuration Wizard
Setting the user to authorize DHCP is the AD DS
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
- You know you are in Powershell if you see
PS
Command to install DHCP services
fs01-hannelore
--->Install-WindowFeature DHCP -IncludeManagementTools
verify that the DHCP server is authorized in Active Directory
Get-DhcpServerInDC
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"
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 becausefs
is a command-line interface so I can't access a GUI.
now the DHCP tool is there!
fs01-hannelore
Configure DHCP on add fs01-hannelore
as the new server
Go to New Scope
and get Scope Wizard
Give the scope a name
Configure scope range and subnet mask
Add the default gateway
DHCP scope is successfully added