DHCP server probing utility?

Paul Lussier p.lussier at comcast.net
Thu Apr 13 21:42:01 EDT 2006


Hi all,

Does anyone know of a utility which can probe a DHCP server and dump
the information provided by it?  I'm ideally looking for a
command-line utility to wrap scripts around.  There's a lot
information potentially served by a DHCP server, and after making
changes to the server configuration, it would be nice to be able to
query the server without having to actually re-boot or re-request a
lease, especially if the change you just made was to add 50 new
clients, each with 2 NICs on different networks.  It's very time
consuming to go and boot them, just to discover you made a typo in the
hostname.

I found dhcping, but that does little more than "ping" the DHCP server
and tell you whether or not the IP or MAC you requested matched what
the server has.  It doesn't provide any more information which the
server may provide such as DNS servers, WINS servers, default routers,
etc.  Essentially what I'm looking for is something like dhclient
which allows you to provide either a hostname, MAC or IP address, does
an immediate release, provides it's output to STDOUT, and doesn't
actually try to configure any real interfaces.

Any ideas?

Thanks
-- 

Seeya,
Paul



More information about the gnhlug-discuss mailing list