dhcpcd.conf (1552B)
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. 16 duid 17 18 # Persist interface configuration when dhcpcd exits. 19 persistent 20 21 # vendorclassid is set to blank to avoid sending the default of 22 # dhcpcd-<version>:<os>:<machine>:<platform> 23 vendorclassid 24 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. 29 option interface_mtu 30 31 # Request a hostname from the network 32 option 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. 40 option rapid_commit 41 42 # A ServerID is required by RFC2131. 43 require 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 48 slaac private 49 # Don't attempt to obtain an IPv4LL address if we failed to get one via DHCP. See RFC 3927. 50 noipv4ll 51 52 denyinterfaces eth0