DHCPing for Windows 9x/NT/2K

Posted on 2005-05-11
Last Modified: 2007-12-19
Is there a program available to perform a DHCP ping from a Windows Client? I know they exist for Linux.

I have a linux DHCP server and I need to test other subnets but the only way I can test is to remote into a  windows computer with a static IP.  If I change to Network config to DHCP then I will lose my remote control functionality.  Hence... Windows DHCPing.

Thanks in advance,

Question by:canyonsw
    LVL 5

    Accepted Solution

    If the remote host on the network is running  XP, you can use netsh.  XP introduced a diagnostic argument to netsh that allows you to ping the DHCP server(s) on any connected subnet.

    From a command line on the XP machine, type:
    netsh diag ping dhcp

    Hope this helps.
    LVL 4

    Expert Comment

    Even in W2K, you can list all DHCP servers on you net at least. Just type in command prompt

    netsh dhcp show server

    Author Comment


    I tried the netsh on an XP with a static IP on my local subnet and the command returned "DHCP Server" with no other information.  I reconfigured XP to use DHCP, executed "ipconfig /release" and my IP was  I issued the netsh command and the command returned "DHCP Server" with no other info.

    Next, I issued "ipconfig /renew" and got a vaild ip address.  I re-issue the netsh command and this time got valid DHCP Server information back.

    I am not sure what good "diags" does if you have to have network connectivity with DHCP support to run "diags".

    Thanks for the info but I need a way to run DHCP ping configured with a static IP.


    Author Comment


    My version of W2k doesn't support the command set "netsh dhcp"  and "netsh show" did not have a "dhcp" option.


    LVL 4

    Expert Comment

    Which SP do you have on your 2K box? Install the latest. Go to and download the latest SP (4) for W2K.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now