1# $NetBSD: dhcpcd.conf,v 1.17 2015/08/21 10:39:00 roy Exp $ 2 3# A sample configuration for dhcpcd. 4# See dhcpcd.conf(5) for details. 5 6# Allow users of this group to interact with dhcpcd via the control socket. 7#controlgroup wheel 8 9# Inform the DHCP server of our hostname for DDNS. 10hostname 11 12# Use the hardware address of the interface for the Client ID. 13#clientid 14# or 15# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361. 16# Some non-RFC compliant DHCP servers do not reply with this set. 17# In this case, comment out duid and enable clientid above. 18duid 19 20# Persist interface configuration when dhcpcd exits. 21persistent 22 23# Rapid commit support. 24# Safe to enable by default because it requires the equivalent option set 25# on the server to actually work. 26option rapid_commit 27 28# A list of options to request from the DHCP server. 29option domain_name_servers, domain_name, domain_search, host_name 30option classless_static_routes 31# Most distributions have NTP support. 32option ntp_servers 33# Respect the network MTU. This is applied to DHCP routes. 34option interface_mtu 35 36# A ServerID is required by RFC2131. 37require dhcp_server_identifier 38 39# Generate Stable Private IPv6 Addresses instead of hardware based ones 40slaac private 41 42# A hook script is provided to lookup the hostname if not set by the DHCP 43# server, but it should not be run by default. 44nohook lookup-hostname 45 46# MINIX 3 only: the LWIP service supports only one IPv4 address per interface. 47# The 'noalias' directive tells dhcpcd(8) to remove any previous IPv4 addresses 48# before adding a new one. This directive should and does not affect IPv6. 49noalias 50