DHCPv6 Support in FreeBSD Base

Mel Pilgrim list_freebsd at bluerosetech.com
Fri Jun 10 17:06:28 UTC 2016


On 2016-06-09 14:14, David Bright wrote:
> Following up on a conversation I started today at BSDCan
> 2016/DevSummit.
>
> I’d like to see support for DHCPv6 in the base system. I have made
> modifications to network.subr and the rc.d init scripts to allow
> configuring a network interface to use DHCPv6 in a manner very
> similar to that currently used for DHCPv4. This works assuming that
> you have a DHCPv6 client. For the purposes of my development I used
> the ISC client from ports.
>
> These changes were based on 10.0-RELEASE and I am in the process of
> adapting these changes to 11 so they can be pushed upstream. However,
> they will be unusable (albeit harmless) in the base system without a
> client.
>
> * Is there any barrier to updating the dhclient in base to the
> current ISC dhclient for both DHCPv4 & DHCPv6?
>
> * Is there any barrier to replacing the current dhclient-script with
> that that accompanies the ISC dhclient? The two scripts are quite
> different and my DHCPv6 changes currently are based on the ISC
> dhclient-script.
>
> As I’ve already done a fair amount of this work, I’d be happy to work
> on getting it in shape for pushing to HEAD. I had several people
> today at the devsummit indicate that they thought that would be a
> good idea, but I thought it would be a good idea to ask ahead of time
> if there were any known stumbling blocks to doing that.

Could the WIDE client be used instead?  Unlike the ISC client, it will
configure downstream interfaces from PD prefixes without needing an
external script.  It also completely avoids the problem of trying to
update the in-base dhclient.


More information about the freebsd-net mailing list