165 pts.
 DHCP Working
Hi All, I am working as a network Admin in a small organization, i am still confused about working of DHCP Server. DORA.
D : Discover : Client to Server Broadcast
O: Offer: Server to client Broadcast as per Microsoft
R: Request: Client to server Broadcast
A: Ack : Server to client
according to RFC all communication from client to server are broadcast and from server to client is unicast. Can anyone please help me to remove the confusion please...
urgent


Software/Hardware used:
DHCP, Windows server 2003
ASKED: May 29, 2010  10:41 PM
UPDATED: June 1, 2010  6:49 PM

Answer Wiki:
This is from the RFC document: "<b>Normally</b>, DHCP servers and BOOTP relay agents <b>attempt </b>to deliver DHCPOFFER, DHCPACK and DHCPNAK messages directly to the client using unicast delivery. The IP destination address (in the IP header) is set to the DHCP 'yiaddr' address and the link-layer destination address is set to the DHCP 'chaddr' address. <b>Unfortunately, some client implementations are unable to receive such unicast IP datagrams until the implementation has been configured with a valid IP address (leading to a deadlock in which the client's IP address cannot be delivered until the client has been configured with an IP address). </b> <b>A client that cannot receive unicast IP datagrams until its protocol software has been configured with an IP address SHOULD set the BROADCAST bit in the 'flags' field to 1 in any DHCPDISCOVER or DHCPREQUEST messages that client sends. The BROADCAST bit will provide a hint to the DHCP server and BOOTP relay agent to broadcast any messages to the client on the client's subnet</b>. A client that can receive unicast IP datagrams before its protocol software has been configured SHOULD clear the BROADCAST bit to 0. The BOOTP clarifications document discusses the ramifications of the use of the BROADCAST bit [21]." Source: <a href="http://www.faqs.org/rfcs/rfc2131.html">RFC2131 - Dynamic Host Configuration Protocol</a> -------------------
Last Wiki Answer Submitted:  June 1, 2010  1:54 am  by  carlosdl   63,580 pts.
All Answer Wiki Contributors:  carlosdl   63,580 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Most vendors implementation is broadcast initially, then unicast once source and destination MAC addresses are known..

 3,610 pts.

 

See this Wireshark wiki article on DHCP (the first graphic)- the client sends to the broadcast addresses – the server sends to a unicast address. However, this is only true if the DHCP client is on the same server as the DHCP server. If a DHCP relay agent is involved, then the DHCP server will not see the traffic as being sent to the broadcast address.

 32,720 pts.