MBONED Working Group | M. Boucadair, Ed. |
Internet-Draft | France Telecom |
Intended status: Standards Track | J. Qin |
Expires: February 09, 2013 | Cisco |
Y. Lee | |
Comcast | |
S. Venaas | |
Cisco Systems | |
X. Li | |
CERNET Center/Tsinghua University | |
M. Xu | |
Tsinghua University | |
August 10, 2012 |
IPv6 Multicast Address With Embedded IPv4 Multicast Address
draft-ietf-mboned-64-multicast-address-format-03
This document reserves two IPv6 multicast prefixes to be used in the context of IPv4-IPv6 interconnection. The document specifies an algorithmic translation of an IPv6 multicast address to a corresponding IPv4 multicast address, and vice versa. This algorithmic translation can be used in both IPv4-IPv6 translation or encapsulation schemes.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119].
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http:/⁠/⁠datatracker.ietf.org/⁠drafts/⁠current/⁠.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on February 09, 2013.
Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http:/⁠/⁠trustee.ietf.org/⁠license-⁠info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
Various solutions (e.g., [I-D.ietf-softwire-mesh-multicast], [I-D.ietf-softwire-dslite-multicast]) have been proposed to allow access to IPv4 multicast content from hosts attached to IPv6-enabled domains. Even if these solutions have distinct applicability scopes (translation vs. encapsulation) and target different use cases, they all make use of specific IPv6 multicast addresses to embed an IPv4 multicast address. Particularly, the IPv4-embedded IPv6 multicast address is used as a destination IPv6 address of multicast flows received from an IPv4-enabled domain and injected by the IPv4-IPv6 Interconnection Function into an IPv6-enabled domain. It is also used to build an IPv6 multicast state (*, G6) or (S6, G6) corresponding to their (*, G4) or (S4, G4) IPv4 counter parts by the IPv4-IPv6 Interconnection Function. [I-D.ietf-mboned-v4v6-mcast-ps] provides more discussion about issues related to IPv4/IPv6 multicast.
This document reserves two prefixes to be used to synthesize IPv4-embedded IPv6 multicast address. This document also defines how IPv4-embedded IPv6 multicast addresses are constructed. Both IPv4-IPv6 translation or encapsulation schemes can make use of these prefixes.
Appendix Appendix A.1 enumerates the arguments in favor of reserving dedicated prefixes Appendix Appendix A.2 discusses why identifying an IPv4-embedded IPv6 multicast address is needed.
This specification can be used in conjunction with other extensions such as building unicast prefix-based multicast IPv6 address [RFC3306] or embedding the rendezvous point [RFC3956]. These techniques are important tools to simplify IPv6 multicast deployments. Indeed, unicast prefix-based IPv6 addressing is used in many current IPv6 multicast deployments, and has also been defined for IPv4, and is seen as a very useful technique. Also embedded-RP is used in existing deployments.
This document is a companion document to [RFC6052] which focuses exclusively on IPv4-embedded IPv6 unicast addresses.
This document makes use of the following terms:
The following constraints should be met when reserving dedicated prefix(es) to be used for IPv4/IPv6 multicast interconnection:
Meeting (1) and (2) with the same prefix is not feasible without modifying embedded-RP and unicast-based prefix specifications; this option is avoided.
As a consequence, two multicast prefixes are proposed to be used when embedding IPv4 address: one prefix for ASM and another one for the SSM. This document reserves the following multicast prefixes to be used in the context of IPv4/IPv6 multicast interconnection:
For the delivery of the IPv4-IPv6 multicast interconnection services, a dedicated multicast prefix denoted as MPREFIX64 should be provisioned (e.g., using NETCONF or [I-D.ietf-softwire-multicast-prefix-option]) to any function requiring to build an IPv4-embedded IPv6 multicast address based on an IPv4 multicast address. MPREFIX64 can be of ASM or SSM type. When both modes are used, two prefixes are required to be provisioned.
The length of MPREFIX64 MUST be /96. MPREFIX64 should belong to ffxx:8000::/20 for ASM mode and ff3x:0:8000::/96 for the SSM mode.
For the ASM mode, the format of the MPREFIX64 should follow what is specified in [RFC3306] and [RFC3956] if corresponding mechanisms are used. If not, bits 21-96 can be set to any value.
Figure 1 shows how to build an IPv4-embedded IPv6 multicast address using a configured MPREFIX64 and an IPv4 multicast address. The low-order 32 bits MUST include an IPv4 multicast address. The enclosed IPv4 multicast address SHOULD NOT be in 232/8 range if an ASM_PREFIX64 is configured. The enclosed IPv4 multicast address SHOULD be in 232/8 range if an SSM_PREFIX64 is configured.
Embedding an IPv4 multicast address in the last 32 bits does not conflict with the Group IDs assigned by IANA (i.e., 0x00000001 to 0x3FFFFFFF [RFC3307]).
When several MPREFIX64 are available, it is RECOMMENDED to use the MPREFIX64 which preserve the scope of the IPv4 multicast address.
| 96 | 32 | +------------------------------------------------------+----------+ | MPREFIX64 |v4 address| +------------------------------------------------------+----------+
Figure 1: IPv4-Embedded IPv6 Multicast Address Format
IPv4-embedded IPv6 multicast addresses are composed according to the following algorithm:
The IPv4 multicast addresses are extracted from the IPv4-embedded IPv6 multicast addresses according to the following algorithm:
The embedded IPv4 address in an IPv6 multicast address is included in the last 32 bits; therefore dotted decimal notation can be used.
An IPv4 source is represented in the IPv6 realm with its IPv4-converted IPv6 address [RFC6052].
Figure 2 provides an example of ASM IPv4-Embedded IPv6 Address while Figure 3 provides an example of SSM IPv4-Embedded IPv6 Address.
IPv4 multicast addresses used in the examples are derived from the IPv4 multicast block reserved for documentation in [I-D.ietf-mboned-mcaddrdoc].
+---------------------+--------------+----------------------------+ | MPREFIX64 | IPv4 address | IPv4-embedded IPv6 address | +---------------------+--------------+----------------------------+ | ffxx:8000:0:abc::/96| 233.252.0.1 |ffxx:8000:0:abc::233.252.0.1| +---------------------+--------------+----------------------------+
Figure 2: Example of ASM IPv4-embedded IPv6 address
+---------------------+--------------+----------------------------+ | MPREFIX64 | IPv4 address | IPv4-embedded IPv6 address | +---------------------+--------------+----------------------------+ | ff3x:0:8000::/96 | 233.252.0.5 | ff3x:0:8000::233.252.0.5 | +---------------------+--------------+----------------------------+
Figure 3: Example of SSM IPv4-embedded IPv6 address
Authors of this document request to reserve:
This document defines an algorithmic translation of an IPv6 multicast address into an IPv4 multicast address, and vice versa. The security considerations discussed in [RFC6052] are to be taken into consideration.
Many thanks to R. Bonica, B. Sarikaya, P. Savola, T. Tsou and C. Bormann for their comments and review.
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. |
[RFC3956] | Savola, P. and B. Haberman, "Embedding the Rendezvous Point (RP) Address in an IPv6 Multicast Address", RFC 3956, November 2004. |
[RFC3306] | Haberman, B. and D. Thaler, "Unicast-Prefix-based IPv6 Multicast Addresses", RFC 3306, August 2002. |
[RFC3307] | Haberman, B., "Allocation Guidelines for IPv6 Multicast Addresses", RFC 3307, August 2002. |
[RFC6052] | Bao, C., Huitema, C., Bagnulo, M., Boucadair, M. and X. Li, "IPv6 Addressing of IPv4/IPv6 Translators", RFC 6052, October 2010. |
[RFC4607] | Holbrook, H. and B. Cain, "Source-Specific Multicast for IP", RFC 4607, August 2006. |
[I-D.ietf-softwire-multicast-prefix-option] | Boucadair, M, Qin, J, Tsou, T and X Deng, "DHCPv6 Option for IPv4-Embedded Multicast and Unicast IPv6 Prefixes", Internet-Draft draft-ietf-softwire-multicast-prefix-option-01, August 2012. |
[I-D.ietf-mboned-mcaddrdoc] | Chown, T, Eubanks, M, Parekh, R, Velde, G and S Venaas, "Multicast Addresses for Documentation", Internet-Draft draft-ietf-mboned-mcaddrdoc-01, July 2011. |
[I-D.ietf-mboned-v4v6-mcast-ps] | Jacquenet, C, Boucadair, M, Lee, Y, Qin, J, Tsou, T and Q Sun, "IPv4-IPv6 Multicast: Problem Statement and Use Cases", Internet-Draft draft-ietf-mboned-v4v6-mcast-ps-00, May 2012. |
[I-D.ietf-softwire-dslite-multicast] | Wang, Q, Qin, J, Boucadair, M, Jacquenet, C and Y Lee, "Multicast Extensions to DS-Lite Technique in Broadband Deployments", Internet-Draft draft-ietf-softwire-dslite-multicast-00, September 2011. |
[I-D.ietf-softwire-mesh-multicast] | Xu, M, Cui, Y, Yang, S, Wu, J, Metz, C and G Shepherd, "Softwire Mesh Multicast", Internet-Draft draft-ietf-softwire-mesh-multicast-00, September 2011. |
[I-D.ietf-behave-nat64-learn-analysis] | Korhonen, J and T Savolainen, "Analysis of solution proposals for hosts to learn NAT64 prefix", Internet-Draft draft-ietf-behave-nat64-learn-analysis-00, May 2011. |
[RFC4566] | Handley, M., Jacobson, V. and C. Perkins, "SDP: Session Description Protocol", RFC 4566, July 2006. |
Arguments why an IPv6 address format is needed to embed multicast IPv4 address are quite similar to those of [RFC6052]. Concretely, the definition of a multicast address format embedding a multicast IPv4 address allows:
Reserving a dedicated multicast prefix for IPv4-IPv6 interconnection purposes is a means to guide the address selection process at the receiver side; in particular it assists the receiver to select the appropriate IP multicast address while avoiding to involve an IPv4-IPv6 interconnection function in the path.
Two use cases to illustrate this behavior are provided below:[I-D.ietf-behave-nat64-learn-analysis] in a multicast context.
Reserving dedicated IPv6 multicast prefixes for IPv4-IPv6 interconnection purposes mitigates the issues discussed in
There is no strong argument to allow for flexible options to encode the IPv4 address inside the multicast IPv6 address. The option retained by the authors is to encode the multicast IPv4 address in the low-order 32 bits of the IPv6 address.
This choice is also motivated by the need to be compliant with [RFC3306] and [RFC3956].