Discussion:
DHCPv6 support in dhcpcd?
(too old to reply)
Eric Schnoebelen
2011-02-18 18:37:55 UTC
Permalink
Is there any ongoing work on adding DHCPv6 support to dhcpcd in
NetBSD?

Why? I'd like to be able to have the DHCP servers on IPv6
handle DNS reverse address map updates, DNS forward address
creations, and allowing the client to gather useful information
like name servers, time servers, etc..

I believe the DHCPv6 supports handling all that, and the ISC
dhcpd (and dhclient) in pkgsrc support those features on IPv6.

(yes, I can build everything out of pkgsrc, and that is where
the DHCP servers come from, but having something built into
dhcpcd would be nice, since that's why it's in base..)

--
Eric Schnoebelen ***@cirr.com http://www.cirr.com
Out the 10Base-T, through the router, down the T1, over the leased line,
off the bridge, past the firewall... nothing but Net.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Roy Marples
2011-02-18 19:17:44 UTC
Permalink
Post by Eric Schnoebelen
Is there any ongoing work on adding DHCPv6 support to dhcpcd in
NetBSD?
Presently no.
I do have plans, and even some code so that dhcpcd can handle IPv6 RA
with DNS information embedded as per the draft RFC. This is so that
dhcpcd can handle IPv6 RA on multiple interfaces correctly (which afaik
the kernel cannot do, ie choose a "correct" default route) but I
currently lack the time to devote to it.

A lot of it also boils down to trying to find out some IPv6 stuff - I'm
no expert and rely on code/docs which I find on the net. The immediate
problems I have are
a) given a prefix generate an IPv6 address
b) adapt the address/route code to be both IPv4/IPv6

As for full DHCPv6 support there is currently no immediate plan due to
my current time constraints.

Patches are of course welcome.

Thanks

Roy


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Christos Zoulas
2011-02-18 23:46:50 UTC
Permalink
Post by Eric Schnoebelen
Is there any ongoing work on adding DHCPv6 support to dhcpcd in
NetBSD?
Why? I'd like to be able to have the DHCP servers on IPv6
handle DNS reverse address map updates, DNS forward address
creations, and allowing the client to gather useful information
like name servers, time servers, etc..
I believe the DHCPv6 supports handling all that, and the ISC
dhcpd (and dhclient) in pkgsrc support those features on IPv6.
(yes, I can build everything out of pkgsrc, and that is where
the DHCP servers come from, but having something built into
dhcpcd would be nice, since that's why it's in base..)
I tried to import the newest isc dhcp that has v6 support but
the isc shared libraries are a mess [ifdefs] and cannot be shared
with bind so I gave up for now.

christos


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...