DHCP allocator failure

DHCP_allocator_failure_1_Rule (Rule)

Knowledge Base article:

Management Pack
Summary
The DHCP allocator component of Network Address Translation (NAT) protocol encountered an error.
 
Causes
The most common reasons for this error are:
  1. The DHCP allocator has failed to check whether the IP address is in use on the network. The most common reason for this failure is the allocator failed to get the address resolution for the IP address on the network.
  2. There was a socket operation failure.
  3. The DHCP allocator has detected a DHCP server on the network.
  4. The DHCP allocator has encountered a network error while attempting to reply to a client's request.
  5. The DHCP allocator has detected Network Address Translation (NAT) enabled on the interface.
  6. The DHCP allocator has disabled itself as its IP address is outside the scope from which addresses are being allocated to DHCP clients.
 
Resolutions
  1. If the server is low on memory, take appropriate action to increase the available memory. See Help and Support Center for information on low memory.
  2. Verify the network connectivity between the client and the NAT server.
  3. Reconfigure the scope from which the addresses are being allocated to DHCP clients to include the IP address of NAT server.
  4. Stop and restart the Routing and Remote Access service.
  5. If the problem persists, restart the server.
 
Sample Event
Sample Event#1: The DHCP allocator was unable to check whether the IP address %1is in use on the network for local IP address %2.This error may indicate lack of support for address-resolution on thenetwork, or an error condition on the local machine.The data is the error code.
Sample Event#2: The DHCP allocator was unable to bind to the IP address %1.This error may indicate a problem with TCP/IP networking.The data is the error code.
Sample Event#3: The DHCP allocator has detected a DHCP server with IP address %1on the same network as the interface with IP address %2.The allocator has disabled itself on the interface in order to avoidconfusing DHCP clients.
Sample Event#4: The DHCP allocator encountered a network error while attempting to replyon IP address %1 to a request from a client.The data is the error code.
Sample Event#5: The DHCP allocator detected network address translation (NAT) enabledon the interface with index ''%1''.The allocator has disabled itself on the interface in order to avoidconfusing DHCP clients.
Sample Event#6: The DHCP allocator has disabled itself on IP address %1,since the IP address is outside the %2/%3 scopefrom which addresses are being allocated to DHCP clients.To enable the DHCP allocator on this IP address,please change the scope to include the IP address,or change the IP address to fall within the scope.
 
© 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="DHCP_allocator_failure_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>^(30001|30002|30005|30009|30012|30013)$</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>