ietf-corpus

rfc-3633

IPv6 Prefix Options for Dynamic Host Configuration Protocol (DHCP) version 6

O. Troan, R. Droms
date2003-12 streamIETF areaint wgdhc statusPROPOSED STANDARD pages19 canonicalhttps://www.rfc-editor.org/rfc/rfc3633 doi10.17487/RFC3633 errataview
The Prefix Delegation options provide a mechanism for automated delegation of IPv6 prefixes using the Dynamic Host Configuration Protocol (DHCP). This mechanism is intended for delegating a long-lived prefix from a delegating router to a requesting router, across an administrative boundary, where the delegating router does not require knowledge about the topology of the links in the network to which the prefixes will be assigned.

obsoleted by

updated by

Extracted elements (28)

design-rationale §6

An IA_PD differs from an IA in that it does not need to be associated with exactly one interface; one IA_PD can be associated with the requesting router as a whole, a set of interfaces, or exactly one interface. This flexibility accommodates diverse CPE deployment topologies without requiring per-interface bindings.

ip, v6ops

design-rationale §1

Delegated prefixes are expected to be long-lived even though the mechanism makes automatic renumbering easier. During renumbering the old and new prefix are expected to co-exist for some time. This design choice reflects that many applications depend on stable addresses.

ip, v6ops

design-rationale §7

Prefix delegation with DHCP is deliberately independent of address assignment. A requesting router can use DHCP for just prefix delegation or combine it with address assignment and other configuration. This separation reflects that prefix delegation serves a different administrative function (ISP-to-CPE) than host address configuration.

ip, v6ops

design-rationale §9

Recommended values for T1 and T2 are 0.5 and 0.8 times the shortest preferred lifetime of the prefixes in the IA_PD, respectively. This allows the requesting router to extend lifetimes before they expire even if the delegating router is unavailable for a short period. If renewal timing should be left to the requesting router's discretion, the delegating router sets T1 and T2 to 0.

ip, v6ops

design-rationale §5

The delegating router does not require knowledge about the topology of the links in the network to which the prefixes will be assigned. The mechanism is designed for cross-administrative-boundary delegation, such as an ISP assigning a prefix to a CPE device, where the ISP need only know the identity of the requesting router.

ip, v6ops

interoperability-note §12

A requesting router uses the same message exchanges as described in RFC 3315 section 18 (Solicit, Advertise, Request, Reply, Renew, Rebind, Release, Reconfigure) to obtain or update prefixes from a delegating router. The IA_PD Prefix option is used analogously to the IA Address option used for assigned addresses.

ip, v6ops

interoperability-note §14

If a delegating router communicates with a requesting router through a relay agent, the delegating router may need a protocol or other out-of-band communication to add routing information for delegated prefixes into the provider edge router. No in-band mechanism is defined for this.

ip, v6ops, routing

interoperability-note §12.1

The Confirm and Decline message types defined in RFC 3315 are not used with Prefix Delegation. The NoPrefixAvail Status Code is handled in the same manner as the NoAddrsAvail Status Code defined in RFC 3315.

ip, v6ops

interoperability-note §1

This use of DHCP is not bound to the assignment of IP addresses or other configuration information to hosts, and no mechanism is currently available to communicate delegated prefixes to a DHCP server that serves such a function. Future work may address this gap.

ip, v6ops

normative-requirement §10 MUST

A requesting router discards any prefixes for which the preferred lifetime is greater than the valid lifetime. A delegating router ignores lifetimes set by the requesting router if preferred lifetime exceeds valid lifetime, and ignores T1 and T2 values set by the requesting router if they are greater than the preferred lifetime.

ip, v6ops

normative-requirement §6 MUST

For any given use of an IA_PD by the requesting router, the IAID for that IA_PD MUST be consistent across restarts of the requesting router. The requesting router may maintain consistency by storing the IAID in non-volatile storage or by using an algorithm that consistently produces the same IAID.

ip, v6ops

normative-requirement §12.1 MUST

If the requesting router assigns a delegated prefix to a link and sends router advertisements for it, the requesting router MUST set the valid lifetime in those advertisements to be no later than the valid lifetime specified in the IA_PD Prefix option. It MAY use the preferred lifetime specified in the option.

ip, v6ops

normative-requirement §12.1 MUST

