Name: dhcpdiscover
Owner: LibreMesh.org
Description: DHCP discover tool (based on dhcping)
Created: 2013-07-09 17:19:33.0
Updated: 2018-01-04 07:04:51.0
Pushed: 2013-07-16 11:03:04.0
Homepage: null
Size: 124
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Program: dhcpdiscover
This program checks the existence and more details of a DHCP server
About the code structure
The Makefile found in the directory of this README is for OpenWRT. It can be imported as a package. Inside the src/ directory the C code of dhcpdiscover can be found. If you want to compile it for your computer execute: cd src && make
Licence information
Code under GPLv3
Copyright (c) 2001-2004 Ethan Galstad (nagios@nagios.org), 2013 OpenWRT.org
Contributors
Mike Gore 25 Aug 2005: Modified for standalone operation
Pau Escrich Jun 2013: Added -b option and ported to OpenWRT
e: dhcpdiscover [-s serverip] [-r requestedip] [-m clientmac ] [-b bannedip] [-t timeout] [-i interface]
[-v] -s, --serverip=IPADDRESS
P address of DHCP server that we must hear from
--requestedip=IPADDRESS
P address that should be offered by at least one DHCP server
--mac=MACADDRESS
lient MAC address to use for sending packets
--bannedip=IPADDRESS
erver IP address to ignore
--timeout=INTEGER
econds to wait for DHCPOFFER before timeout occurs
--interface=STRING
nterface to to use for listening (i.e. eth0)
--verbose
rint extra information (command-line use only)
--help
rint detailed help screen
--version
rint version information
ple: sudo ./dhcpdiscover -i eth0 -b 192.168.1.1