mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-24 18:44:10 +08:00
ae92a9b5bb
as a default option. Add a debug message when adding classless_static_routes. This is because some DHCP servers have this option badly setup and it could not be otherwise disabled.
24 lines
831 B
Plaintext
24 lines
831 B
Plaintext
# A sample configuration for dhcpcd.
|
|
# See dhcpcd.conf(5) for details.
|
|
|
|
# Inform the DHCP server of our hostname for DDNS.
|
|
hostname
|
|
# To share the DHCP lease across OSX and Windows a ClientID is needed.
|
|
# Enabling this may get a different lease than the kernel DHCP client.
|
|
# Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
|
|
#clientid
|
|
|
|
# A list of options to request from the DHCP server.
|
|
option domain_name_servers, domain_name, domain_search, host_name
|
|
option classless_static_routes
|
|
# Most distributions have NTP support.
|
|
option ntp_servers
|
|
# Respect the network MTU.
|
|
option interface_mtu
|
|
# A ServerID is required by RFC2131.
|
|
require dhcp_server_identifier
|
|
|
|
# A hook script is provided to lookup the hostname if not set by the DHCP
|
|
# server, but it should not be run by default.
|
|
nohook lookup-hostname
|