Perform this procedure to troubleshoot the following Dynamic Host Configuration Protocol (DHCP) scenarios:
The client cannot obtain a DHCP address when in the same subnet.
The client cannot obtain a DHCP address when in a different subnet.
When the DHCP server and client are on the different subnets or VLANs, you must configure the device as a DHCP relay agent. The device must forward DHCP requests to the DHCP server. You must perform extra troubleshooting steps to troubleshoot the DHCP relay agent.
If the workstation still cannot reach the network, the problem is not DHCP. Start troubleshooting network connectivity.
If the client obtains an IP address after the PC startup is complete, the issue is not the DHCP server.
If the issue persists, the problem may be with the DHCP server. If DHCP is working on the same subnet or VLAN as the DHCP server, the DHCP issue can be with the DHCP relay agent.