If your network relies on a single DHCP server to assign IP addresses, a server reboot, hardware failure, or Windows Update outage can quickly stop new devices and renewing clients from connecting to your network. Windows Server DHCP Failover eliminates that single point of failure by allowing two DHCP servers to share IP address leases and scope configurations in real time.

This guide walks you through setting up a two-node DHCP Failover relationship using both Server Manager and PowerShell, verifying lease replication, and following best practices for reliable IP management.

How DHCP Failover Modes Work

Before configuring failover, choose the operating mode that best fits your network topology:

  • Load Balance Mode (Active/Active): Both DHCP servers actively issue IP addresses and respond to client requests simultaneously. By default, requests are split 50/50, making this ideal when both servers sit on the same local network or high-speed LAN.
  • Hot Standby Mode (Active/Passive): One primary server handles all DHCP requests while a secondary standby server remains ready to take over automatically if the primary server goes offline. This works best for hub-and-spoke branch office topologies where the backup server sits across a WAN link.

Prerequisites

  • Two Windows Servers: Both servers (for example, DHCP01 and DHCP02) must have the DHCP Server role installed and be authorized in Active Directory.
  • Existing Scopes on Primary Server: At least one active IPv4 scope must already be configured on your primary server (DHCP01). Do not manually create the same scope on the partner server beforehand—failover replication creates it automatically.
  • Firewall Rules: TCP port 647 (DHCP Failover traffic) must be open between both servers (automatically enabled by the DHCP Server role installation).
  • Time Synchronization: Both servers must have synchronized system clocks (within 1 minute of each other via Active Directory / NTP).

Warning: If the clock drift between your two DHCP servers exceeds one minute, the DHCP Failover relationship will fail to synchronize or enter a communications-interrupted state.

Step 1: Configure DHCP Failover Using Server Manager

Follow these steps on your primary DHCP server (DHCP01) to replicate your IPv4 scope to the secondary server (DHCP02):

  1. Open Server Manager, click Tools in the top-right menu, and select DHCP.
  2. Expand your primary server name (DHCP01) and expand IPv4.
  3. Right-click the scope you want to protect (or right-click IPv4 to configure failover for all scopes at once) and select Configure Failover.
  4. Confirm that your target scope(s) are checked in the list and click Next.
  5. Click Add Server, browse for or type the hostname of your secondary DHCP server (DHCP02.corp.local), click OK, and click Next.
  6. Configure the failover relationship parameters:
    • Relationship Name: Enter a clear name such as DHCP01-DHCP02-Failover.
    • Maximum Client Lead Time (MCLT): Keep the default 1 hour (the extra lease time granted to a client if a partner server is unreachable).
    • Mode: Select Load balance (or Hot standby for a passive backup).
    • Load Balance Percentage: Keep 50% Local Server / 50% Partner Server.
    • State Switchover Interval: Check the box and set to 60 minutes (optional, allows automatic transition to Partner Down state if network isolation persists).
    • Enable Message Authentication: Check this box and enter a strong Shared Secret passphrase to authenticate failover replication traffic.
  7. Click Next, review the summary settings, and click Finish.

Confirm every step in the progress dialog displays Successful, then click Close.

Step 2: Configure DHCP Failover Using PowerShell (Alternative)

If you prefer automation or manage multiple scopes, you can create the exact same DHCP Failover relationship with a single PowerShell command on DHCP01:

Add-DhcpServerv4Failover -ComputerName "DHCP01.corp.local" `
    -Name "DHCP01-DHCP02-Failover" `
    -PartnerServer "DHCP02.corp.local" `
    -ScopeId 192.168.10.0 `
    -LoadBalancePercent 50 `
    -MaxClientLeadTime 01:00:00 `
    -AutoStateTransition $true `
    -StateSwitchoverInterval 01:00:00 `
    -SharedSecret "YourStrongFailoverSecret!"

Tip: To replicate multiple scopes at once in PowerShell, pass comma-separated scope IDs to -ScopeId (for example, -ScopeId 192.168.10.0, 192.168.20.0).

Step 3: Verify Failover Replication and Health

After completing the wizard or PowerShell command, verify that both servers are communicating and sharing scope data properly:

  1. In the DHCP console, right-click IPv4 on DHCP01, select Properties, and open the Failover tab. Confirm that your relationship shows a State of Normal.
  2. Connect to DHCP02 in the DHCP console and refresh IPv4. Confirm the replicated scope and existing active client leases now appear on DHCP02.
  3. Run the following PowerShell command to inspect the failover status directly:
Get-DhcpServerv4Failover -ComputerName "DHCP01.corp.local"

Verify that State is listed as Normal and ServerRole shows Active.

Best Practices for Managing DHCP Failover

  • Replicate Scope Changes Manually: DHCP Failover automatically replicates client IP leases in real time, but changes to scope options (like DNS servers, default gateways, or reservations) are not synced automatically. Whenever you edit scope options, right-click the scope (or IPv4) and select Replicate Failover Scopes—or run Invoke-DhcpServerv4FailoverReplication in PowerShell.
  • Configure IP Helper Addresses on Routers/VLANs: For multi-VLAN networks, ensure your Layer 3 switches or routers have ip helper-address (DHCP Relay) entries pointing to both DHCP01 and DHCP02.
  • Limit Failover Pairs to Two Servers: Windows Server DHCP Failover supports two servers per scope relationship. You cannot add a third server to the same failover group.

Note: DHCP Failover in Windows Server only supports IPv4 scopes. For IPv6 high availability, configure split scopes with different preference values.