Reach a server through a relay
02A relay carries DHCP between a client’s local network and a server elsewhere. Its giaddr field supplies relay context.
The server responds to the relay, which delivers the response locally.
Key idea: Broadcast scope need not limit server placement.
Rules & examples
Broadcast scope need not limit server placement.
- DHCP uses UDP server port 67 and client port 68.
- A relay populates giaddr when forwarding a client request.
- With nonzero giaddr, the server sends return messages to the relay’s DHCP server port; the relay forwards to the client.
Relay and server policy determine address selection. This example does not imply that relays authenticate every client or that any relay-supplied field can be trusted without deployment controls.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.