]> git.ipfire.org Git - ipfire-2.x.git/blame - config/dhcpc/dhcpcd.conf
suricata: Change midstream policy to "pass-flow"
[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
effe5c73
MT
4# Only obtain an IP address for IPv4
5ipv4only
6
8a59f75a
AF
7# Allow users of this group to interact with dhcpcd via the control socket.
8#controlgroup wheel
9
f59b59db
AF
10# Inform the DHCP server of our hostname for DDNS.
11hostname
8a59f75a
AF
12
13# Use the hardware address of the interface for the Client ID.
f59b59db 14#clientid
8a59f75a
AF
15# or
16# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
17# Some non-RFC compliant DHCP servers do not reply with this set.
18# In this case, comment out duid and enable clientid above.
19duid
20
21# Persist interface configuration when dhcpcd exits.
22persistent
23
24# vendorclassid is set to blank to avoid sending the default of
25# dhcpcd-<version>:<os>:<machine>:<platform>
26vendorclassid
f59b59db
AF
27
28# A list of options to request from the DHCP server.
8a59f75a 29option domain_name_servers, domain_name, domain_search
f59b59db 30option classless_static_routes
8a59f75a
AF
31# Respect the network MTU. This is applied to DHCP routes.
32option interface_mtu
33
34# Request a hostname from the network
35option host_name
36
f59b59db
AF
37# Most distributions have NTP support.
38option ntp_servers
8a59f75a
AF
39
40# Rapid commit support.
41# Safe to enable by default because it requires the equivalent option set
42# on the server to actually work.
43option rapid_commit
44
f59b59db
AF
45# A ServerID is required by RFC2131.
46require dhcp_server_identifier
47
8a59f75a
AF
48# Generate SLAAC address using the Hardware Address of the interface
49slaac hwaddr
50# OR generate Stable Private IPv6 Addresses based from the DUID
51#slaac private
52
f59b59db
AF
53# A hook script is provided to lookup the hostname if not set by the DHCP
54# server, but it should not be run by default.
55nohook lookup-hostname
793a273a
AF
56
57# disable ipv4ll (IPv4 local link/apipa) ip's
58noipv4ll
8a59f75a
AF
59
60# Increase timeout to 60s
61timeout 60