Open DHCP console, expand the server and right-click IPv4. Click Configure Failover
Select the scopes you want. Click Next.
Click Add Server.
Select a server from the list, or add another server by clicking Browse. The server that you will add should not have the same scope. Click OK.
You need to decide what kind of failover you want. If you click the drop-down list at the right of Mode you will see the two available modes.
- Load balance – both the DHCP servers lease IPv4 addresses and configurations
- Hot standby – one server is a primary server and the other is the secondary. That means that the primary server leases IPv4 addresses and the secondary only when the primary is offline/unavailable.
Specify a name and a shared secret.
If you choose Hot standby you need to specify the Maximum Client Lead Time, which is the time that the secondary server should wait until it takes over. You need to specify the role of Partner Server and the Addresses reserved for
If you choose Load balance you need to specify the load balance on the primary server and on the secondary/partner server
Click Finish. Click Close.
You can also use PowerShell to configure DHCP failover.
Use get-DhcpServerv4Failover to get failover configurations.
Use remove-dhcpserverv4failover to remove a failover configuration
Use add-dhcpserverv4failover to configure failover.
Add-DhcpServerv4Failover -ComputerName domsrv.kandz.local -name "Failover DHCP" -PartnerServer srv-1.kandz.local -ScopeId 192.168.122.0 -SharedSecret "kronos"