偵測到重複的 IP 位址

Microsoft.Windows.Server.2008.OperatingSystem.IPAddressConflict.Alert (Rule)

在網路上偵測到重複的 IP 位址

Knowledge Base article:

摘要

如果 Windows® 偵測到本機電腦的 IP 位址與網路上一或多個不同的 IP 位址發生衝突,此規則即會產生警示。

在 IP 位址衝突解決之前,遠端用戶端與應用程式可能難以存取任何受影響電腦上的資源。 此外,本機電腦可能也無法存取網路資源。

相關事件

只要發生下列事件,且這些事件記錄在系統事件記錄檔中,此規則就會產生警示:

系統偵測到 IP 位址 %2 與網路硬體位址為 %3 的系統發生位址衝突。本機介面已被停用。

原因

網路上的另一台電腦正在使用相同 IP 位址。

網路上有重複的媒體存取控制 (MAC) 位址。 如果您正在指派本機管理位址 (LAA) (通常是在 Token Ring 介面卡驅動程式中指派),則可能會發生 MAC 位址重複的情況。

解決方式

如果發生 IP 位址衝突,且您的網路使用動態主機設定通訊協定 (DHCP),DHCP 會自動提供新的 IP 位址:

如果發生 IP 位址衝突,且您的網路使用靜態 IP 位址,請從網路系統管理員取得可用的唯一 IP 位址,並以新的 IP 位址取代目前的 IP 位址。

如果網路上有重複的 MAC 位址,您必須確定網路上使用相同 MAC 位址的另一台電腦。 若要確定重複的 MAC 位址,請在運作中的 TCP/IP 用戶端上執行下列步驟:

外部

如需相關資訊,請參閱 Microsoft® 知識庫文件: 164903<How to Troubleshoot Duplicate Media Access Control Address Conflicts>(如何疑難排解存取重複媒體控制位址衝突),網址為 http://go.microsoft.com/fwlink/?LinkId=28866

Element properties:

TargetMicrosoft.Windows.Server.2008.OperatingSystem
CategoryEventCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
IP 位址衝突
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.Server.2008.OperatingSystem.IPAddressConflict.Alert" Enabled="true" Target="Server2008!Microsoft.Windows.Server.2008.OperatingSystem" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>TCPIP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4198</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4199</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.2008.OperatingSystem.IPAddressConflict.Alert.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>