Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

DHCP "unicast" broadcast flag?

When sending DHCP requests, a client can indicate if it wants an answer in uni or broadcast, by setting the "broadcast flag". How can I force my WIN client to set this flag to unicast?


Dave's Answer:

This question is far beyond what I personally understand, so I'm again grateful that my friend Jim Boyce was willing to step in and help answer it. I know enough to know that DHCP is the Dynamic Host Configuration Protocol and that here's what the informative DHCP Handbook web site says about the broadcast flag:

"The "broadcast flag": DHCP includes a way in which client implementations unable to receive a packet with a specific IP address can ask the server or relay agent to use the broadcast IP address in the replies (a "flag" set by the client in the requests). The definition of DHCP states that implementations "should" honor this flag, but it doesn't say they "must". Some Microsoft TCP/IP implementations used this flag, which meant in practical terms, relay agents and servers had to implement it. A number of BOOTP-relay-agent implementations (e.g. in routers) handled DHCP just fine except for the need for this feature, thus they announced new versions stated to handle DHCP."

Anyway, here's Jim's answer:

This isn't so much a client issue as it is a server issue. In order for your Windows clients to receive DHCP responses by unicast rather than broadcast, you need to configure the DHCP server accordingly to allow clients to request a unicast response. To do so, you must modify the registry on the DHCP server (assuming a Windows-based DHCP server).

1. On the server, open the Registry Editor and navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters.

2. If the IgnoreBroadcastFlag value does not exist in this key, create it as a DWORD value.

3. Set the value of IgnoreBroadcastFlag to to 1 to cause the server to ignore the client broadcast flag and always respond with multicast. Set the value of IgnoreBroadcastFlag to 0 to allow the clients to request unicast.

4. Close the Registry Editor and restart the DHCP server.

Jim and I both hope that'll help you get things going properly on your network.



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized: Windows Help   (Article 4256)
Tagged:
Previous: Where can I buy a Sony PSP USB cable?
Next: Why can't I find my site in Google?

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Dear Jim ,
Thank you very much for your answer , it helped me to configure my DHCP server to respond unicast , I have deployed a DHCP server in a n ADSL environment with Multiple PVCs , in this situation only one PVC can transmit Broadcast , therefore if DHCP server responds using Broadcast PCs connected to other PVCs other than the Broadcast enabled PVC cannot obtain IP address from the server. Thanks !!!


I have another question , can you pls tell me how to enable DHCP optio82 in Windows2000 advance server DHCP server and set relay agent's IP address in the server.

regards
Ruwan Indika

Posted by: ruwan at April 18, 2007 11:09 PM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan

Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]