staticDHCPd, now with more activity

I’ve received a request to add DHCPv6 support to staticDHCPd. Lacking any reason to say no, I said yes, so v2 won’t be about moving to Python 3.0 (though I expect that the code will branch quite soon after this addition is complete), but rather about adding IPv6 support for those of you who actually need it.

My first step will be to finally add native PostgreSQL support, using psycopg, since it seems to have emerged as the dominant library since the last time I looked. This will finish 1.5.0 and mark the end of the 1.x line, save for any necessary bugfixes.

DHCPv6 support will be introduced by forking libpydhcpserver (the library that evolved from Mathieu Ignacio’s pydhcplib) into libpydhcpserver6, which may or may not be a full rewrite (if it can inherit from the old codebase, it will, but chances are it can’t, due to fundamental differences between option encodings and packet structure). Both libraries will be present in the new product, and IPv4 support will work alongside IPv6 support in the same process, to the fullest extent possible.

If anyone can recommend consumer-grade hardware that runs IPv6 (home routers, for example), I’d appreciate it, since all I’ll have to test with will be ISC-based VMs, due to a lack of physical routing fabric. (I’d like my tests to be as representative of reality as possible)


  1. yang says:

    hi, are you working on the project adding dhcpv6 support? I download the version 1.5.5 which seems not include dhcpv6.

    1. Neil Tallim says:

      I am working on it, with plans to have it in the 2.0 branch, but work has been keeping me far too busy. When I have an update, I’ll post it here and on the project page.

Leave a Reply

Your email address will not be published. Required fields are marked *