DHCP Failover Lab
Your DHCP service will be changing its Facebook relationship status to “Highly Available”. You won’t believe how easy it is to configure a Hot Spare in Standby Mode for your existing DHCP server. You get the complete scoop in this video. See the links below.
DHCP Failover Modes
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn338976%28v%3dws.11%29
Configure DHCP Failover on Windows Server
Deploy DHCP Using Windows PowerShell
https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-deploy-wps
What’s New in DHCP
https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/what-s-new-in-dhcp
#install dhcp on first server
Install-WindowsFeature DHCP -IncludeManagementTools
netsh dhcp add securitygroups
Restart-Service dhcpserver
Add-DhcpServerInDC -DnsName TUS-DHCP1.aaco.local -IPAddress 192.168.1.208
Get-DhcpServerInDC
Set-ItemProperty –Path registry::HKEY_LOCAL_MACHINESOFTWAREMicrosoftServerManagerRoles12 –Name ConfigurationState –Value 2
Add-DhcpServerInDC -DnsName TUS-DHCP2.aaco.local -IPAddress 192.168.1.207
Get-DhcpServerInDC
Set-ItemProperty –Path registry::HKEY_LOCAL_MACHINESOFTWAREMicrosoftServerManagerRoles12 –Name ConfigurationState –Value 2
Add-DhcpServerv4Scope -name “US-TUS01-Scope1” -StartRange 192.168.1.1 -EndRange 192.168.1.254 -SubnetMask 255.255.255.0 -State Active
Add-DhcpServerv4ExclusionRange -ScopeID 192.168.1.0 -StartRange 192.168.1.1 -EndRange 192.168.1.99
Add-DhcpServerv4ExclusionRange -ScopeID 192.168.1.0 -StartRange 192.168.1.200 -EndRange 192.168.1.254
Set-DhcpServerv4OptionValue -OptionID 3 -Value 192.168.1.1 -ScopeID 192.168.1.0 -ComputerName TUS-DHCP1.aaco.local
Set-DhcpServerv4OptionValue -DnsDomain aaco.local -DnsServer 192.168.1.200
Overview
Install Service On First Server
Install Service On Second Server
Disable Router DHCP
Scope On First Server
Test Client DHCP
Configure Failover
Fail Primary Server
Test Client DHCP
Restore Primary Server
Test Client DHCP
by ShotokuTech
linux dhcp client
This is such an interesting video, thanks for sharing