openwrtv3/package/network/services
Eric Luehrsen 9525743c07 dnsmasq: make DHCPv6 viable for standalone dnsmasq install
dnsmasq has sufficient services to meet the needs of DHCP
and RA with IP6 for single router router users. This is
the most common use for consumer routers. Its reenforced
as most ISP tend to only DHCP-PD /64. dnsmasq has year
over year demonstrated great flexibility in its option
set, and support for off-standard DHCP clients.

odhcpd has enhanced capabilities focused on IP6 such
as DHCP/RA relay and NDP proxy. However, it is not as
flexible in its option set. odhcpd is not as forgiving
with off-standard DHCP clients. Some points may represent
a long term TODO list, but it is the state currently.

These changes make any such combination possible. Already
odhcpd can be set as the main dhcp server. Now odhcpd
can be removed or disabled and dnsmasq will take over
if DHCPv6 compiled in. The existing DHCPv6 and RA UCI
are translated into dnsmasq.conf. The changes focus on
'--dhcp-range', '--dhcp-host', and '--dhcp-options'.

DHCP host ID is least 16 bits [::1000-::FFFF], but
leaves low range for typical infrastructure assignments.
dnsmasq accepts DHCPv6 options in the tranditional
'--dhcp-option' put they must be prefixed 'option6:'.
dnsmasq will also discover SLAAC DNS entries from DHCPv4
clients MAC, and confirm with a ping at least renew.

Long term TODO include improving use of dnsmasq relay
options for DHCPv4 and DHCPv6 in parallel. It would also
be possible to preconfigure DHCP-PD in host-with-options
records for fixed infrastructure.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
[Jo-Philipp Wich: emit proper IPv6 hostid format in dhcp-host directive]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-02 00:13:49 +01:00
..
authsae treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
dnsmasq dnsmasq: make DHCPv6 viable for standalone dnsmasq install 2017-02-02 00:13:49 +01:00
dropbear build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
ead network/services/ead: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
hostapd hostapd: enable support for logging wpa_printf messages to syslog 2017-01-31 13:55:26 +01:00
igmpproxy treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
ipset-dns treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
lldpd lldpd: take over maintainership 2017-01-10 13:02:00 +01:00
mdns mdns: update to the latest version 2017-01-31 11:24:19 +01:00
odhcpd odhcpd: update to git HEAD version 2017-02-01 21:07:08 +01:00
omcproxy treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
openvpn openvpn: add support for various new 2.4 configuration options 2017-01-27 11:18:27 +01:00
openvpn-easy-rsa treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
ppp treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
relayd relayd: fix expiry time handling 2016-12-27 13:21:42 +01:00
samba36 treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
uhttpd uhttpd: drop uhttpd-mod-tls, it has been useless for years 2016-12-22 16:46:01 +01:00