Listing All DHCP Servers

  • Section(s): Security , Network
  • Published on Aug 09, 2005.
  • Last Modified on Aug 09, 2005.
  • Last Modified by Mitch Tulloch.
  • Rated 3.1 out of 5 based on 18 votes.
Want to know the DNS names and IP addresses of all DHCP servers on your network?

Want to know the DNS names and IP addresses of all DHCP servers on your network? If you're using Active Directory it's easy, just open a command prompt and type netsh dhcp show server and a list of DHCP servers authorized in AD will be displayed.

But what about rogue DHCP servers? These are not displayed, and the only way you can scan for such DHCP servers is to use a sniffer like Network Monitor to capture all DHCP broadcast traffic on your network. Leave Network Monitor running for some time however to do this since most DHCP leases are 8 days or so.

 

About Mitch Tulloch

Mitch Tulloch was lead author for the Windows Vista Resource Kit from Microsoft Press, which is the book for IT pros who want to deploy, maintain and support Windows Vista in mid- and large-sized network environments. Mitch was also the author of Introducing Windows Server 2008 and technical project lead for the Microsoft Office Communications Server 2007 Resource Kit, both books also from Microsoft Press. For more information on these and other books by Mitch, see www.mtit.com .

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Inventory solution?