Monitor przepełnienia zakresu DHCP IPv4 dla BOOTP

Microsoft.Windows.DHCPServer.Library.IPv4Scope.UnitMonitor.BOOTPScopeFull (UnitMonitor)

Brak dostępnych adresów IPv4 dla klientów BOOTP

Knowledge Base article:

Rozwiązania

Jeśli serwer DHCP nie ma adresów IP, które może udostępnić swoim klientom za pośrednictwem usługi protokołu Bootstrap (BOOTP), występuje błąd usługi BOOTP. W takiej sytuacji należy wziąć pod uwagę następujące rozwiązania:

Rozszerzanie zakresu DHCP

Jeśli istnieje już zakres DHCP, a adres początkowy i końcowy nie wyznacza wszystkich adresów w podsieci, można zwiększyć liczbę adresów w zakresie, rozszerzając adres początkowy lub końcowy we właściwościach zakresu.

Aby zwiększyć liczbę adresów dostępnych dla klientów:

Skrócenie czasu trwania dzierżawy

Aby wykonać te procedury, trzeba należeć do grupy Administratorzy lub mieć odpowiednie uprawnienia oddelegowane.

Aby skrócić czas trwania dzierżawy:

Zmniejsz interwał oczyszczania.

Aby wykonać te procedury, trzeba należeć do grupy Administratorzy lub mieć odpowiednie uprawnienia oddelegowane.

Aby użyć polecenia Netsh do ustawienia czasu interwału oczyszczania:

Przykład

W następującym przykładzie niniejsze polecenie ustawia interwał oczyszczania bazy danych na 10 080 minut (co siedem dni).

netsh dhcp set databasecleanupinterval 10080

Element properties:

TargetMicrosoft.Windows.DHCPServer.Library.IPv4Scope
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Alert przepełnienia zakresu DHCP IPv4 dla BOOTP
{0}
RunAsMicrosoft.Windows.DHCPServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.IPv4Scope.UnitMonitor.BOOTPScopeFull" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Scope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.IPv4Scope.UnitMonitor.BOOTPScopeFull_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<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">1064</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>