DHCP / DHCPv6 client (evacuated from NSA/Microsoft Github)
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anonymous 42a4cbf520 degithubbing 7 months ago
compat import from devuan 7 months ago
hooks import from devuan 7 months ago
src import from devuan 7 months ago
tests import from devuan 7 months ago
BUILDING.md import from devuan 7 months ago
LICENSE import from devuan 7 months ago
Makefile import from devuan 7 months ago
Makefile.inc import from devuan 7 months ago
README.md degithubbing 7 months ago
config-null.mk import from devuan 7 months ago
configure import from devuan 7 months ago
iconfig.mk import from devuan 7 months ago



dhcpcd is a DHCP and a DHCPv6 client. It's also an IPv4LL (aka ZeroConf) client. In layperson's terms, dhcpcd runs on your machine and silently configures your computer to work on the attached networks without trouble and mostly without configuration.

If you're a desktop user then you may also be interested in Network Configurator (dhcpcd-ui) which sits in the notification area and monitors the state of the network via dhcpcd. It also has a nice configuration dialog and the ability to enter a pass phrase for wireless networks.

dhcpcd may not be the only daemon running that wants to configure DNS on the host, so it uses openresolv to ensure they can co-exist.

See BUILDING.md for how to build dhcpcd.

This project used to be maintained at https://roy.marples.name/ but unfortunately, they only use NSA/Microsoft Github, so here we are


You should read the dhcpcd.conf man page and put your options into /etc/dhcpcd.conf. The default configuration file should work for most people just fine. Here it is, in case you lose it.

# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.

# Use the hardware address of the interface for the Client ID.
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.

# Persist interface configuration when dhcpcd exits.

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Most distributions have NTP support.
#option ntp_servers

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

The dhcpcd man page has a lot of the same options and more, which only apply to calling dhcpcd from the command line.


not supported. 10 is a fresh start. We do not support anything before version 10.


This project was originally from, and mostly the work of

Copyright (c) 2006-2023 Roy Marples roy@marples.name

Anything post- fbe4dda842 might have contributions from others