Ruby based DHCP server and client, purely for learning
Pull request Compare This branch is even with aktowns:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.