1f7c5421560640d23fc10803b9d59a9ff1d83e467The Android Open Source Project# A sample configuration for dhcpcd.
2f7c5421560640d23fc10803b9d59a9ff1d83e467The Android Open Source Project# See dhcpcd.conf(5) for details.
3f7c5421560640d23fc10803b9d59a9ff1d83e467The Android Open Source Project
4e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# Inform the DHCP server of our hostname for DDNS.
5e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidthostname
6e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# To share the DHCP lease across OSX and Windows a ClientID is needed.
7e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# Enabling this may get a different lease than the kernel DHCP client.
8e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
9e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt#clientid
10f7c5421560640d23fc10803b9d59a9ff1d83e467The Android Open Source Project
11e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# A list of options to request from the DHCP server.
12e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidtoption domain_name_servers, domain_name, domain_search, host_name
13e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidtoption classless_static_routes
14e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# Most distributions have NTP support.
15f7c5421560640d23fc10803b9d59a9ff1d83e467The Android Open Source Projectoption ntp_servers
16e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# Respect the network MTU.
17e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidtoption interface_mtu
18e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# A ServerID is required by RFC2131.
19e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidtrequire dhcp_server_identifier
20f7c5421560640d23fc10803b9d59a9ff1d83e467The Android Open Source Project
21e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# A hook script is provided to lookup the hostname if not set by the DHCP
22e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidt# server, but it should not be run by default.
23e86eee143ed21592f88a46623a81f71002430459Dmitry Shmidtnohook lookup-hostname
24