dhcpcd now in dfly - disabled by default, tests needed

Aaron LI aly at aaronly.me
Wed Nov 14 21:20:47 PST 2018


Hi,

I have imported the latest dhcpcd (v7.0.8) [0] into dfly master branch, in
order to replace the existing dhclient(8) (only supports IPv4 DHCP) and
rtsold(8) (for IPv6 SLAAC only).

The imported dhcpcd is disabled by default.  After more tests, we'll enable
it by default, and later we'll remove dhclient(8) and rtsold(8) from base.
With dhcpcd in base, we now supports both IPv4 and IPv6 DHCP, as well as
IPv6 autoconfiguration (i.e., SLAAC).

To test dhcpcd:

1. Add 'dhcp_client=dhcpcd' to your '/etc/rc.conf' to switch from dhclient(8)
   to dhcpcd(8).
2. For IPv4 DHCP, set 'ifconfig_<ifname>=DHCP' in '/etc/rc.conf'.
3. For IPv6 DHCP, set 'ipv6_enable=YES' and 'ipv6_ifconfig_<ifname>=DHCP' in
   '/etc/rc.conf'.
4. restart network / system.

Note, the IPv4 DHCP and IPv6 DHCP settings are isolated, so you can have
dhcpcd to configure IPv4 only, IPv6 only, or both.


Why not update dhclient(8):
The ISC DHCP [1] also supports IPv6.  However, the ISC DHCP distribution
bundles both the client and server, and they share some code.  To make the
separation harder, the server depends on BIND libraries...


Thanks for testing!

Cheers,
-- 
Aaron

[0] https://roy.marples.name/projects/dhcpcd
[1] https://www.isc.org/downloads/dhcp/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20181115/4fe14d06/attachment-0004.bin>


More information about the Users mailing list