rfc-4818

RADIUS Delegated-IPv6-Prefix Attribute

J. Salowey, R. Droms
date2007-04 streamIETF areasec wgradext statusPROPOSED STANDARD pages7 canonicalhttps://www.rfc-editor.org/rfc/rfc4818 doi10.17487/RFC4818
This document defines a RADIUS (Remote Authentication Dial In User Service) attribute that carries an IPv6 prefix that is to be delegated to the user. This attribute is usable within either RADIUS or Diameter. [STANDARDS-TRACK]

Extracted elements (13)

design-rationale §1

The Framed-IPv6-Prefix attribute is not designed to support delegation of IPv6 prefixes for use in the user's network; therefore a separate Delegated-IPv6-Prefix attribute is defined, and both attributes may appear in the same RADIUS packet without conflict.

radius, v6ops

interoperability-note §5

In Diameter, the attribute's applicability maps as follows: RADIUS Access-Request maps to AA-Request or Diameter-EAP-Request; RADIUS Access-Accept maps to AA-Answer or Diameter-EAP-Answer indicating success; RADIUS Accounting-Request maps to Diameter Accounting-Request.

radius, diameter, v6ops

interoperability-note §5

When used in Diameter, Delegated-IPv6-Prefix uses AVP Code 123 from the RADIUS attribute compatibility space (codes 1–255) with data type OctetString. No translation is required for Diameter/RADIUS gateways beyond header, alignment, and padding changes.

radius, diameter, v6ops

normative-requirement §3 MUST

Any bits in the prefix field that are not part of the prefix MUST be zero.

radius, v6ops

normative-requirement §3 MAY

The Delegated-IPv6-Prefix attribute MAY appear in an Accounting-Request packet.

radius, v6ops

normative-requirement §3 MAY

The Delegated-IPv6-Prefix MAY appear in an Access-Accept packet and can appear multiple times. It MAY appear in an Access-Request packet as a hint by the NAS, but the server is not required to honor the hint.

radius, v6ops

normative-requirement §3 MUST NOT

The Delegated-IPv6-Prefix MUST NOT appear in any other RADIUS packets (i.e., not in Access-Reject, Access-Challenge, or other packet types).

radius, v6ops

protocol-element §5

Diameter AVP flag rules for Delegated-IPv6-Prefix (Code 123, OctetString): MUST set M flag; MAY set P flag; MUST NOT set V flag; encryption (Encr) is Y (allowed).

radius, diameter, v6ops

protocol-element §4

The attribute table specifies that Delegated-IPv6-Prefix (attribute 123) may appear zero or more times in Access-Request, Access-Accept, and Accounting-Request packets, and MUST NOT be present in Access-Reject or Access-Challenge packets.

radius, v6ops

protocol-element §1

The Delegated-IPv6-Prefix attribute (Type 123) carries an IPv6 prefix to be delegated to the user for use in the user's network, for example via DHCP Prefix Delegation. It differs from Framed-IPv6-Prefix in that it is specifically designed for delegation rather than assignment to the user's interface.

radius, v6ops, ip

registry §6

IANA assigned Type value 123 to the Delegated-IPv6-Prefix attribute in the RADIUS Attribute Types registry.

radius, registry, v6ops

security-consideration §7

Known RADIUS security vulnerabilities are discussed in RFC 2607, RFC 2865, and RFC 2869. Use of IPsec for securing RADIUS carried over IPv6 is discussed in RFC 3162. Security considerations for Diameter are discussed in RFC 3588.

radius, security, ipsec, v6ops

wire-format §3

The Delegated-IPv6-Prefix attribute encoding is: Type (1 byte, value 123), Length (1 byte, 4–20), Reserved (1 byte, always zero), Prefix-Length (1 byte, 0–128), followed by the Prefix field (variable, only as long as needed to hold the prefix bits). Any bits in the prefix field beyond the prefix length MUST be zero.

radius, v6ops, ip