Python DHCP
Over the weekend I tried to get DHCP working between clients and a 2Wire gateway on a wireless LAN that included a Linksys WRE54G extender. No luck, and I ended up setting static IPs for the clients. So that removed the problems in a way, but still… quite odd.
Anyway, that got me thinking about DHCP. So here are two Python projects dealing with everyone’s favorite host configuration protcol.
The first is Python DHCP Daemon. It’s a fully functional DHCP daemon written in Python. I honestly have no idea why you would want to run that rather than the dhcpd that ships with Linux. I’m sure, however, that if you wanted to integrate some sort of DHCP functionality into your project, the code would come in handy as a reference.
The other project is pydhcplib, a pure Python library that “permits to read/write and encode/decode dhcp packet on network.” Unfortunately, the online documentation is either missing or is not working at this time. A library isn’t particularly helpful without good documentation, perferably online.

pydhcplib ? Hey ! You talk about my project ! :-)
I’m currently writing docs, but the lib is quite simple and i wrote examples for all useful classes in the lib. You can found these examples in the tarball. Man pages exist mostly in french, but i’m translating these too.
bye.
–
Mathieu
Hi Mat, thanks for writing!
Sounds like you have an interesting project. Having good documentation online will make it more appealing to a greater number of people. Always worthwhile. :)