The dhcp server forbidden-ip command specifies the range of IP addresses that cannot be assigned to clients by the DHCP server.
By default, the system does not configure the range of IP addresses that cannot be assigned to clients by the DHCP server.
Parameter |
Description |
Value |
---|---|---|
start-ip-address |
Specifies the start IP address that cannot be automatically assigned. |
The value is in dotted decimal notation. |
end-ip-address |
Specifies the end IP address that cannot be automatically assigned. If end-ip-address is not specified, only start-ip-address cannot be assigned to clients. |
The value is in dotted decimal notation. end-ip-address and start-ip-address must be on the same network segment and end-ip-address must be larger than start-ip-address. |
Usage Scenario
The dhcp server forbidden-ip command applies to DHCP servers. In an IP address pool, some IP addresses need to be reserved for other services, and some IP addresses are statically assigned to certain hosts (such as the DNS server) and cannot be automatically assigned to clients. You can run the dhcp server forbidden-ip command to specify the range of the IP addresses that cannot be automatically assigned to clients from the IP address pool.
Precautions