[157739] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: dhcpy6d - a MAC address aware DHCPv6 server

daemon@ATHENA.MIT.EDU (Owen DeLong)
Tue Nov 6 08:42:01 2012

From: Owen DeLong <owen@delong.com>
In-Reply-To: <5097757E.5070307@ifw-dresden.de>
Date: Tue, 6 Nov 2012 05:38:32 -0800
To: Henri Wahl <h.wahl@ifw-dresden.de>
Cc: nanog@nanog.org
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

If you're on local subnet, why not pull the MAC address out of the
received packet?

Further, what happens to this when IPv4 goes away?

Owen

On Nov 5, 2012, at 12:14 AM, Henri Wahl <h.wahl@ifw-dresden.de> wrote:

> Hello World,
> like other people we had the problem that existing DHCPv6 servers do =
not
> evaluate the MAC address of clients, following RFC 3315. The IPv4
> clients already are managed via their MAC addresses so we wanted to =
use
> these identifiers for IPv6 too for our dualstack network.
>=20
> At the end we had to write our own DHCPv6 server dhcpy6d which I want =
to
> present here to a larger audience. It runs on Linux, tested on Debian
> and CentOS. It gets the client MAC addresses from neighbor cache by
> calling "ip -6 neigh" and caches them itself, allowing to access the
> already working MAC-based IPv4 infrastructure. This obviously only =
works
> on the local subnet but might be worked around with several servers
> being connected via database storage of clients and leases.
>=20
> Features are:
> - identifies clients by MAC address, DUID or hostname
> - generates addresses randomly, by MAC address, by range or by given =
ID
> - filters clients by MAC, DUID or hostname
> - assignes more than one address per client
> - allows to organize clients in different classes
> - stores leases in MySQL or SQLite database
> - client information can be retrieved from database or textfile
> - dynamically updates DNS (Bind)
>=20
> We run it with ~500 clients without problems. I am interested if it
> would run in larger environments too. If not, how to make it running.
> Bugs and ideas how to improve it are welcome too.
>=20
> Packages are not yet available but the Python code should run as is.
>=20
> See further details at http://dhcpy6d.ifw-dresden.de
>=20
> Best regards
> Henri Wahl
>=20
> --=20
> Henri Wahl
>=20
> IT Department
> Leibniz-Institut f=FCr Festk=F6rper- u.
> Werkstoffforschung Dresden
>=20
> tel. (03 51) 46 59 - 797
> email: h.wahl@ifw-dresden.de
> http://www.ifw-dresden.de
>=20
> Nagios status monitor for your desktop:
> http://nagstamon.ifw-dresden.de
>=20
> IFW Dresden e.V., Helmholtzstra=DFe 20, D-01069 Dresden
> VR Dresden Nr. 1369
> Vorstand: Prof. Dr. Ludwig Schultz, Dr. h.c. Dipl.-Finw. Rolf Pfrengle
>=20



home help back first fref pref prev next nref lref last post