Connected: An Internet Encyclopedia
4.4.4 Use of broadcast and unicast

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 2131
Up: 4. Specification of the DHCP client-server protocol
Up: 4.4 DHCP client behavior
Prev: 4.4.3 Initialization with an externally assigned network address
Next: 4.4.5 Reacquisition and expiration

4.4.4 Use of broadcast and unicast

4.4.4 Use of broadcast and unicast

The DHCP client broadcasts DHCPDISCOVER, DHCPREQUEST and DHCPINFORM messages, unless the client knows the address of a DHCP server. The client unicasts DHCPRELEASE messages to the server. Because the client is declining the use of the IP address supplied by the server, the client broadcasts DHCPDECLINE messages.

When the DHCP client knows the address of a DHCP server, in either INIT or REBOOTING state, the client may use that address in the DHCPDISCOVER or DHCPREQUEST rather than the IP broadcast address. The client may also use unicast to send DHCPINFORM messages to a known DHCP server. If the client receives no response to DHCP messages sent to the IP address of a known DHCP server, the DHCP client reverts to using the IP broadcast address.


Next: 4.4.5 Reacquisition and expiration

Connected: An Internet Encyclopedia
4.4.4 Use of broadcast and unicast