Iv'e recently installed DHCP server (isc-dhcp-server
) in my workplace.
I'm looking for a utility to test the network DHCP settings from a remote machine (not by using dhclient
/ iptables /renew
).
- indication of the responding server (sometimes my colleagues install by mistake DHCP services)
- the ability to provide a MAC address (to test pool reservations)
- simple display of the response
for example:
$> [utility name] [source mac address | optional] ...
RESPONSE (DHCP Server is 192.168....)
IP: 192.168.....
SUBNET: 255.255.....
DEFAULT GATEWAY: 192.168.....
...
Best Answer
You can try out the "dhcping" utility. On CentOS/RHEL, you'll have the option to "yum install it" after you'll gain connectivity to the EPEL repository. Check out the command options. They seem really relevant for your needs.
All the best!
+Daniel.