大网数据广告活动
网络与域名解析

DHCP servers don't replicate lease information

· 52CE 我爱测

Resolves two issues that occur when you use DHCP failover in Windows Server 2012.

This article provides help to solve some known issues with Dynamic Host Configuration Protocol (DHCP) failover.

Original KB number:   2751456

Symptoms

You experience one or more of the following issues when you use DHCP failover in Windows Server 2012:

  • Two DHCP servers in a failover relationship report different failover states. This issue occurs even though both servers are connected to the network.
  • Some lease information is not replicated successfully between the two DHCP servers even though both servers report a typical failover state.

Cause

These are known issues with DHCP failover in Windows Server 2012. These issues occur when the following conditions are true:

  • Existing scopes are migrated to Windows Server 2012 by using netsh dhcp server export and netsh dhcp server import commands. Or, an existing DHCP server is upgraded to Windows Server 2012.
  • A scope has one or more inactive reservations when the scope is migrated or when the DHCP server is upgraded.

Resolution

To resolve these issues, apply the cumulative update package that is described in the following article in the Microsoft Knowledge Base: 2756872 Windows 8 Client and Windows Server 2012 General Availability Cumulative Update

Note: To resolve the issues in an existing failover relationship, delete the relationship before you apply the update package, and then re-create the failover relationship. These issues do not occur if a failover relationship is created after you apply the cumulative update package.

Workaround

To work around these issues, use the following Windows PowerShell commands to migrate scopes to Windows Server 2012:

  • Export-DhcpServer

  • Import-DhcpServer The following is a sample set of commands:

    Export-DhcpServer $env:SystemRoot\System32\Dhcp\Temp.txt -Leases
    Import-DhcpServer -BackupPath $env:SystemRoot\System32\Dhcp\Backup -File $env:SystemRoot\System32\Dhcp\Temp.txt -ScopeOverwrite -Leases
    Restart-Service DHCPServer
    

More information

These issues do not occur if scopes are migrated by using the Windows PowerShell commands Export-DhcpServer and Import-DhcpServer.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。