rfc-4994

DHCPv6 Relay Agent Echo Request Option

S. Zeng, B. Volz, K. Kinnear, J. Brzozowski
date2007-09 streamIETF areaint wgdhc statusPROPOSED STANDARD pages6 canonicalhttps://www.rfc-editor.org/rfc/rfc4994 doi10.17487/RFC4994
This memo defines a Relay Agent Echo Request option for the Dynamic Host Configuration Protocol for IPv6 (DHCPv6). The option allows a DHCPv6 relay agent to request a list of relay agent options that the server echoes back to the relay agent. [STANDARDS-TRACK]

Extracted elements (11)

design-rationale §1

DHCPv4 servers generally echo relay agent options verbatim back to the relay agent, but DHCPv6 does not require this. The ERO option was introduced to allow relay agents to explicitly request echoing of specific options they need, even when the server does not recognize them.

interoperability-note §4

The relay agent uses OPTION_ORO to request non-relay-agent options in the Relay Forward message, while OPTION_ERO is specifically for requesting relay agent options to be echoed back; these are distinct mechanisms.

normative-requirement §4 MAY

A relay agent MAY include an Echo Request option in a Relay Forward message to inform the server about options the relay agent wants echoed back.

normative-requirement §5 MUST

If an option requested in the ERO is already present in the Relay-Reply, the server MUST ignore that option and continue processing remaining ERO options.

normative-requirement §5 MUST

If an option requested in the ERO was present in the Relay-Forward and not already in the Relay-Reply, the server MUST copy the option verbatim from the Relay-Forward to the Relay-Reply, even if the server does not otherwise recognize that option.

normative-requirement §4 SHOULD NOT

If the relay agent takes different actions based on whether an option is echoed back or not, the relay agent SHOULD NOT include such an option in the Echo Request option.

normative-requirement §5 SHOULD

When a server creates a Relay-Reply, it SHOULD perform ERO processing after processing the ORO and other options processing.

protocol-element §3

The Relay Agent Echo Request option (OPTION_ERO, code 43) allows a DHCPv6 relay agent to request that the server echo back a specified list of relay agent options in the Relay-Reply message.

registry

registry §7

IANA assigned DHCPv6 option code 43 for the OPTION_ERO (Relay Agent Echo Request) option.

registry

security-consideration §6

The Echo Request option is only exchanged between relay agents and DHCPv6 servers; RFC 3315 section 21.1 covers securing DHCPv6 messages between servers and relay agents, and section 23 provides general DHCPv6 security considerations.

security

wire-format §3

OPTION_ERO format: 2-octet option-code field (value 43), 2-octet option-len field (value = 2 * number of requested options), followed by a list of 2-octet requested-option-code-n fields, one per requested option.