Red Hat Bugzilla – Bug 480798
dhcpd compiled without ipv6 support
Last modified: 2009-02-17 23:13:36 EST
Description of problem:
i want to run two instance of dhcpd, one for ipv4 and one for ipv6, but the "-6/-4" option are not compiled in with current dhcpd. So starting dhcpd with "-6" or "-4" eg:
dhcpd -f -q -cf /etc/dhcpd6.conf -lf /var/lib/dhcpd/dhcpd6.leases -pf /var/run/dhcpd6.pid
will always fail.
Version-Release number of selected component (if applicable):
$ rpm -qa| grep dhcp
Steps to Reproduce:
1. install dhcp-4
2. start with "dhcpd -f -q -cf /etc/dhcpd6.conf -lf /var/lib/dhcpd/dhcpd6.leases -pf /var/run/dhcpd6.pid"
dhcpd will fail to start.
dhcpd startup with above $ARGS
In the man page, i can read that dhcpd is able to run on ipv6 with the "-6" switch and dhcpd without options is running on ip6 as a default.
(Which is wrong for this version of dhcpd)
DHCPv6 support is deliberately disabled in the dhcp package. In Fedora, we have dhcpv6: http://fedorahosted.org/dhcpv6/
Previous releases of ISC dhcp had weak DHCPv6 support, but it's been improving.
I'm not opposed to enabling DHCPv6 in the ISC software now as it's much improved over past releases, however enabling it is not trivial. dhclient-script will need some work. I will work on it later.
I'm currently fine with dhcp6s, but the main disadvantage with dhcp on ipv6 (for me) is currently the miss of server side ddns-updates. i was hoping isc-dhcpd is able to do this. :-/
Anyway, i'm looking forward to see anything like this in next Fedora. :-) As a suggestion, maybe it could be a good (or even better) idea to expand dhcp6s to do this job of the ddns-update?
dhcp-4.1.0-6.fc11 is built with --enable-dhcpv6 so that users can experiment with ISC's DHCPv6 implementation.