Visual RFC.
ALL RFCs / RFC 2131
Read the RFC ↗
RFC 2131 / MECHANISMS

Reach a server through a relay

02

A relay carries DHCP between a client’s local network and a server elsewhere. Its giaddr field supplies relay context.

RFC 2131 · § 4.1EXAMPLE
3 / 3
03
Return to the correct client link.

The server responds to the relay, which delivers the response locally.

Reach a server through a relayParticipant columns keep client and relay on the same link; separate time rows show forwarding and both reply hops.RELAY ACROSS THE BROADCAST BOUNDARYclient linkclientrelayserverbroadcastforwardgiaddr = relay IPserver → relaydeliver locallyUDP server port 67 · client port 68

Key idea: Broadcast scope need not limit server placement.

Terms

Look up a term in the glossary ↗

Rules & examples
  • 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
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
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.

All chapters in RFC 2131

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