dhcping

Send DHCP requests to check if a DHCP server is running

brewmacoslinux
Try with needOr install directly
Source

About

Perform a dhcp-request to check whether a dhcp-server is running

Commands

dhcping

Examples

Check if DHCP server is running on the local network$ dhcping -s 192.168.1.1
Send DHCP request with a specific interface$ dhcping -s 192.168.1.1 -h eth0
Verify DHCP server availability with timeout$ dhcping -s 192.168.1.1 -w 5