Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby based DHCP server and client, purely for learning

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

What Why?

This is just a way for me to learn the DHCP protocol abit better :)
The server hands out ips fine, and replies to discover requests.
At the moment the ip pool is hardcoded to ( and the router is hardcoded to although both are easily changed.


Ruby --v=1.9

To use you need:

  • packetfu (gem install packetfu)
  • bindata (gem install bindata)

To install you need ruby 1.9.x
then launch with ./dhcp[dc].rb

You may need to prefix the above with
sudo -E

Released under the MIT license.


Something went wrong with that request. Please try again.