<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microsoft Windows DHCP Team Blog : broadcast bit</title><link>http://blogs.technet.com/teamdhcp/archive/tags/broadcast+bit/default.aspx</link><description>Tags: broadcast bit</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Use of BROADCAST (B) flag in dhcp...</title><link>http://blogs.technet.com/teamdhcp/archive/2006/11/08/use-of-broadcast-b-flag-in-dhcp.aspx</link><pubDate>Wed, 08 Nov 2006 18:56:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:509064</guid><dc:creator>teamdhcp</dc:creator><slash:comments>17</slash:comments><comments>http://blogs.technet.com/teamdhcp/comments/509064.aspx</comments><wfw:commentRss>http://blogs.technet.com/teamdhcp/commentrss.aspx?PostID=509064</wfw:commentRss><wfw:comment>http://blogs.technet.com/teamdhcp/rsscomments.aspx?PostID=509064</wfw:comment><description>&amp;nbsp; 
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;DHCP server or relay agent sending or relaying a DHCP message directly to a DHCP client&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;should examine the BROADCAST bit in the ’flags’ field. If this bit is set to 1, the DHCP message SHOULD be sent as an IP broadcast using an IP broadcast address as the IP destination address and the link-layer broadcast address as the link-layer destination address. If the BROADCAST bit is cleared to 0, the message SHOULD be sent as an IP unicast to the IP address specified in the ’yiaddr’ field and the link-layer address specified in the ’chaddr’ field.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"&gt;By default, Windows Vista will start with BROADCAST(B) flag set to 1 which means DHCP Server or relay agent has to send reply to broadcast address. User can change this setting by defining REG_DWORD value DhcpConnForceBroadcastFlag under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID} registry key.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;As a new enhancement, DHCP client in Windows Vista has incorporated intelligence to toggle between the two values of the broadcast flag to interop with routers that do not support the broadcast flag. Once the client is able to acquire an IP address from the DHCP server, it retains the state of flag throughout the lease time. &lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;The toggle behavior will be controlled by a registry value “DhcpConnEnableBcastFlagToggle” under HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;In case the registry value is set to 1, the DHCP client will do the toggle and only one DORA sequence will be done during the acquisition phase.&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;The DHCP client will start afresh and send the broadcast flag in the DHCP DISCOVER packet with a value as controlled by the registry key. If it fails to get a response from the DHCP server within the allotted 1 min and the toggle flag is not disabled through registry, it will restart the DISCOVER process, this time toggling the broadcast bit sent in the packet. If the server is reachable this time, it will update the interface specific value of the flag in its cache to 1. &amp;nbsp;This will be used to determine whether or not the flag needs to be set in every subsequent DHCP packet till the next DORA cycle. In the next DORA cycle, the value of the broadcast bit will again be determined by the registry value configured by the admin (or&amp;nbsp;0 by default).&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&lt;FONT color=#006600&gt;Update (November 05, 2008)&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&lt;FONT color=#006600&gt;If you run into issues with your Vista installation being unable to get an IP Address via DHCP,&amp;nbsp;&amp;nbsp; please send us the following information for further investigation:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&lt;FONT color=#006600&gt;Router Vendor,&amp;nbsp; Router/Gateway Model Number,&amp;nbsp;&amp;nbsp; Firmware Version,&amp;nbsp; Your&amp;nbsp; Location (Country &amp;amp; State),&amp;nbsp;&amp;nbsp; ISP.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You may send this information via email &amp;nbsp;to msnetworkteam_AT_live_DOT_com.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&lt;FONT color=#006600&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&lt;FONT color=#006600&gt;Ajay&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true"&gt;&lt;FONT color=#006600&gt;Team Networking&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=509064" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/teamdhcp/archive/tags/broadcast+bit/default.aspx">broadcast bit</category><category domain="http://blogs.technet.com/teamdhcp/archive/tags/vista/default.aspx">vista</category></item></channel></rss>