Study guide

11.3 DHCP High Availability & Failover Configurations

Administering Windows Server Hybrid Core Infrastructure AZ-800

Track your progress as you read

Finished sections get a check mark.

1 Introduction & Exam Overview

About Exam AZ-800: Format, Scoring & the September 2026 Retirement

2 Chapter 1: Active Directory Domain Services Architecture & Deployment

1.1 Deploying & Managing Domain Controllers On-Premises 1.2 Domain Controllers in Azure IaaS & Virtualized DC Cloning 1.3 Read-Only Domain Controllers (RODCs) & Password Replication Policies 1.4 Flexible Single Master Operation (FSMO) Roles & Troubleshooting 1.5 Active Directory Sites, Subnets & Site Link Topology 1.6 AD DS Replication: Topology Generation, Convergence & Diagnostics 1.7 Forest and Domain Trust Relationships

3 Chapter 2: AD DS Security Principals, Service Accounts & Domain Join

2.1 Managing Users, Groups & Objects in Multi-Domain and Multi-Forest Environments 2.2 Service Account Types & Group Managed Service Accounts (gMSA) 2.3 Joining Windows Server to AD DS, Microsoft Entra Domain Services & Microsoft Entra ID 2.4 Creating & Managing Users, Groups and Organizational Units at Scale

4 Chapter 3: Hybrid Identity & Microsoft Entra Integration

3.1 Microsoft Entra Connect Sync Architecture, Installation & Filtering 3.2 SourceAnchor, Synchronization Rules & Microsoft Entra Connect Health 3.3 Microsoft Entra Cloud Sync & Disconnected Multi-Forest Topologies 3.4 Hybrid Authentication Methods & Staged Rollout 3.5 Microsoft Entra Domain Services 3.6 Integrating Microsoft Entra ID, AD DS & Entra Domain Services: Choosing an Architecture

5 Chapter 4: Group Policy in AD DS and Hybrid Environments

4.1 Group Policy Architecture & Processing Order (LSDOU) 4.2 Group Policy Filtering, Loopback Processing & Client-Side Extensions 4.3 Group Policy Preferences, Item-Level Targeting & Central Store 4.4 Group Policy in Microsoft Entra Domain Services & Fine-Grained Password Policies

6 Chapter 5: Remote Server Management in Hybrid Environments

5.1 Windows Admin Center (WAC) Deployment On-Premises and in Azure 5.2 PowerShell Remoting, WinRM & the Kerberos Double-Hop Problem 5.3 Just Enough Administration (JEA) for Constrained PowerShell Endpoints 5.4 OpenSSH on Windows Server & PowerShell Remoting over SSH 5.5 Secure RDP Access, Remote Desktop Gateway & Azure Bastion

7 Chapter 6: Hybrid Management with Azure Arc and Azure Services

6.1 Azure Arc-Enabled Servers Architecture & Onboarding 6.2 Azure Machine Configuration & VM Extensions on Arc Servers 6.3 Azure Update Manager: Assessment, Maintenance Configurations & Dynamic Scoping 6.4 Azure Automation for Hybrid Workloads: Runbooks & Hybrid Runbook Workers

8 Chapter 7: Hyper-V Virtualization & Virtual Machine Configuration

7.1 Hyper-V Type 1 Architecture, Installation & Hardware Prerequisites 7.2 VM Generations, Secure Boot, vTPM, Enhanced Session Mode & Direct VM Access 7.3 Compute, Dynamic Memory & Hardware Acceleration 7.4 VM Resource Controls, CPU Groups & Host Compute Partitioning 7.5 Hyper-V Virtual Hard Disks & Checkpoint Management 7.6 Hyper-V Virtual Switches, NIC Teaming & Switch Embedded Teaming (SET) 7.7 Integration Services, Guest Components & Time Synchronization

9 Chapter 8: Hyper-V High Availability, Security & Containers

8.1 Hyper-V Failover Clustering & Cluster Shared Volumes (CSV) 8.2 Hyper-V Replica & Azure Site Recovery (ASR) 8.3 Guarded Fabric & Shielded Virtual Machines 8.4 Windows Server Container Hosts, Isolation Models & Images 8.5 Managing Container Instances & Linux Containers with WSL 8.6 Windows Container Networking & AKS Enabled by Azure Arc 8.7 Managing Container Images, Tags & Azure Container Registry