If verification of the delegating router binding is needed (e.g., after reboot, link flap, or physical disconnection), the requesting router MUST initiate a Rebind/Reply message exchange, with retransmission parameters set as for the Confirm message per RFC 3315 section 18.1.2.

ip, v6ops

normative-requirement §9 MUST

In a message sent by a delegating router to a requesting router, the requesting router MUST use the values in the T1 and T2 fields for the T1 and T2 parameters. If a requesting router receives an IA_PD with T1 greater than T2, and both are greater than 0, the client discards the IA_PD option and processes the remainder of the message as though the IA_PD option was not included.

ip, v6ops

normative-requirement §12.1 MUST

Prefixes to be released MUST be included in the IA_PDs of a Release message. The Confirm and Decline message types are not used with Prefix Delegation.

ip, v6ops

normative-requirement §12.2 MUST

The delegating router MUST include an IA_PD Prefix option or options (in an IA_PD option) in Reply messages sent to a requesting router. For prefixes not found in the requesting router's binding entry, the delegating router returns the prefix with lifetimes of 0.

ip, v6ops

normative-requirement §13.2 MUST

The requesting router MUST include the IA_PD Prefix option(s) (in an IA_PD option) for prefix(es) delegated by the delegating router in its response to a Reconfigure message from that delegating router.

ip, v6ops

normative-requirement §15 SHOULD

To guard against attacks through prefix delegation, requesting routers and delegating routers SHOULD use DHCP authentication as described in section 21 of RFC 3315. Alternatively, IPsec may be used for authentication of DHCPv6 messages where routers have assigned IPv6 addresses.

security, ip, v6ops

normative-requirement §12.1 MUST NOT

Upon receipt of a valid Reply message, the requesting router MUST NOT assign any delegated prefixes or subnets from the delegated prefix(es) to the link through which it received the DHCP message from the delegating router (the upstream/ISP-facing link).

ip, v6ops

normative-requirement §8 SHOULD

When a requesting router sends a DHCP message, it SHOULD be sent on the interface associated with the upstream router (ISP network). When using unicast after receiving the Server Unicast option, the source address SHOULD be an address from the upstream interface suitable for the delegating router to use in responding.

ip, v6ops

protocol-element §6

An Identity Association for Prefix Delegation (IA_PD) is a construct through which a delegating router and a requesting router identify, group, and manage a set of related IPv6 prefixes. Each IA_PD consists of an IAID and associated configuration information, including one or more IPv6 prefixes with T1 and T2 timers. Unlike an IA for addresses, an IA_PD does not need to be associated with exactly one interface.

ip, v6ops, nat

registry §16

IANA assigned option code 25 to OPTION_IA_PD and option code 26 to OPTION_IAPREFIX from the DHCPv6 option-code space defined in RFC 3315 section 24.3.

registry, ip, v6ops

registry §16

IANA assigned status code 6 to NoPrefixAvail ('Delegating router has no prefixes available to assign to the IAPD(s)') from the DHCPv6 status-code space defined in RFC 3315 section 24.4.

registry, ip, v6ops

security-consideration §15

A malicious requesting router may mount a denial of service attack by making repeated requests for delegated prefixes, exhausting the delegating router's available prefix pool.

security, ip, v6ops

security-consideration §15

A rogue delegating router can issue bogus prefixes to a requesting router, potentially causing denial of service due to unreachability of hosts using those prefixes.

security, ip, v6ops

security-consideration §15

Networks configured with delegated prefixes should be configured to preclude intentional or inadvertent inappropriate advertisement of these prefixes, to prevent prefix hijacking or misrouting.

security, ip, v6ops

wire-format §9

The OPTION_IA_PD option (option-code 25) carries a prefix delegation identity association. Its format is: 2-octet option-code, 2-octet option-length (12 + length of IA_PD-options), 4-octet IAID, 4-octet T1 (seconds), 4-octet T2 (seconds), followed by variable-length IA_PD-options field.

ip, v6ops

wire-format §10

The OPTION_IAPREFIX option (option-code 26) specifies an IPv6 address prefix associated with an IA_PD. Its format includes: 4-octet preferred-lifetime, 4-octet valid-lifetime, 1-octet prefix-length, 16-octet IPv6-prefix, and variable-length IAprefix-options. Option-length is 25 + length of IAprefix-options. A value of 0xFFFFFFFF for lifetimes represents infinity.

ip, v6ops