changeset 1873:daaec5a8be6b draft

Default to using a DUID + IAID for DHCPv4 Client ID. Disable requesting the MTU by default as some interface drivers still incorrectly reset themselves when changing the MTU.
author Roy Marples <roy@marples.name>
date Tue, 26 Mar 2013 06:39:58 +0000
parents 5ffef562088e
children 559e02266deb
files dhcpcd.conf
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dhcpcd.conf	Sun Mar 17 13:00:03 2013 +0000
+++ b/dhcpcd.conf	Tue Mar 26 06:39:58 2013 +0000
@@ -3,10 +3,12 @@
 
 # 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.
+
+# Use the hardware address of the interface for the Client ID.
 #clientid
+# or
+# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
+duid
 
 # A list of options to request from the DHCP server.
 option domain_name_servers, domain_name, domain_search, host_name
@@ -14,7 +16,9 @@
 # Most distributions have NTP support.
 option ntp_servers
 # Respect the network MTU.
-option interface_mtu
+# Some interface drivers reset when changing the MTU so disabled by default.
+#option interface_mtu
+
 # A ServerID is required by RFC2131.
 require dhcp_server_identifier