Packet discarded

Packet_discarded_1_Rule (Rule)

Knowledge Base article:

Management Pack
Summary
The DHCP allocator component of Network Address Translation (NAT) protocol discarded a packet from client.
 
Causes
The most common reasons for this error are:
  1. The allocator received a packet containing unrecognized code or message type.
  2. The allocator received a packet which is smaller than the minimum size allowed.
  3. The allocator received a packet whose format is invalid.
 
Resolutions
Verify the configuration on the client and see whether it is sending the correct DHCP request.
 
Sample Event
Sample Event#1: The DHCP allocator received a message containing an unrecognized code (%1).The message was neither a BOOTP request nor a BOOTP reply, and was ignored.
Sample Event#2: The DHCP allocator received a message smaller than the minimum message size.The message has been discarded.
Sample Event#3: The DHCP allocator received a message whose format was invalid.The message has been discarded.
Sample Event#4: The DHCP allocator received a DHCP message containing an unrecognizedmessage type (%1) in the DHCP message type option field.The message has been discarded.
 
© 2004 Microsoft Corporation, all rights reserved.

Element properties:

TargetMicrosoft.Windows.RemoteAccess.2012.Class.VPNServer
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default

Source Code:

<Rule ID="Packet_discarded_1_Rule" Enabled="true" Target="Microsoft.Windows.RemoteAccess.2012.Class.VPNServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(30004|30007|30008|30010)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>SharedAccess_NAT|ipnathlp</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectEvent"/>
</WriteActions>
</Rule>