UEU-co logo


Previous Page Next Page

Troubleshooting DHCP

Two commands that are very useful in troubleshooting DHCP connectivity are ping and ipconfig. Both are executed at the command line. ping enables you to check the connection between a client and a DHCP server, or a DHCP server and a client. For example, to ping a DHCP server with the IP address of, you would type ping in the command window. Figure 16.19 shows a successful ping of this address.

Figure 16.19. You can use ping to examine the connection between two computers.

[View full size image]

ipconfig is useful on the client side. When executed at the command line, it tells you the IP configuration of the client (ipconfig/all provides more information). If you don’t see an IP address and subnet mask (or a default gateway or DNS server) when you run this command, the client is not receiving the information from the DHCP server.

By the Way

A problem that crops up with DHCP on routed networks is that the broadcast messages that are used to secure an IP lease for a client are not forwarded by routers from subnet to subnet. This can be remedied by configuring a DHCP Relay Agent, which is configured in the Routing and Remote Access Service. DHCP Relay Agent configuration is explored in Hour 18, “Implementing Network Routing.”

Previous Page Next Page

Leave a Reply

Time limit is exhausted. Please reload the CAPTCHA.


apply_now Pepperstone Group Limited