KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

DHCP test

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Library
View previous topic :: View next topic  
Author Message
KS-Soft



Joined: 03 Apr 2002
Posts: 11934
Location: USA

PostPosted: Fri Jul 27, 2007 7:14 am    Post subject: DHCP test Reply with quote

DHCP test utility available at
www.ks-soft.net/download/utils/dhcpcheck.zip
This is command line utility that can be used with Shell Script test method
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#chkShell

There is 1 mandatory command line parameter:
-host:<hostname|IP>
and 2 optional parameters:
-clientIP:<ip address>
-timeout:<communication_timeout_ms>

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
JuergenF



Joined: 26 Jan 2003
Posts: 330
Location: Germany, North Rhine-Westphalia

PostPosted: Sun Sep 02, 2007 2:34 am    Post subject: Re: DHCP test Reply with quote

Dear Alex,

what exactly does this test do ? Seems to do a DHCP request.

But what exactly does -ClientIP do ? I always get a "DHCP NAK" from my Server (looking at wireshark) using different clientIP-addresses

And another question:
When using -cli: instead of -clientIP: there is no Error message displayed.
Does the parameter work correctly ?
(i.e -ho instead of -host is not allowed)

dhcpcheck.exe -host:192.168.68.68 -cli:192.168.68.101
ScriptRes:Host is alive:172 ms

dhcpcheck.exe -ho:192.168.68.68 -cli:192.168.68.101
ScriptRes:Unknown:DHCP Server name or IP is required

Best regards

Juergen
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Sun Sep 02, 2007 11:34 am    Post subject: Re: DHCP test Reply with quote

JuergenF wrote:
what exactly does this test do ? Seems to do a DHCP request.
You are right. dhcpcheck utility verifies the DHCP server by sending DHCP request packet and waits for the response from DHCP server, whatever it replies NAK or ACK.

JuergenF wrote:
But what exactly does -ClientIP do ? I always get a "DHCP NAK" from my Server (looking at wireshark) using different clientIP-addresses
ClientIP parameter may specify the IP-address from the range, managed by DHCP server. It is not required parameter, so you have not to specify it. We have implemented such a parameter, because some DHCP servers does not respond on the packet without proper clients IP. If server replies NAK it means the server is alive as well.

JuergenF wrote:
And another question:
When using -cli: instead of -clientIP: there is no Error message displayed.
Does the parameter work correctly ?
ClientIP is not required parameter, so if you specified -cli: parameter, dhcpcheck utilty would ignore it. Unlike -ClientIP parameter, -Host: parameter is required. So, it must be specified in any case.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Library All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index