10 Chapter 9: Azure IaaS Virtual Machine Administration

9.1 Azure VM Sizing, Series Selection & Managed Disk Tiers 9.2 Azure VM Host Caching, Disk Bursting, Ephemeral OS Disks & Disk Operations 9.3 Azure VM High Availability: Availability Sets, Zones & Proximity Placement Groups 9.4 Virtual Machine Scale Sets, Autoscale & Azure Dedicated Hosts 9.5 Azure VM Networking, NSGs & Connectivity

11 Chapter 10: Hybrid DNS Infrastructure & Name Resolution

10.1 Active Directory-Integrated DNS Architecture, Dynamic Updates & Zone Types 10.2 DNS Records, Aging & Scavenging and the GlobalNames Zone 10.3 DNS Forwarding, Conditional Forwarding & Azure DNS Zone Integration 10.4 Hybrid Name Resolution with Azure DNS Private Resolver 10.5 Windows Server DNS Policies & DNSSEC

12 Chapter 11: IP Addressing, DHCP & IPAM Management

11.1 DHCP Server Role, the DORA Lifecycle & Active Directory Authorization 11.2 DHCP Scopes, Option Hierarchy, Reservations & Relay Agents 11.3 DHCP High Availability & Failover Configurations 11.4 IP Address Management (IPAM) Deployment & Auditing 11.5 Resolving IP Address Issues in Hybrid Environments

13 Chapter 12: Hybrid Network Connectivity, Remote Access & Private Access

12.1 Remote Access Role, VPN Protocols & Site-to-Site VPN to Azure 12.2 Network Policy and Access Services (NPAS), RADIUS & Policy Processing 12.3 Azure Network Adapter & Azure Extended Network 12.4 Web Application Proxy & Microsoft Entra Application Proxy 12.5 Microsoft Entra Private Access & Global Secure Access 12.6 Azure Relay & Hybrid Connections

14 Chapter 13: File Services, DFS, SMB & Azure File Sync

13.1 Windows Server File Share Access, NTFS Permissions & Access-Based Enumeration 13.2 File Server Resource Manager: Quotas, File Screens & Storage Reports 13.3 DFS Namespaces (DFS-N) & DFS Replication (DFS-R) 13.4 BranchCache: Distributed Cache and Hosted Cache Modes 13.5 Modern SMB Protocols, SMB Multichannel & SMB over QUIC 13.6 Azure File Shares, Tiers & Hybrid Permissions 13.7 Azure File Sync, Cloud Tiering & Monitoring 13.8 Migrating DFS Namespaces & DFS Replication to Azure File Sync

15 Chapter 14: Windows Server Storage Infrastructure & High Availability

14.1 Disk Partitioning, Volumes & Enterprise File Systems (NTFS vs ReFS) 14.2 Data Deduplication Architecture, Usage Types & Management 14.3 Storage Spaces & Storage Spaces Direct (S2D) 14.4 Storage Replica & Storage Quality of Service 14.5 iSCSI Target Server, IQNs, CHAP Authentication & Multipath I/O

11.3 DHCP High Availability & Failover Configurations

Key Takeaways Explain This Topic AI

Windows Server DHCP Failover (RFC 3074) provides native two-node redundancy for IPv4 scopes without requiring clustering hardware, shared storage, or split-scope complexity.

Load Balance mode operates active-active, distributing client traffic between partner servers based on a hash of the client MAC address with configurable percentage splits (e.g., 50/50).

Hot Standby mode operates active-passive, where a primary server handles 100% of leases and a standby server maintains a reserve pool (default 5%) to service clients during an outage.

Maximum Client Lead Time (MCLT) defines the maximum lease extension a partner server can grant before the entire scope state is synchronized or before transitioning to PARTNER-DOWN.

Enabling State Switchover Interval automates the transition from COMMUNICATIONS-INTERRUPTED to PARTNER-DOWN, allowing the surviving partner to lease 100% of the pool without manual intervention.

