55-freebsd-126-freebsd-12freebsd-9.3
Line | |
---|
1 | # A sample configuration for dhcpcd. |
---|
2 | # See dhcpcd.conf(5) for details. |
---|
3 | |
---|
4 | # Inform the DHCP server of our hostname for DDNS. |
---|
5 | hostname |
---|
6 | |
---|
7 | # Use the hardware address of the interface for the Client ID. |
---|
8 | #clientid |
---|
9 | # or |
---|
10 | # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361. |
---|
11 | duid |
---|
12 | |
---|
13 | # Persist interface configuration when dhcpcd exits. |
---|
14 | persistent |
---|
15 | |
---|
16 | # Rapid commit support. |
---|
17 | # Safe to enable by default because it requires the equivalent option set |
---|
18 | # on the server to actually work. |
---|
19 | option rapid_commit |
---|
20 | |
---|
21 | # A list of options to request from the DHCP server. |
---|
22 | option domain_name_servers, domain_name, domain_search, host_name |
---|
23 | option classless_static_routes |
---|
24 | # Most distributions have NTP support. |
---|
25 | option ntp_servers |
---|
26 | # Respect the network MTU. |
---|
27 | # Some interface drivers reset when changing the MTU so disabled by default. |
---|
28 | #option interface_mtu |
---|
29 | |
---|
30 | # A ServerID is required by RFC2131. |
---|
31 | require dhcp_server_identifier |
---|
32 | |
---|
33 | # A hook script is provided to lookup the hostname if not set by the DHCP |
---|
34 | # server, but it should not be run by default. |
---|
35 | nohook lookup-hostname |
---|
Note: See
TracBrowser
for help on using the repository browser.