Discussion Locked

discover DHCP server

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to use a utility to discover if a host is providing DHCP services on a given IP LAN.

6 replies

by timwalsh

It sounds like you just want to discover if there is a DHCP server on a given network segment. (I'm assuming you are using Windows.)
If this is the case (if the computer is setup to use DHCP, and there are no connectivity issues), from a MS-DOS prompt, type "ipconfig /all".
The answer you get get back will be an IP address for the local machine, all the IP info being distributed by the DHCP server, and the IP address for the DHCP server. If you get back only minimal information (a default IPaddress and network mask for the local machine and no IP address for a DHCP server), then either the DHCP server is not working properly, or does not exist.
Hope this helps.

by mshavrov

If you want to check your existing DHCP server, if it provides you with correct information, then use "ipconfig /renew" to renew IP address, and then "ipconfig /all" to display parameters. If your DHCP server does not work you will lose your IP address and you will have all zeros (0.0.0.0) instead of your address.

If you want to check your LAN, if it has another "unregistered" DHCP Server, then you need tu use "sniffer" or "network monitoring" to capture network traffic. Usually when any station sends DHCP request, all DHCP services answers to this request and you can see if more than one server respond to request. Then analyze captured packages to get source IP address of these computers.

Good luck.

This discussion is closed to new replies.