Tool to query DHCP server

Tina Siegenthaler tina at zool.uzh.ch
Fri Dec 21 11:42:00 UTC 2007


Am 21.12.2007 um 00:36 schrieb Larry Apolonio:

> Is there a simple tool out there that will send a dhcpinform and  
> display information in gets back?
>
> I'm in a Linux environment and thought it would be easy to find a  
> tool out there.
> Thanks,
> Larry Apolonio
>
>


Try dhcptool, I use it and I think it's great! Download it here:

http://gatorhole.com/index.php?product=dhcp&lang=gb

For example:

TinaMacPro:~ root# dhcptool -i en0 -o inform 130.60.23.4

DHCP REPLY
xid:        2085172446
secs:       0
flags:      32768
cip:        130.60.23.72
yip:        0.0.0.0
sip:        0.0.0.0
gip:        0.0.0.0
chaddr:     00 17 f2 0d 31 c2
Option 053: 5
Option 054: 130.60.23.114
Option 001: 255.255.255.192
Option 003: 130.60.23.65
Option 006: 130.60.128.3 130.60.64.51
Option 028: 130.60.23.127
Option 015: uzh.ch
Option 255:


Is that what you're looking for?



Tina









More information about the dhcp-users mailing list