Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Linux has easy commands to find the DHCP server IP address via a command prompt.

Is there anything for Windows?

share|improve this question

migrated from serverfault.com Jul 23 '11 at 14:43

This question came from our site for professional system and network administrators.

add comment

4 Answers

up vote 17 down vote accepted

The DHCP server used to obtain an address is included in the output of ipconfig /all.

enter image description here

share|improve this answer
add comment

If your computer has static IP then the ipconfig /all will not show the DHCP server on your network. In this case you can use the following command line to display it.

netsh dhcp show mode

share|improve this answer
add comment

ipconfig /all | findstr /C:"DHCP Server"

share|improve this answer
add comment

ipconfig /all

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.