DHCP 2012 IPv6 运行时对静态地址的需求监视器

Microsoft.Windows.DHCPServer.2012.IPv6Runtime.UnitMonitor.StaticIPAssigned (UnitMonitor)

此监视器可以检查初始化 IPV6 作用域所需的配置,以便获取为服务器分配的静态 IP 地址

Knowledge Base article:

摘要

动态主机配置协议版本 6 (DHCPv6) 服务器服务是一个在运行 Windows Server 的计算机上后台运行的进程,向客户端提供 Internet 协议版本 6 (IPv6) 地址。

动态主机配置协议 (DHCP) 可以租用 Internet 协议版本 4 (IPv4) 和 Internet 协议版本 6 (IPv6) 地址。如果 IPv6 不可用,DHCP 服务将仅使用 IPv4。

原因

DHCP 无法初始化它的一个组件。DHCP 服务器服务无法启动。客户端计算机无法从 DHCP 服务器获取新租约,且没有网络连接。

解决方案

解决方案:为 DHCP 服务器配置静态 IP 地址

若要执行这些过程,您必须是管理员组的成员,或者您必须被委派了适当的权限。

若要为静态寻址配置 TCP/IP,请执行以下操作:

其他

验证程序:DHCPv6 服务器服务正在运行

若要验证 DHCPv6 服务是否处于运行状态,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.DHCPServer.2012.IPv6Runtime
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP 2012 IPv6 运行需要静态地址警报
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.2012.IPv6Runtime.UnitMonitor.StaticIPAssigned" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.2012.IPv6Runtime" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.2012.IPv6Runtime.UnitMonitor.StaticIPAssigned_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">10020</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>