沒有 BOOTP 用戶端適用的可用 IPv4 位址
如果 DHCP 伺服器沒有 IP 位址可以提供給其用戶端的 Bootstrap 通訊協定 (BOOTP) 服務,BOOTP 便會失敗。當發生這種情況時,請考慮採用下列可能的解決方式:
使用領域延伸來擴大目前領域的位址範圍。
縮短租用期間並縮減清除間隔。這可加快重新回收過期 IP 位址的速度。
擴充 DHCP 領域
如果您已經有 DHCP 領域,而 [起始位址] 和 [結束位址] 目前不包括特定子網路的所有位址,您可以擴充領域內容中的 [起始位址] 或 [結束位址],以增加領域中的位址數目。
若要增加用戶端可用的位址數目:
在 DHCP 伺服器上,按一下 [開始],指向 [系統管理工具],然後按一下 [DHCP]。
在主控台樹狀目錄中,以滑鼠右鍵按一下您要擴充的領域,然後按一下 [內容]。
變更 [起始 IP 位址] 和 [結束 IP 位址] 以擴充領域。
縮短租用期間
若要執行這些程序,您必須是 Administrators 群組成員或是已經委派您適當的權限。
若要縮短租用期間:
在 DHCP 伺服器上,按一下 [開始],指向 [系統管理工具],然後按一下 [DHCP]。
在 DHCP 主控台樹狀目錄中,以滑鼠右鍵按一下您要設定的領域,然後按一下 [內容]。
在 [一般] 索引標籤的 [DHCP 用戶端租用期間] 底下,輸入新的租用期間。
縮減清除間隔
若要執行這些程序,您必須是 Administrators 群組成員或是已經委派您適當的權限。
若要使用 Netsh 命令設定清除間隔時間:
在 DHCP 伺服器上,按一下 [開始],再按一下 [執行],輸入 cmd,然後按 ENTER。
輸入 netsh dhcp set databasecleanupinterval "NewInterval" (其中 "NewInterval" 是以分鐘為單位的 DHCP 資料庫清除間隔時間)。
範例
在下列範例中,此命令會將資料庫清除間隔設定為 10,080 分鐘 (每七天)。
netsh dhcp set databasecleanupinterval 10080
Target | Microsoft.Windows.DHCPServer.Library.IPv4Scope | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.SingleEventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<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>