Skip to content
This repository

HTTPS clone URL

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

README.md

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 (192.168.1.10+) and the router is hardcoded to 192.168.1.1 although both are easily changed.

Requirements

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.

Website

Something went wrong with that request. Please try again.