rfc-6334

Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Option for Dual-Stack Lite

D. Hankins, T. Mrugalski
date2011-08 streamIETF areaint wgsoftwire statusPROPOSED STANDARD pages7 canonicalhttps://www.rfc-editor.org/rfc/rfc6334 doi10.17487/RFC6334
This document specifies a DHCPv6 option that is meant to be used by a Dual-Stack Lite Basic Bridging BroadBand (B4) element to discover the IPv6 address of its corresponding Address Family Transition Router (AFTR). [STANDARDS-TRACK]

Extracted elements (17)

design-rationale §1

The AFTR location is conveyed as a DNS FQDN rather than a raw IPv6 address so that the presence of the option itself signals the B4 to initiate DS-Lite service. Using a DNS name also decouples the B4 configuration from direct AFTR address changes and allows operator flexibility in AFTR selection.

v6ops, dns

design-rationale §5

The B4 element and DHCPv6 client may be integrated, separate, or joined by a third piece of software. The specification uses the term 'B4 system' to encompass all such integration arrangements without mandating a specific implementation architecture.

v6ops

interoperability-note §4

A DHCPv6 server will not reply with an AFTR-Name option unless the client has explicitly included OPTION_AFTR_NAME in its Option Request option (OPTION_ORO), following the standard RFC 3315 Section 17.2.2 negotiation mechanism.

v6ops

normative-requirement §5 MAY

A B4 system wishing to resolve the AFTR name via DNS MAY also include OPTION_DNS_SERVERS (RFC 3646) on its OPTION_ORO.

v6ops, dns

normative-requirement §5 MUST

A DHCPv6 client supporting DS-Lite B4 functionality MUST include OPTION_AFTR_NAME on its Option Request option (OPTION_ORO) to solicit the AFTR name from a server.

v6ops

normative-requirement §4 SHOULD NOT

A DHCPv6 server SHOULD NOT send more than one AFTR-Name option and SHOULD NOT permit configuration of multiple names within a single AFTR-Name option.

v6ops

normative-requirement §3 MUST

An AFTR-Name option is valid only if: (1) option-len > 3; (2) option-len does not exceed remaining packet octets; (3) individual label lengths do not exceed option-len; (4) the FQDN format conforms to RFC 3315 Section 8; (5) no compression tags are present; and (6) at least one label of nonzero length exists.

v6ops

normative-requirement §5 MUST

If the AFTR-Name option contains more than one FQDN (distinguished by multiple root labels), the B4 system MUST use only the first FQDN listed in the configuration.

v6ops

normative-requirement §5 MUST

If the B4 system receives more than one AFTR-Name option, it MUST use only the first instance of that option.

v6ops

normative-requirement §5 MUST

If the client receives the AFTR-Name option, it MUST verify the option contents as described in Section 3.

v6ops

normative-requirement §5 MUST

On a multi-interface device, if the AFTR-Name option is received on multiple interfaces, the B4 system MUST configure a separate DS-Lite tunnel for each interface, since each tunnel provides IPv4 connectivity for a distinct interface.

v6ops

normative-requirement §3 SHOULD NOT

The AFTR-Name option SHOULD NOT appear in any DHCPv6 messages other than Solicit, Advertise, Request, Renew, Rebind, Information-Request, and Reply.

v6ops

normative-requirement §5 MUST NOT

The B4 system performs DNS resolution of the provided FQDN to obtain a AAAA resource record, and if multiple IPv6 addresses are returned, picks only one as the remote tunnel endpoint. The B4 system MUST NOT establish more than one DS-Lite tunnel at the same time per interface.

v6ops, dns

protocol-element §3

The AFTR-Name DHCPv6 option (OPTION_AFTR_NAME, code 64) carries a fully qualified domain name (FQDN) identifying the Address Family Transition Router (AFTR) tunnel endpoint to which a DS-Lite B4 element MAY connect. The option consists of a 2-octet option-code, 2-octet option-len, and a variable-length tunnel-endpoint-name field encoded as a DNS FQDN.

dns, v6ops

registry §7

IANA has allocated DHCPv6 option code 64 for OPTION_AFTR_NAME, as defined by this document.

registry, v6ops

security-consideration §6

DHCPv6-derived configuration is susceptible to man-in-the-middle attacks; there is no basis for trusting the access level represented by a DS-Lite softwire connection obtained via DHCPv6. DS-Lite MUST NOT be used to bypass security mechanisms such as IP firewalls.

security, v6ops

wire-format §3

The tunnel-endpoint-name field is encoded per DHCPv6 RFC 3315 Section 8: each DNS label is preceded by a single octet giving its length (max 63 octets), labels repeat until the FQDN is exhausted, and a terminating zero-length label is required. Compression tags are not permitted.

dns, v6ops