UEU-co logo

ch16lev1sec9.html


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 10.8.0.2, you would type ping 10.8.0.2 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.

Categories

apply_now Pepperstone Group Limited