[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4676
  • Last Modified:

DHCPing for Windows 9x/NT/2K

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,

Mike
0
canyonsw
Asked:
canyonsw
  • 2
  • 2
1 Solution
 
ZoidlingCommented:
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.
0
 
Gen2003Commented:
Even in W2K, you can list all DHCP servers on you net at least. Just type in command prompt

netsh dhcp show server
0
 
canyonswAuthor Commented:
Zoidling:

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 0.0.0.0.  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.

Mike
0
 
canyonswAuthor Commented:
Gen2003:

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

Thanks

Mike
0
 
Gen2003Commented:
Which SP do you have on your 2K box? Install the latest. Go to www.microsoft.com and download the latest SP (4) for W2K.

0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now