Network Working Group J-S. Park
Request for Comments: 4489 M-K. Shin
Updates: 3306 H-J. Kim
Category: Standards Track ETRI
April 2006
A Method for Generating Link-Scoped IPv6 Multicast Addresses
Park, et al. Standards Track [Page 1]
RFC 4489 Link-Scoped IPv6 Multicast April 2006 1. IntroductionThis document defines an extension to the multicast portion of the IPv6 addressing architecture [RFC4291]. The current architecture does not contain any built-in support for dynamic address allocation. The extension allows for use of IIDs to allocate multicast addresses. When a link-local unicast address is configured at each interface of a node, an IID is uniquely determined. After that, each node can generate its unique multicast addresses automatically without conflicts. That is, these addresses could safely be configured at any time after Duplicate Address Detection (DAD) has completed.
2. Applicability
The allocation technique in this document is designed to be used in any environment in which link-local scope IPv6 multicast addresses are assigned or selected. This method goes especially well with nodes supplying multicast services in a zeroconf/serverless environment. For example, multicast addresses less than or equal to link-local scope are themselves generated by nodes supplying multicast services without conflicts. Also, hosts that are supplied multicast services from multicast servers then make multicast addresses of multicast servers using ND (address resolution) and well-known group IDs [RFC2461].
Park, et al. Standards Track [Page 2]
RFC 4489 Link-Scoped IPv6 Multicast April 2006 3. Link-Scoped Multicast Address FormatThis document specifies a new format that incorporates IID in the link-local scope multicast addresses.
| 8 | 4 | 4 | 8 | 8 | 64 | 32 |
+--------+----+----+--------+--------+----------------+----------+
|11111111|flgs|scop|reserved| plen | IID | group ID |
+--------+----+----+--------+--------+----------------+----------+
Figure 1. Link-Scoped Multicast IPv6 Address Format
4. Example
In an Ethernet environment, if the link-local unicast address is FE80::A12:34FF:FE56:7890, the link-scoped multicast prefix of the node is FF32:00FF:A12:34FF:FE56:7890::/96.
Park, et al. Standards Track [Page 3]
RFC 4489 Link-Scoped IPv6 Multicast April 2006 5. Consideration of LifetimeGenerally, link-scoped multicast addresses have no lifetime, because link-local unicast addresses also have no lifetime. However, this is not true in the mobile environment. Even though multicast addresses are created from the unique IIDs of unicast addresses, their useful lifetime is linked to the period during which the IID is known to be unique. Thus, conflict is possible between IIDs, due to a new node in merged network that uses the same IID as a powered node.
6. Security Considerations
The uniqueness of multicast addresses using this method is guaranteed by the DAD process. So, a secure DAD process is needed for stability of this method. This document proposes the mechanism in [RFC3041] for this purpose.
7. Acknowledgements
We would like to thank Dave Thaler and Brian Haberman for their comments related to the consistency between the unicast prefix-based multicast document and this one. Special thanks are due to Erik Nordmark and Pekka Savola for valuable comments.
Park, et al. Standards Track [Page 4]
RFC 4489 Link-Scoped IPv6 Multicast April 2006 8. References 8.1. Normative References[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Park, et al. Standards Track [Page 5]
RFC 4489 Link-Scoped IPv6 Multicast April 2006
Full Copyright Statement