Pages

4/22/2011

DHCP Client Behavior - Microsoft Enterprise Networking Team - Site Home - TechNet Blogs

DHCP Client Behavior - Microsoft Enterprise Networking Team - Site Home - TechNet Blogs: "A registry key to control this is: AutonetRetries which may be placed as a DWORD in:

HKLM\SYSTEM\CurrentControlSet\Services\Dhcp\Parameters

OR

HKLM\SYSTEM\CurrentControlSet\Services\tcpip\Parameters

AutonetRetries controls the: 'DEBUG_LEASE [0]0430.0910::10/14/2008-20:59:41.244 (ReObtainInitialParameters:protocol_c3191)Sleeping for 275 seconds' time period

Thus if the registry is set to 30 (decimal) for example, then the sleep time is reduced to 30 seconds. This means that the set of 4 tries will be sent out every 30 seconds.

Also another interesting reference is:

KB 928233 – Windows Vista cannot obtain an IP address from certain routers or from certain non-Microsoft DHCP servers

Another registry key suggested here is DhcpConnEnableBcastFlagToggle

Though the purpose of this registry is completely different, on closer inspection, this setting has a side effect in Windows Vista where it sends out 2 sets of DISCOVER packet sets like Windows XP, albeit one set with and the second set without the Broadcast flag. Subsequent sets will be controlled by the AutonetRetries setting (300 seconds by default)."

No comments: