You can create a DHCP failover with two servers in hot standby mode by using a single Add-DhcpServerv4Failover PowerShell cmdlet.

This tutorial assumes you have an active scope on primary DHCP server and a DHCP running on standby or partner server.

Configure DHCP Failover in Windows Server 2016 using PowerShell

Step 1. Open PowerShell on primary DHCP server with elevated privileges.

Step 2. Execute the following command. Make sure to replace the appropriate values:

Add-DhcpServerv4Failover -ComputerName "dhcpserver.contoso.com" -Name "SFO-SIN-Failover" -PartnerServer "dhcpserver2.contoso.com" -ServerRole Standby -ScopeId 10.10.10.0,10.20.20.0 -force

 

How to Configure DHCP Failover in Windows Server 2016 using PowerShell

Leave a Reply

Your email address will not be published. Required fields are marked *

*