若要解决此问题,请通过执行以下操作来确定并解决 DHCP 服务器和域控制器之间存在的任何网络连接问题:
使用 ping 命令来确定是否存在网络连接问题。
如有必要,可执行其他故障排除步骤以帮助确定问题的原因。
若要执行这些任务,请参考以下各节。
注意:以下过程包含使用 ping 命令进行故障排除的步骤。因此,在执行这些步骤之前,请先检查网络上的防火墙或 Internet 协议安全 (IPsec) 设置是否允许使用 Internet 控制消息协议 (ICMP) 进行通信。ICMP 是 ping 命令使用的 TCP/IP 协议。
若要执行这些过程,您必须拥有本地管理员组的成员身份,或者被委派了适当的权限。
确定是否存在网络连接问题
若要确定 DHCP 服务器和域控制器之间是否存在网络连接问题,请执行以下操作:
在 DHCP 服务器上,单击“开始”,再单击“运行”,键入 cmd,然后单击“确定”。
在命令提示符下,键入 ping server_FQDN,其中 server_FQDN 是域控制器的完全限定的域名 (FQDN)(例如,server1.contoso.com),然后按 Enter。
如果此 ping 命令成功,您将收到类似于以下内容的答复:
来自 IP_address 的回复:字节=32 时间=3ms TTL=59
来自 IP_address 的回复:字节=32 时间=20ms TTL=59
来自 IP_address 的回复:字节=32 时间=3ms TTL=59
来自 IP_address 的回复:字节=32 时间=6ms TTL=59
在命令提示符下,键入 ping IP_address(其中,IP_address 是域控制器的 IP 地址),然后按 Enter。
如果可以通过 IP 地址对域控制器成功进行 ping 操作,但无法通过 FQDN 对域控制器成功进行 ping 操作,则表明 DNS 主机名解析可能存在问题。
如果无法通过 IP 地址对域控制器成功进行 ping 操作,则表明网络连接、防火墙配置或 IPsec 配置可能存在问题。
执行其他故障排除步骤
以下是一些额外的故障排除步骤,通过执行这些步骤可帮助您确定问题的根本原因:
对网络中的其他计算机进行 ping 操作,以帮助确定网络连接问题的范围。
如果可以对其他服务器进行 ping 操作,但不能对域控制器进行 ping 操作,请尝试从另一台计算机对域控制器进行 ping 操作。如果无法从任何计算机对域控制器进行 ping 操作,请首先确保域控制器处于运行状态。如果域控制器处于运行状态,请检查域控制器上的网络设置。
通过执行以下操作,检查本地计算机上的 TCP/IP 设置:
单击“开始”,再单击“运行”,键入 cmd,然后单击“确定”。
在命令提示符处,键入 ipconfig /all,然后按 Enter。确保列出的信息准确。
键入 ping localhost 以验证本地计算机上是否已安装并正确配置 TCP/IP。如果此 ping 操作失败,则可能表明 TCP/IP 堆栈已损坏或网络适配器出现问题。
键入 ping IP_address,其中 IP_address 是分配给计算机的 IP 地址。如果可以对本地主机地址进行 ping 操作,但不能对本地地址进行 ping 操作,则表明路由表或网络适配器驱动程序可能存在问题。
键入 ping DNS_server,其中 DNS_server 是分配给 DNS 服务器的 IP 地址。如果网络中有多台 DNS 服务器,则应对每台 DNS 服务器进行 ping 操作。如果不能对 DNS 服务器进行 ping 操作,则表明 DNS 服务器可能存在问题,或者计算机与 DNS 服务器之间的网络可能存在问题。
如果域控制器位于其他子网中,请尝试对默认网关进行 ping 操作。如果无法对默认网关进行 ping 操作,则表明网络适配器、路由器或网关设备、电缆或其他连接硬件可能存在问题。
在设备管理器中,检查网络适配器的状态。若要打开设备管理器,请单击“开始”,再单击“运行”,键入 devmgmt.msc,然后单击“确定”。
检查计算机以及集线器或路由器上的网络连接指示灯。检查网络电缆。
使用“高级安全 Windows 防火墙”管理单元检查防火墙设置。
使用“IP 安全策略管理”管理单元检查 IPsec 设置。
Target | Microsoft.Windows.DHCPServer.Library.IPv4Runtime | ||
Parent Monitor | System.Health.SecurityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.RogueDetection.2" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Runtime" ParentMonitorID="Health!System.Health.SecurityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.IPv4Runtime.UnitMonitor.RogueDetection.2_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</FirstComputerName>
<FirstLogName>System</FirstLogName>
<FirstExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1107</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</SecondComputerName>
<SecondLogName>System</SecondLogName>
<SecondExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1100</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1101</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1103</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1109</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1111</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>