28

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

Is there anything for Windows?

3 Answers3

39

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

enter image description here

14
ipconfig /all | findstr /C:"DHCP Server"
Giacomo1968
  • 58,727
Jason Berg
  • 1,114
7

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 server

mrkozma
  • 71