GithubHelp home page GithubHelp logo

dhcpdiscover's Introduction

  • 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 ([email protected]), 2013 OpenWRT.org

  • Contributors

    Mike Gore 25 Aug 2005: Modified for standalone operation
    Pau Escrich Jun 2013: Added -b option and ported to OpenWRT


Usage: dhcpdiscover [-s serverip] [-r requestedip] [-m clientmac ] [-b bannedip] [-t timeout] [-i interface]
                  [-v] -s, --serverip=IPADDRESS
   IP address of DHCP server that we must hear from
 -r, --requestedip=IPADDRESS
   IP address that should be offered by at least one DHCP server
 -m, --mac=MACADDRESS
   Client MAC address to use for sending packets
 -b, --bannedip=IPADDRESS
   Server IP address to ignore
 -t, --timeout=INTEGER
   Seconds to wait for DHCPOFFER before timeout occurs
 -i, --interface=STRING
   Interface to to use for listening (i.e. eth0)
 -v, --verbose
   Print extra information (command-line use only)
 -p, --prometheus
   Print extra information in prometheus format
 -h, --help
   Print detailed help screen
 -V, --version
   Print version information

Example: sudo ./dhcpdiscover -i eth0 -b 192.168.1.1

dhcpdiscover's People

Contributors

aparcar avatar p4u avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.