Internet Engineering Task Force | M.M. Mawatari |
Internet-Draft | Japan Internet Exchange Co.,Ltd. |
Intended status: Best Current Practice | M.K. Kawashima |
Expires: January 31, 2013 | NEC AccessTechnica, Ltd. |
C.B. Byrne | |
T-Mobile USA | |
August 2012 |
464XLAT: Combination of Stateful and Stateless Translation
draft-ietf-v6ops-464xlat-07
This document describes an architecture (464XLAT) for providing limited IPv4 connectivity across an IPv6-only network by combining existing and well-known stateful protocol translation RFC 6146 in the core and stateless protocol translation RFC 6145 at the edge. 464XLAT is a simple and scalable technique to quickly deploy limited IPv4 access service to IPv6-only edge networks without encapsulation.
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 January 31, 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.
With the exhaustion of the unallocated IPv4 address pools, it will be difficult for many networks to assign IPv4 addresses to end users.
This document describes an IPv4 over IPv6 solution as one of the techniques for IPv4 service extension and encouragement of IPv6 deployment. 464XLAT is not a one-for-one replacement of full IPv4 functionality. The 464XLAT architecture only supports IPv4 in the client server model, where the server has a global IPv4 address. This means it is not fit for IPv4 peer-to-peer communication or inbound IPv4 connections. 464XLAT builds on IPv6 transport and includes full any-to-any IPv6 communication.
The 464XLAT architecture described in this document uses IPv4/IPv6 translation standardized in [RFC6145] and [RFC6146]. It does not require DNS64 [RFC6147] since an IPv4 host may simply send IPv4 packets, including packets to an IPv4 DNS server, which will be translated on the customer side translator(CLAT) to IPv6 and back to IPv4 on the provider side translator(PLAT). 464XLAT networks may use DNS64 [RFC6147] to enable single stateful translation [RFC6146] instead of 464XLAT double translation where possible. The 464XLAT architecture encourages the IPv6 transition by making IPv4 services reachable across IPv6-only networks and providing IPv6 and IPv4 connectivity to single-stack IPv4 or IPv6 servers and peers.
By combining 464XLAT with BIH [RFC6535], it is also possible to provide single IPv4 to IPv6 translation service, which will be needed in the future case of IPv6-only servers and peers to be reached from IPv4-only hosts across IPv6-only networks.
This BCP only applies when the following two criteria are present:
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 [RFC2119].
Examples of 464XLAT architectures are show in the figures in the following sections.
Wireline Network Architecture can fit in the situations that there are the clients behind the CLAT in the same way regardless of the type of access service, for example FTTH, Cable, or WiFi.
Wireless 3GPP Network Architecture can fit in the situations that client and node that terminate access network is same host in the same way.
The private IPv4 host on this diagram can reach global IPv4 hosts via translation on both CLAT and PLAT. On the other hand, the IPv6 host can reach other IPv6 hosts on the Internet directly without translation. This means that the CPE/CLAT can not only have the function of a CLAT but also the function of an IPv6 native router for native IPv6 traffic. The v4p host behind the CLAT on this diagram with the private IPv4 addresses.
+------+ | v6 | | host | +--+---+ | .---+---. / \ / IPv6 \ | Internet | \ / `----+----' | +------+ | .---+---. .------. | v6 +---+ +------+ / \ +------+ / \ | host | | | | / IPv6 \ | | / IPv4 \ +------+ +---+ CLAT +---+ Network +---+ PLAT +---+ Internet | +--------+ | | | \ / | | \ / | v4p/v6 +-+ +------+ `---------' +------+ `----+----' | host | | | +--------+ | +--+---+ +------+ | | v4g | | v4p +---+ | host | | host | | +------+ +------+ | <- v4p -> XLAT <--------- v6 --------> XLAT <- v4g -> v6 : Global IPv6 v4p : Private IPv4 v4g : Global IPv4
Figure 1: Wireline Network Topology
The CLAT function on the User Equipment (UE) provides an [RFC1918] address and IPv4 default route. The applications on the UE can use the private IPv4 address for reaching global IPv4 hosts via translation on both CLAT and PLAT. On the other hand, reaching IPv6 hosts (including host presented via DNS64 [RFC6147]) does not require the CLAT function on the UE.
+------+ | v6 | | host | +--+---+ | .---+---. / \ / IPv6 \ | Internet | \ / UE / Mobile Phone `---------' +----------------------+ | | +----+ | | .---+---. .------. | | v6 +----+ +------+ / \ +------+ / \ | +----+ | | | / IPv6 PDP \ | | / IPv4 \ | +---+ CLAT +---+ Mobile Core +---+ PLAT +--+ Internet | | | | | \ GGSN / | | \ / | | +------+ \ ' +------+ `----+---' | +-----+ | | `-------' | | | v4p +---+ | +--+---+ | +-----+ | | | v4g | +----------------------+ | host | +------+ <- v4p -> XLAT <--------- v6 --------> XLAT <- v4g -> v6 : Global IPv6 v4p : Private IPv4 v4g : Global IPv4
Figure 2: Wireless 3GPP Network Topology
When an ISP has IPv6 access service and provides 464XLAT, the ISP can provide outgoing IPv4 service to end users across an IPv6 access network. The result is that edge network growth is no longer tightly coupled to the availability of scarce IPv4 addresses.
If another ISP operates the PLAT, the edge ISP is only required to deploy an IPv6 access network. All ISPs do not need IPv4 access networks. They can migrate their access network to a simple and highly scalable IPv6-only environment.
Incidentally, the effectiveness of 464XLAT was confirmed in the WIDE camp Spring 2012. The result is described in [I-D.hazeyama-widecamp-ipv6-only-experience].
The vast majority of mobile networks are compliant to Pre-Release 9 3GPP standards. In Pre-Release 9 3GPP networks, GSM and UMTS networks must signal and support both IPv4 and IPv6 Packet Data Protocol (PDP) attachments to access IPv4 and IPv6 network destinations [RFC6459]. Since there are two PDPs required to support two address families, this is double the number of PDPs required to support the status quo of one address family, which is IPv4.
For the IPv4 literal or IPv4 socket applications that require IPv4 connectivity, the CLAT function on the UE provides a private IPv4 address and IPv4 default route on the host for the applications to reference and bind to. Connections sourced from the IPv4 interface are immediately routed to the CLAT function and passed to the IPv6-only mobile network, destined for the PLAT. In summary, the UE has the CLAT function that does a stateless translation [RFC6145], but only when required. The mobile network has a PLAT that does stateful translation [RFC6146].
464XLAT works with today's existing systems as much as possible. 464XLAT is compatible with existing network based deep packet inspection solutions like 3GPP standardized Policy and Charging Control (PCC) [TS.23203].
The IPv6 address format in 464XLAT is defined in Section 2.2 of [RFC6052].
This case should be used when a prefix delegation mechanism such as DHCPv6-PD [RFC3633] is available to assign a dedicated translation prefix to the CLAT.
Destination IPv4 address +----------------------------+ | Global IPv4 address | | assigned to IPv4 server | +--------+ +----------------------------+ | IPv4 | Source IPv4 address | server | +----------------------------+ +--------+ | Global IPv4 address | ^ | assigned to IPv4 PLAT pool | | +----------------------------+ +--------+ | PLAT | Stateful XLATE(IPv4:IPv6=1:n) +--------+ ^ | (IPv6 cloud) Destination IPv6 address +--------------------------------------------------------------+ | IPv4-Embedded IPv6 address | | defined in Section 2.2 of RFC6052 | +--------------------------------------------------------------+ Source IPv6 address +--------------------------------------------------------------+ | IPv4-Embedded IPv6 address | | defined in Section 2.2 of RFC6052 | +--------------------------------------------------------------+ (IPv6 cloud) ^ | +--------+ | | In the case the CLAT has a | | dedicated IPv6 prefix for | CLAT | translation, the CLAT can | | perform with only Stateless | | XLATE (IPv4:IPv6=1:1). +--------+ ^ Destination IPv4 address | +----------------------------+ +--------+ | Global IPv4 address | | IPv4 | | assigned to IPv4 server | | client | +----------------------------+ +--------+ Source IPv4 address +----------------------------+ | Private IPv4 address | | assigned to IPv4 client | +----------------------------+
This case should be used when a prefix delegation mechanism is not available to assign a dedicated translation prefix to the CLAT. In this case, NAT44 SHOULD be used so that all IPv4 source addresses are mapped to a single IPv6 address.
Destination IPv4 address +----------------------------+ | Global IPv4 address | | assigned to IPv4 server | +--------+ +----------------------------+ | IPv4 | Source IPv4 address | server | +----------------------------+ +--------+ | Global IPv4 address | ^ | assigned to IPv4 PLAT pool | | +----------------------------+ +--------+ | PLAT | Stateful XLATE(IPv4:IPv6=1:n) +--------+ ^ | (IPv6 cloud) Destination IPv6 address +--------------------------------------------------------------+ | IPv4-Embedded IPv6 address | | defined in Section 2.2 of RFC6052 | +--------------------------------------------------------------+ Source IPv6 address +--------------------------------------------------------------+ | IPv4-Embedded IPv6 address | | defined in Section 2.2 of RFC6052 | +--------------------------------------------------------------+ (IPv6 cloud) ^ | +--------+ | | In the case the CLAT does not | | have a dedicated IPv6 prefix | CLAT | for translation, the CLAT can | | perform with NAT44 and | | Stateless XLATE | | (IPv4:IPv6=1:1). +--------+ ^ Destination IPv4 address | +----------------------------+ +--------+ | Global IPv4 address | | IPv4 | | assigned to IPv4 server | | client | +----------------------------+ +--------+ Source IPv4 address +----------------------------+ | Private IPv4 address | | assigned to IPv4 client | +----------------------------+
From the delegated DHCPv6 [RFC3633] prefix, a /64 is dedicated to source and receive IPv6 packets associated with the stateless translation [RFC6145].
The CLAT MAY discover the Pref64::/n of the PLAT via some method such as DHCPv6 option, TR-069, DNS APL RR [RFC3123] or [I-D.ietf-behave-nat64-discovery-heuristic].
In the case that DHCPv6-PD [RFC3633] is not available, the CLAT may not have a dedicated IPv6 prefix for translation. If the CLAT does not have a dedicated IPv6 prefix for translation, the CLAT can perform NAT44 and stateless translation [RFC6145].
IPv4 packets from the LAN are NAT44 to the private IPv4 host address of the CLAT that is not included in LAN segment of CLAT. Then, the CLAT will do a stateless translation [RFC6145] so that the IPv4 packets from the CLAT IPv4 host address are translated to the CLAT WAN IPv6 address as described in [RFC6145].
If the CLAT cannot perform ND Proxy [RFC4389] due to the restriction of the implementation, the CLAT may use a dedicated IANA assigned EUI-64 ID for creating a translated IPv6 address to be used in stateless translation [RFC6145]. This will allow the CLAT to avoid possible IPv6 address duplication issues between an IPv6 address for stateless translation [RFC6145] in the CLAT and an IPv6 address assigned to native IPv6 nodes behind the CLAT. This document describes an example for this case in Example 2. of the Appendix A.
The CLAT MAY discover the Pref64::/n of the PLAT via some method such as TR-069, DNS APL RR [RFC3123] or [I-D.ietf-behave-nat64-discovery-heuristic].
The CLAT SHOULD implement a DNS proxy as defined in [RFC5625]. The case of an IPv4-only node behind the CLAT querying an IPv4 DNS server is undesirable since it requires both stateful and stateless translation for each DNS lookup. The CLAT SHOULD set itself as the DNS server via DHCP or other means and proxy DNS queries for IPv4 and IPv6 LAN clients. Using the CLAT enabled home router or UE as a DNS proxy is a normal consumer gateway function and simplifies the traffic flow so that only IPv6 native queries are made across the access network. The CLAT SHOULD allow for a client to query any DNS server of its choice and bypass the proxy.
The CLAT is a stateless translation feature which can be implemented in a common home router or mobile phone that has a tethering feature. The router with CLAT function SHOULD provide common router services such as DHCP of [RFC1918] addresses, DHCPv6, and DNS service.
While CLAT to CLAT IPv4 communication may work when the client IPv4 subnets do not overlap, this traffic flow is out of scope. 464XLAT is a hub and spoke architecture focused on enabling IPv4-only services over IPv6-only networks.
Even if the ISP for end users is different from the PLAT provider (e.g. another ISP), it can implement traffic engineering independently from the PLAT provider. Detailed reasons are below:
This 464XLAT architecture has capabilities. One is a IPv4 -> IPv6 -> IPv4 translation for sharing global IPv4 addresses as a basic function, another, if combined with BIH [RFC6535], is a IPv4 -> IPv6 translation for reaching IPv6-only servers from IPv4-only clients that can not support IPv6. IPv4-only clients must be support through the long period of global transition to IPv6.
+--------+-------------+-----------------------+-------------+ | Server | Application | Traffic Treatment | Location of | | | and Host | | Translation | +--------+-------------+-----------------------+-------------+ | IPv6 | IPv6 | End-to-end IPv6 | None | +--------+-------------+-----------------------+-------------+ | IPv4 | IPv6 | Stateful Translation | PLAT | +--------+-------------+-----------------------+-------------+ | IPv4 | IPv4 | 464XLAT | PLAT/CLAT | +--------+-------------+-----------------------+-------------+ | IPv6 | IPv4 | BIH | CLAT | +--------+-------------+-----------------------+-------------+
The above chart shows most common traffic types and traffic treatment.
To implement a PLAT, see security considerations presented in Section 5 of [RFC6146].
To implement a CLAT, see security considerations presented in Section 7 of [RFC6145]. The CLAT MAY comply with [RFC6092].
IANA is requested to reserve a Modified EUI-64 identifier for 464XLAT according to section 2.2.2 of [RFC5342]. Its suggested value is 02-00-5E-00-00-00-00-00 to 02-00-5E-0F-FF-FF-FF-FF or 02-00-5E-10-00-00-00-00 to 02-00-5E-EF-FF-FF-FF-FF, depending on whether it should be taken in reserved or available values.
The authors would like to thank JPIX NOC members, JPIX 464XLAT trial service members, Seiichi Kawamura, Dan Drown, Brian Carpenter, Rajiv Asati, Washam Fan, Behcet Sarikaya, Jan Zorz, Tatsuya Oishi, Lorenzo Colitti, Erik Kline, Ole Troan, Maoke Chen, Gang Chen, Tom Petch, Jouni Korhonen, and Bjoern A. Zeeb for their helpful comments. Special acknowledgments go to Remi Despres for his plentiful supports and suggestions, especially about using NAT44 with IANA's EUI-64 ID. We also would like to thank Fred Baker and Joel Jaeggli for their support.
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. |
[RFC6052] | Bao, C., Huitema, C., Bagnulo, M., Boucadair, M. and X. Li, "IPv6 Addressing of IPv4/IPv6 Translators", RFC 6052, October 2010. |
[RFC6144] | Baker, F., Li, X., Bao, C. and K. Yin, "Framework for IPv4/IPv6 Translation", RFC 6144, April 2011. |
[RFC6145] | Li, X., Bao, C. and F. Baker, "IP/ICMP Translation Algorithm", RFC 6145, April 2011. |
[RFC6146] | Bagnulo, M., Matthews, P. and I. van Beijnum, "Stateful NAT64: Network Address and Protocol Translation from IPv6 Clients to IPv4 Servers", RFC 6146, April 2011. |
The following are examples of IPv4/IPv6 Address Translation on the 464XLAT architecture.
Example 1. (Case of enabling only stateless XLATE on CLAT)
In the case that an IPv6 prefix greater than /64 is assigned to an end user by such as DHCPv6-PD [RFC3633], only the Stateless XLATE functionality should be enabled on the CLAT as the CLAT can use a dedicated /64 from the assigned IPv6 prefix.
Host & configuration value +------------------------------+ | IPv4 server | | [198.51.100.1] | IP packet header +------------------------------+ +--------------------------------+ ^ | Destination IP address | | | [198.51.100.1] | | | Source IP address | | | [192.0.2.1] | +------------------------------+ +--------------------------------+ | PLAT | ^ | IPv4 pool address | | | [192.0.2.1 - 192.0.2.100] | | | PLAT-side XLATE IPv6 prefix | | | [2001:db8:1234::/96] | | +------------------------------+ +--------------------------------+ ^ | Destination IP address | | | [2001:db8:1234::198.51.100.1] | | | Source IP address | | | [2001:db8:aaaa::192.168.1.2] | +------------------------------+ +--------------------------------+ | CLAT | ^ | PLAT-side XLATE IPv6 prefix | | | [2001:db8:1234::/96] | | | CLAT-side XLATE IPv6 prefix | | | [2001:db8:aaaa::/96] | | +------------------------------+ +--------------------------------+ ^ | Destination IP address | | | [198.51.100.1] | | | Source IP address | | | [192.168.1.2] | +------------------------------+ +--------------------------------+ | IPv4 client | | [192.168.1.2/24] | +------------------------------+ Delegated IPv6 prefix for client: 2001:db8:aaaa::/56
Example 2. (Case of enabling NAT44 and stateless XLATE on CLAT)
In the case that IPv6 prefix /64 is assigned to end users, the function of NAT44 and Stateless XLATE should be enabled on CLAT. Because the CLAT does not have dedicated IPv6 prefix for translation.
Host & configuration value +-------------------------------+ | IPv4 server | | [198.51.100.1] | IP packet header +-------------------------------+ +-------------------------------+ ^ | Destination IP address | | | [198.51.100.1] | | | Source IP address | | | [192.0.2.1] | +-------------------------------+ +-------------------------------+ | PLAT | ^ | IPv4 pool address | | | [192.0.2.1 - 192.0.2.100] | | | PLAT-side XLATE IPv6 prefix | | | [2001:db8:1234::/96] | | +-------------------------------+ +-------------------------------+ ^ | Destination IP address | | | [2001:db8:1234::198.51.100.1] | | | Source IP address | | | [2001:db8:aaaa:0:200:5e10::] | +-------------------------------+ +-------------------------------+ | CLAT Stateless XLATE function | ^ | - - - - - - - - - - - - - - - | | | PLAT-side XLATE IPv6 prefix | | | [2001:db8:1234::/96] | | | CLAT-side XLATE IPv6 prefix | | | [2001:db8:aaaa::/64] | | | CLAT-side XLATE IPv6 EUI-64 ID| | | [02-00-5E-10-00-00-00-00] | | + - - - - - - - - - - - - - - - + +-------------------------------+ | ^ | | Destination IP address | | | | | [198.51.100.1] | | | | | Source IP address | | | | | [10.255.255.1] | + - - - - - - - - - - - - - - - + +-------------------------------+ | CLAT NAT44 function | ^ | - - - - - - - - - - - - - - - | | | NAT44 NATed address | | | [10.255.255.1/32] | | +-------------------------------+ +-------------------------------+ ^ | Destination IP address | | | [198.51.100.1] | | | Source IP address | | | [192.168.1.2] | +-------------------------------+ +-------------------------------+ | IPv4 client | | [192.168.1.2/24] | +-------------------------------+ Delegated IPv6 prefix for client: 2001:db8:aaaa::/64