]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Default to using a DUID + IAID for DHCPv4 Client ID.
authorRoy Marples <roy@marples.name>
Tue, 26 Mar 2013 06:39:58 +0000 (06:39 +0000)
committerRoy Marples <roy@marples.name>
Tue, 26 Mar 2013 06:39:58 +0000 (06:39 +0000)
Disable requesting the MTU by default as some interface drivers still
incorrectly reset themselves when changing the MTU.

dhcpcd.conf

index eb625a70cbe835cac5afd9b9ec5d1cf12647839f..e7bc1167ede2c530c2a85877b687cf3703027d65 100644 (file)
@@ -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 @@ option classless_static_routes
 # 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