Last updated: August 2026

DHCP High Availability & Failover Configurations

Enterprise network resiliency demands that core infrastructure services such as Dynamic Host Configuration Protocol (DHCP) remain continuously available despite hardware failures, hypervisor maintenance, or network partitioning. Legacy redundancy methods—such as Split-Scope DHCP (the 80/20 rule) and Windows Server Failover Clustering (WSFC)—introduced significant administrative overhead, IP address waste, and single points of failure. Windows Server native DHCP Failover (RFC 3074) delivers high availability and load balancing across two independent DHCP servers without shared storage.

1. High Availability Comparison: Failover vs. Split-Scope vs. Clustering +-----------------------------------------------------------------------------+

  • | DHCP HIGH AVAILABILITY ARCHITECTURE MATRIX |
  • | |
  • | FEATURE DHCP FAILOVER SPLIT-SCOPE (80/20) WSFC CLUSTER|
  • | ------------------+--------------------+---------------------+------------|
  • | Redundancy Model | Active-Active or | Active-Passive | Active- |
  • | | Active-Passive | (No Sync) | Passive |
  • | Shared Storage | NONE (Shared- | NONE | Mandatory |
  • | | Nothing Engine) | | (SAN/S2D) |
  • | Scope State Sync | Real-time via | None (Manual | Shared DB |
  • | | TCP Port 647 | reconciliation) | on disk |
  • | IP Pool Efficiency| 100% Shared Pool | Fragmented (20% | 100% Single|
  • | | Utilization | wasted per subnet) | Pool |
  • | Failover Speed | Instantaneous | Delayed (via delay) | 30-60s Fail|
  • | Protocol Support | IPv4 Scopes Only | IPv4 & IPv6 | IPv4 & IPv6|
  • +-----------------------------------------------------------------------------+

Detailed Redundancy Models:

Native DHCP Failover (Recommended Enterprise Standard):

Operates between exactly two Windows Server DHCP servers per failover relationship.

Synchronizes lease allocations, reservations, and scope options over TCP port 647 using mutual shared-secret HMAC-SHA256 authentication.

Does not require shared storage, cluster nodes, or identical hardware.

Limitation: Native DHCP Failover supports IPv4 scopes only . IPv6 scopes achieve high availability through independent dual-server stateless setups or router advertisements (RFC 4861).

Split-Scope DHCP (Legacy 80/20 Rule):

Divides a single subnet's address space between two servers (Server A manages 80%, Server B manages 20%).

Server B is configured with a 1,000 ms response delay to ensure Server A responds first under normal operations.

Drawbacks: No lease synchronization; if Server A fails during high demand, Server B's 20% pool can quickly exhaust, leaving clients unable to lease addresses.

DHCP Failover Clustering (WSFC):

Deploys a single DHCP Server instance across a Windows Server Failover Cluster sharing a clustered disk volume.

Drawbacks: Only one node is active at any time; failover requires mounting the shared disk and starting the DHCP service (30–60 seconds of disruption); introduces shared storage complexity.

2. DHCP Failover Modes: Load Balance vs. Hot Standby +-----------------------------------------------------------------------------+

  • | DHCP FAILOVER OPERATIONAL MODES |
  • | |
  • | [LOAD BALANCE MODE: Active-Active] [HOT STANDBY MODE: Active-Passive] |
  • | |
  • | DHCP-SRV01 DHCP-SRV02 DHCP-PRIMARY DHCP-STANDBY |
  • | (50% Traffic) (50% Traffic) (100% Leases) (5% Reserve) |
  • | \ / | : |
  • | \ / | : |
  • | [Client MAC Hash Algorithm] v v |
  • | | (Active Leases) (Takes over if |
  • | v Primary down) |
  • | [All Client Requests] |
  • +-----------------------------------------------------------------------------+
  • Mode 1: Load Balance (Active-Active - Default)

Mechanics: Both partner servers actively service client requests concurrently on the same subnet.

MAC Hashing Algorithm: When a client broadcasts a DHCPDISCOVER , both servers receive the packet. Each server runs a deterministic hash algorithm on the client's hardware MAC address. Based on the configured Load Percentage Split (e.g., 50/50, 70/30), only the server responsible for that hash bucket responds.

