]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/dhcpc/dhcpcd.conf
dhcpcd: reimport default config and add timeout 60
[people/pmueller/ipfire-2.x.git] / config / dhcpc / dhcpcd.conf
CommitLineData
f59b59db
AF
1# A sample configuration for dhcpcd.
2# See dhcpcd.conf(5) for details.
3
8a59f75a
AF
4# Allow users of this group to interact with dhcpcd via the control socket.
5#controlgroup wheel
6
f59b59db
AF
7# Inform the DHCP server of our hostname for DDNS.
8hostname
8a59f75a
AF
9
10# Use the hardware address of the interface for the Client ID.
f59b59db 11#clientid
8a59f75a
AF
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
f59b59db
AF
24
25# A list of options to request from the DHCP server.
8a59f75a 26option domain_name_servers, domain_name, domain_search
f59b59db 27option classless_static_routes
8a59f75a
AF
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
f59b59db
AF
34# Most distributions have NTP support.
35option ntp_servers
8a59f75a
AF
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
f59b59db
AF
42# A ServerID is required by RFC2131.
43require dhcp_server_identifier
44
8a59f75a
AF
45# Generate SLAAC address using the Hardware Address of the interface
46slaac hwaddr
47# OR generate Stable Private IPv6 Addresses based from the DUID
48#slaac private
49
f59b59db
AF
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.
52nohook lookup-hostname
793a273a
AF
53
54# disable ipv4ll (IPv4 local link/apipa) ip's
55noipv4ll
8a59f75a
AF
56
57# Increase timeout to 60s
58timeout 60