Section: dhcpy6d (8)
Updated: Apr 24, 2016
dhcpy6d – MAC address aware DHCPv6 server
dhcpy6d [-c file] [-u user] [-g group] [-p prefix] [-r yes|no] [-d duid] [-G]
dhcpy6d is an open source server for DHCPv6, the DHCP protocol for IPv6.
Its development is driven by the need to be able to use the existing IPv4 infrastructure in coexistence with IPv6. In a dualstack scenario, the existing DHCPv4 most probably uses MAC addresses of clients to identify them. This is not intended by RFC 3315 for DHCPv6, but also not forbidden. Dhcpy6d is able to do so in local network segments and therefore offers a pragmatical method for parallel use of DHCPv4 and DHCPv6, because existing client management solutions could be used further.
dhcpy6d comes with the following features:
* 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
* assigns multiple addresses per client
* allows one 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)
* supports rapid commit
* listens on multiple interfaces
Most configuration is done via the configuration file.
- -c, –config=configfile
- Set the configuration file to use. Default is /etc/dhcpy6d.conf.
- -u, –user=user
- Set the unprivileged user to be used.
- -g, –group=group
- Set the unprivileged group to be used.
- -p, –prefix=prefix
- Set the prefix which will be substituted for the $prefix$ variable in address definitions. Useful for setups where the ISP uses a changing prefix.
- -r, –really-do-it=yes|no
- Really activate the DHCPv6 server. This is a precaution to prevent larger network trouble.
- -g, –duid=duid
- Set the DUID for the server. This argument is used by /etc/init.d/dhcpy6d.
- -F, –generate-duid
- Generate DUID to be used in config file. This argument is used to generate a DUID for /etc/default/dhcpy6d. After generation dhcpy6d exits.
/etc/dhcpy6d.conf /etc/dhcpy6d-clients.conf /var/lib/dhcpy6d/ /var/log/dhcpy6d.log
Copyright (C) 2012-2014 Henri Wahl <email@example.com>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2′.