Skip to content

Instantly share code, notes, and snippets.

View robertondc's full-sized avatar

Roberto Costa robertondc

  • São Paulo
  • 09:14 (UTC -03:00)
View GitHub Profile
@robertondc
robertondc / dhcp_server.py
Created March 2, 2012 16:50
dhcp_server.py
from pydhcplib.dhcp_packet import *
from pydhcplib.dhcp_network import *
import threadpool
netopt = { "client_listen_port": "68",
"iface": "eth0",
"server_listen_port": "67",
"listen_address": "0.0.0.0"
}