Possible Cause 1 |
DHCP is disabled. |
---|---|
Verification |
Check whether DHCP is enabled. Enter the user view and run:
display current-configuration | include dhcp enable
If the command output is empty, DHCP is disabled. |
Solution |
Enable DHCP. Enter the system view and run:
dhcp enable
By default, DHCP is disabled in the system. |
Possible Cause 2 |
The configuration is incorrect. |
---|---|
Verification |
|
Solution |
Modify the configurations on the DHCP server and, if deployed, DHCP relay agents. For details, see Configuring a DHCP Server and Configuring a DHCP Relay Agent. |
Possible Cause 3 |
The address pool has no available IP addresses. |
---|---|
Verification |
Check whether there are IP addresses available in the address pool. Run:display ip pool
The Idle(Expired) field displays the number of idle IP addresses in the address pool. |
Solution |
|
Possible Cause 4 |
The Spanning Tree Protocol (STP) is enabled on a diskless workstation functioning as a DHCP client. |
---|---|
Verification |
Check whether STP is enabled. Run:display stp
|
Solution |
Disable STP on the diskless workstations. The timeout period of DHCP Discover messages sent from clients is shorter than the STP convergence time, and therefore the DHCP server cannot receive DHCP Discover messages or allocate IP addresses to
the diskless workstations. Run:undo stp enable
|
Possible Cause 5 |
The IP address is manually configured for another host on the network. This causes an IP address conflict because the DHCP server does not exclude manually configured IP addresses from the address pool. |
---|---|
Verification |
Disable the network adapter of the client or disconnect the network cable. Then, from another connected host, ping the conflicting IP address. If you can ping the IP address, it is manually configured. |
Solution |
NOTE:
IP address conflict detection can be configured on the DHCP server to prevent conflicts. For details, see (Optional) Configuring IP Address Conflict Detection. |