xref: /dragonfly/contrib/dhcpcd/src/dhcpcd.conf (revision 335b9e93)
1# A sample configuration for dhcpcd.
2# See dhcpcd.conf(5) for details.
3
4# Allow users of this group to interact with dhcpcd via the control socket.
5#controlgroup wheel
6
7# Inform the DHCP server of our hostname for DDNS.
8#hostname
9
10# Use the hardware address of the interface for the Client ID.
11#clientid
12# or
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.
16duid
17
18# Persist interface configuration when dhcpcd exits.
19persistent
20
21# vendorclassid is set to blank to avoid sending the default of
22# dhcpcd-<version>:<os>:<machine>:<platform>
23vendorclassid
24
25# A list of options to request from the DHCP server.
26option domain_name_servers, domain_name, domain_search
27option classless_static_routes
28# Respect the network MTU. This is applied to DHCP routes.
29option interface_mtu
30
31# Request a hostname from the network
32option host_name
33
34# Most distributions have NTP support.
35#option ntp_servers
36
37# Rapid commit support.
38# Safe to enable by default because it requires the equivalent option set
39# on the server to actually work.
40option rapid_commit
41
42# A ServerID is required by RFC2131.
43require dhcp_server_identifier
44
45# Generate SLAAC address using the Hardware Address of the interface
46#slaac hwaddr
47# OR generate Stable Private IPv6 Addresses based from the DUID
48slaac private
49