1 # A sample configuration for dhcpcd.
2 # See dhcpcd.conf(5) for details.
4 # Allow users of this group to interact with dhcpcd via the control socket.
7 # Inform the DHCP server of our hostname for DDNS.
10 # Use the hardware address of the interface for the Client ID.
13 # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
14 # Some non-RFC compliant DHCP servers do not reply with this set.
15 # In this case, comment out duid and enable clientid above.
18 # Persist interface configuration when dhcpcd exits.
21 # vendorclassid is set to blank to avoid sending the default of
22 # dhcpcd-<version>:<os>:<machine>:<platform>
25 # A list of options to request from the DHCP server.
26 option domain_name_servers, domain_name, domain_search
27 option classless_static_routes
28 # Respect the network MTU. This is applied to DHCP routes.
31 # Request a hostname from the network
34 # Most distributions have NTP support.
37 # Rapid commit support.
38 # Safe to enable by default because it requires the equivalent option set
39 # on the server to actually work.
42 # A ServerID is required by RFC2131.
43 require dhcp_server_identifier
45 # Generate SLAAC address using the Hardware Address of the interface
47 # OR generate Stable Private IPv6 Addresses based from the DUID
50 # A hook script is provided to lookup the hostname if not set by the DHCP
51 # server, but it should not be run by default.
52 nohook lookup-hostname
54 # disable ipv4ll (IPv4 local link/apipa) ip's
57 # Increase timeout to 60s