Klient DHCP może odrzucić adres z serwera, jeśli:
Zastrzeżenie zostało już przypisane do innego adresu kontroli dostępu do nośnika (adresu MAC).
Statyczne adresy IP w sieci są umieszczone w zakresach wykluczeń.
W takiej sytuacji problem powinien zostać automatycznie rozwiązany, ale jeśli nie ustępuje, można ponownie skonfigurować zastrzeżenia lub zakresy wykluczeń na serwerze DHCP.
Zmiana konfiguracji zastrzeżeń klienta
Zastrzeżenia klienta pozwalają na zastrzeżenie konkretnego adresu IP na potrzeby stałego użycia przez klienta DHCP. Zwykle zastrzeżenia są używane w przypadku, gdy adres IP klienta został przypisany przy użyciu innej metody konfiguracji protokołu TCP/IP.
Zastrzeżonych adresów IP nie można modyfikować. Aby zmienić adres IP zastrzeżenia, należy usunąć zastrzeżenie, a następnie ponownie je utworzyć, korzystając z nowego adresu IP.
Aby wykonać te procedury, trzeba należeć do grupy Administratorzy lub mieć odpowiednie uprawnienia oddelegowane.
Aby usunąć zastrzeżenie, a następnie ponownie je utworzyć, korzystając z nowego adresu IP:
Na serwerze DHCP kliknij przycisk Start, wskaż opcję Narzędzia administracyjne, a następnie kliknij pozycję DHCP.
W drzewie konsoli DHCP kliknij element Zastrzeżenia.
W okienku szczegółów wybierz zastrzeżonego klienta, którego adres IP chcesz zmienić.
Aby usunąć aktualną rezerwację, w menu Akcja kliknij polecenie Usuń.
W systemie DHCP dodaj nowe zastrzeżenie z użyciem nowego adresu IP dla klienta.
Zmiana konfiguracji zakresów wykluczeń
Aby zapobiec konfliktom adresów, definiowane zakresy nie mogą zawierać adresów IP urządzeń, które zostały skonfigurowane statycznie, takich jak serwery DHCP. Definiując zakresy wykluczeń administrator może wykluczyć zakresy adresów IP, tak aby nie były one oferowane klientom DHCP. Podczas tworzenia nowego zakresu należy natychmiast wykluczyć istniejące adresy IP statycznie skonfigurowanych komputerów. Wykluczone adresy IP mogą być aktywne w sieci, ale tylko w przypadku, gdy zostały skonfigurowane ręcznie lub rozdystrybuowane jako zastrzeżone adresy IP.
Aby wykonać te procedury, trzeba należeć do grupy Administratorzy lub mieć odpowiednie uprawnienia oddelegowane.
Aby zmienić konfigurację zakresów wykluczeń:
Na serwerze DHCP kliknij przycisk Start, wskaż opcję Narzędzia administracyjne, a następnie kliknij pozycję DHCP.
W drzewie konsoli DHCP rozwiń zakres, który chcesz skonfigurować.
Zaznacz i kliknij prawym przyciskiem myszy pulę adresów dla odpowiedniego zakresu.
Wybierz opcję Nowy zakres wykluczenia.
W oknie dialogowym Dodawanie wykluczenia wpisz początkowy i końcowy adres IP zakresu wykluczenia, a następnie kliknij przycisk Dodaj.
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>