check_dhcp

Subhendu Ghosh sghosh at sghosh.org
Fri Oct 11 05:46:42 CEST 2002


On Mon, 7 Oct 2002 Jens.Bergmann at nordCom.net wrote:

> Hi,
> 
> no matter which server-ip/-host i pass to check_dhcp i get an answer
> from my real dhcp-cluster. with other words: i'm not able to make a
> dedicated request to one server. (okay, i know that dhcp uses
> broadcasts, but i thougth it would check the ip of the replying server).
> 
> command_line                   $USER1$/check_dhcp -s $HOSTADDRESS$ -t 5
> 
> jens
> 
> --
> Jens Bergmann			jens.bergmann at nordcom.net
> Internetworking			Voice:   +49 421 2773 566
> Doetlinger Str. 6-8			Fax:     +49 421 2773 573
> 28197 Bremen/Germany		http://www.nordcom.net/ 
> 

-s checks for the IP address of the dhcp server that provided the 
response.

e.g. - my dhcp server is 192.168.0.4

[root at calcutta contrib]# ./check_dhcp -s 192.168.0.4 -t 2   
DHCP ok: Received 1 DHCPOFFER(s), 1 of 1 requested servers responded, max 
lease time = 18000 sec.
[root at calcutta contrib]# ./check_dhcp -s 192.168.0.5 -t 2 
DHCP problem: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, 
max lease time = 18000 sec.



-- 





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list