Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find DHCP server.

Status
Not open for further replies.

scripto

Technical User
Oct 20, 2003
9
GB
I have a PC running DOS and LAN Manager. The IP address is set by DHCP. I need to know the IP address - or host name - of the DHCP server that delivered the IP address to LAN MAnager. It must be a DOS real mode utility. IPCONFIG would be fine but I cannot find a DOS real mode version.

Can you help?
 
Your post doesn't make sense to me. A DHCP server will provide addresses for any computer that requests it. Its IP address does not need to known, since the bootp request is a broadcast message (sent to 255.255.255.255).

You should be able to tell which DHCP server supplied the address based on the scope that the IP address that gets assigned to your PC falls into.

As far as an ipconfig "like" utility, I think that the closest you will get is the net command. Try "net config" and see if you can locate the information that you are looking for.

Ultimately it will probably be easier to put another machine alongside the DOS box and sniff the bootp requests and responses using Wireshark or tcpdump.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top