如果满足以下条件,DHCP 客户端可能会拒绝来自服务器的地址:
已为另一个媒体访问控制 (MAC) 地址分配保留。
网络上的静态 IP 地址位于排除范围内。
此状况应该会自行解决,但如果此状况持续存在,您可以在 DHCP 服务器上重新配置保留或排除范围。
重新配置客户端保留
客户端保留允许您保留一个特定的 IP 地址以供 DHCP 客户端永久使用。通常,如果客户端的 IP 地址是使用 TCP/IP 配置的另一种方法分配的,则将使用保留。
无法修改保留 IP 地址。如果要更改保留 IP 地址,请删除保留,然后使用新的 IP 地址重新创建保留。
若要执行这些过程,您必须是管理员组的成员,或者您必须被委派了适当的权限。
若要删除保留并使用新的 IP 地址重新创建保留,请执行以下操作:
在 DHCP 服务器上,单击“开始”,指向“管理工具”,然后单击“DHCP”。
在 DHCP 控制台树中,单击“保留”。
在详细信息窗格中,选择要更改其 IP 地址的保留客户端。
若要删除当前保留,请在“操作”菜单上,单击“删除”。
在 DHCP 中添加一个使用客户端的新 IP 地址的新保留。
重新配置排除范围
为了防止地址发生冲突,您定义的作用域必须排除静态配置的设备(如 DHCP 服务器)的 IP 地址。通过设置排除范围,管理员可以在作用域中排除一些 IP 地址范围,使这些地址不会提供给 DHCP 客户端。在创建新作用域时,请立即排除现有的静态配置的计算机的 IP 地址。仅在将排除的 IP 地址手动配置为保留的 IP 地址或作为保留的 IP 地址分配时,这些 IP 地址才能在网络上处于活动状态。
若要执行这些过程,您必须是管理员组的成员,或者您必须被委派了适当的权限。
若要重新配置排除范围,请执行以下操作:
在 DHCP 服务器上,单击“开始”,指向“管理工具”,然后单击“DHCP”。
在 DHCP 控制台树中,展开要配置的作用域。
选择并右键单击相应作用域下的“地址池”。
选择“新建排除范围”。
在“添加排除”对话框中,键入排除范围的起始和结束 IP 地址,然后单击“添加”。
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.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.IPv4Scope.UnitMonitor.LeaseAvailability.2" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.IPv4Scope" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.IPv4Scope.UnitMonitor.LeaseAvailability.2_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</FirstComputerName>
<FirstLogName>System</FirstLogName>
<FirstExpression>
<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">1012</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</SecondComputerName>
<SecondLogName>System</SecondLogName>
<SecondExpression>
<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>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1011</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1013</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>