Use Case: Best suited for single-site datacenters or campuses with high DHCP transaction volumes where both servers reside in close physical proximity.

Mode 2: Hot Standby (Active-Passive)

Mechanics: One server is designated as Active Primary , and the partner server is designated as Passive Standby (Secondary) .

Normal Operation: The Primary server issues 100% of client leases and updates the Standby partner in real time via TCP port 647. The Standby server remains passive and does not respond to client requests.

Standby Reserve Percentage (Default 5%): The portion of unallocated IP addresses permanently assigned to the Standby partner. If the Primary server fails, the Standby server immediately services new clients using this reserve pool during the initial failure window.

Use Case: Ideal for hub-and-spoke or branch office architectures where a central datacenter server acts as a passive standby for multiple remote branch DHCP servers.

3. Failover State Machine, MCLT & State Switchover Interval

Understanding the DHCP Failover state machine and timer interactions is critical for troubleshooting outage scenarios and preventing split-brain conditions. +-----------------------------------------------------------------------------+

  • | DHCP FAILOVER STATE TRANSITION FLOW |
  • | |
  • | +------------+ Loss of TCP 647 Heartbeat +-------------------------+ |
  • | | NORMAL | -----------------------------> | COMMUNICATIONS- | |
  • | | (In Sync) | | INTERRUPTED | |
  • | +------------+ +-------------------------+ |
  • | ^ | |
  • | | (Partner Restored & Synced) | Switchover |
  • | | | Timer Expires|
  • | +------------+ Surviving Node Assumes 100% Pool v |
  • | | RECOVER | <----------------------------- +-------------------------+ |
  • | | STATE | (After MCLT duration passes)| PARTNER-DOWN | |
  • | +------------+ +-------------------------+ |
  • +-----------------------------------------------------------------------------+

Key Concepts & Timers:

COMMUNICATIONS-INTERRUPTED State:

When a server loses communication with its partner over TCP 647, it enters COMMUNICATIONS-INTERRUPTED .

In this state, neither server knows if the partner is dead or if a network partition occurred.

Lease Handling: The surviving server continues servicing its own clients. For new clients or partner clients, it grants temporary leases equal to the Maximum Client Lead Time (MCLT) .

Maximum Client Lead Time (MCLT - Default 1 Hour):

MCLT is the maximum time a server can extend a client lease beyond the lease time known by its partner.

When in COMMUNICATIONS-INTERRUPTED , the standby/partner server issues new leases valid only for the duration of the MCLT (e.g., 1 hour instead of 8 days).

When transitioning from COMMUNICATIONS-INTERRUPTED to PARTNER-DOWN , the surviving server must wait for the MCLT interval to elapse before it can assume control of the partner's entire IP address pool and issue full-length leases.

State Switchover Interval:

By default, a server in COMMUNICATIONS-INTERRUPTED will NEVER transition to PARTNER-DOWN automatically; an administrator must manually open DHCP Manager or run PowerShell to set the state.

If Automatic State Transition is enabled ( -AutoStateTransition $true ) with a State Switchover Interval (e.g., 60 minutes), the surviving server automatically transitions itself to PARTNER-DOWN once communication has been interrupted for that duration.

Caution

The Split-Brain Risk of Short Switchover Intervals: Setting the State Switchover Interval too short (e.g., under 30 minutes) creates a catastrophic risk during transient network routing disruptions. If both servers transition to PARTNER-DOWN simultaneously while isolated from each other, both servers begin leasing 100% of the scope independently, resulting in duplicate IP address assignments across the enterprise.

4. PowerShell Configuration for DHCP Failover

Deploying and managing DHCP Failover relationships via PowerShell provides declarative, scriptable control over replication and configuration synchronization. # 1. Create an Active-Active Load Balance Failover Relationship (50/50 Split)

  • Add-DhcpServerv4Failover `
  • ComputerName 'DHCP01.corp.contoso.com' `
  • Name 'DHCP01-DHCP02-LoadBalance' `
  • PartnerServer 'DHCP02.corp.contoso.com' `
  • ScopeId 10.10.1.0 `
  • Mode LoadBalance `
  • LoadPercent 50 `
  • MaxClientLeadTime (New-TimeSpan -Hours 1) `
  • AutoStateTransition $true `
  • StateSwitchoverInterval (New-TimeSpan -Minutes 60) `
  • SharedSecret 'S3cur3F@1l0v3rP@ss2026!'
  • # 2. Create an Active-Passive Hot Standby Failover Relationship
  • Add-DhcpServerv4Failover `
  • ComputerName 'DHCP01.corp.contoso.com' `
  • Name 'DHCP01-DHCP02-HotStandby' `
  • PartnerServer 'DHCP02.corp.contoso.com' `
  • ScopeId 10.10.2.0 `
  • Mode HotStandby `
  • ServerRole Primary `
  • ReservePercent 5 `
  • MaxClientLeadTime (New-TimeSpan -Hours 1) `
  • AutoStateTransition $true `
  • StateSwitchoverInterval (New-TimeSpan -Minutes 60) `
  • SharedSecret 'S3cur3F@1l0v3rP@ss2026!'
  • # 3. Replicate Scope Configuration Changes to Partner Server
  • # (DHCP Failover synchronizes leases automatically, but SCOPE OPTION changes require replication!)
  • Invoke-DhcpServerv4FailoverReplication `
  • ComputerName 'DHCP01.corp.contoso.com' `
  • Name 'DHCP01-DHCP02-LoadBalance' `
  • Force

Important

Scope Option Replication Rule: While DHCP Failover synchronizes active IP lease states dynamically across TCP 647 in real time, administrative scope changes (such as adding a new reservation, changing a DNS server option, or modifying exclusions) ARE NOT automatically replicated . Administrators must manually execute Invoke-DhcpServerv4FailoverReplication or select 'Replicate Scope' in DHCP Manager after making configuration edits.

5. DHCP Database Maintenance, Compaction & Migration

Windows Server DHCP utilizes the Extensible Storage Engine (ESE / JET) database engine. The database files reside in %SystemRoot%\System32\dhcp ( dhcp.mdb , j50.log , dhcp.tmp ).

Automated Database Backups:

The DHCP server automatically backs up its database every 60 minutes by default to %SystemRoot%\System32\dhcp\backup .

The backup path and interval are stored in the Windows Registry under HKLM\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters as the BackupDatabasePath and BackupInterval values, and both are settable with Set-DhcpServerDatabase -BackupPath <path> -BackupInterval <minutes> . The backup folder must be a local path.

Offline Database Compaction ( Jetpack.exe ):

As leases are created, expired, and deleted, the dhcp.mdb file accumulates whitespace and database fragmentation. Windows Server automatically performs online compaction, but severe fragmentation requires offline compaction via Jetpack.exe : :: Stop the DHCP Server service

net stop dhcpserver

  • :: Navigate to DHCP database directory
  • cd /d %SystemRoot%\System32\dhcp
  • :: Compact dhcp.mdb into a temporary database file
  • jetpack.exe dhcp.mdb temp_dhcp.mdb
  • :: Restart the DHCP Server service
  • net start dhcpserver

DHCP Server Migration ( Export-DhcpServer & Import-DhcpServer ):

When upgrading legacy Windows Server DHCP servers to Windows Server 2022 or 2025, administrators use the PowerShell DHCP migration cmdlets to export all scopes, active leases, reservations, and server settings into a single XML artifact: # On Legacy Source Server: Export all scopes, active leases, and options

  • Export-DhcpServer `
  • ComputerName 'DHCP-2016.corp.contoso.com' `
  • File 'C:\Migration\DhcpConfig.xml' `
  • Leases `
  • Force
  • # On Target Server: Import full configuration, leases, and activate
  • Import-DhcpServer `
  • ComputerName 'DHCP-2025.corp.contoso.com' `
  • File 'C:\Migration\DhcpConfig.xml' `
  • Leases `
  • BackupPath 'C:\DHCP_Backup' `
  • Force

Loading diagram... DHCP Failover State Machine and Partner Transition Flow