IPv6 transition mechanism

From HandWiki
Short description: IPv4 to IPv6 transition technology

An IPv6 transition mechanism is a technology that facilitates the transitioning of the Internet from the Internet Protocol version 4 (IPv4) infrastructure in use since 1983 to the successor addressing and routing system of Internet Protocol Version 6 (IPv6). As IPv4 and IPv6 networks are not directly interoperable, transition technologies are designed to permit hosts on either network type to communicate with any other host.

To meet its technical criteria, IPv6 must have a straightforward transition plan from the current IPv4.[1] The Internet Engineering Task Force (IETF) conducts working groups and discussions through the IETF Internet Drafts and Request for Comments processes to develop these transition technologies towards that goal. Some basic IPv6 transition mechanisms are defined in RFC 4213.

Stateless IP/ICMP Translation

Stateless IP/ICMP Translation (SIIT) translates between the packet header formats in IPv6 and IPv4.REFERENCE FOR RFC6144 IS NOT DEFINED YET. You are invited to add it here. The SIIT method defines a class of IPv6 addresses called IPv4-translated addresses.REFERENCE FOR RFC6052 IS NOT DEFINED YET. You are invited to add it here. They have the prefix ::ffff:0:0:0/96 and may be written as ::ffff:0:a.b.c.d, in which the IPv4 formatted address a.b.c.d refers to an IPv6-enabled node. The prefix was chosen to yield a zero-valued checksum to avoid changes to the transport protocol header checksum.[2] The algorithm can be used in a solution that allows IPv6 hosts that do not have a permanently assigned IPv4 address to communicate with IPv4-only hosts. Address assignment and routing details are not addressed by the specification. SIIT can be viewed as a special case of stateless network address translation.

The specification is a product of the NGTRANS IETF working group, and was initially drafted in February 2000 by E. Nordmark of Sun Microsystems.REFERENCE FOR RFC2765 IS NOT DEFINED YET. You are invited to add it here. It was revised in 2011,REFERENCE FOR RFC6145 IS NOT DEFINED YET. You are invited to add it here. and in 2016 its current revision was published.REFERENCE FOR RFC7915 IS NOT DEFINED YET. You are invited to add it here.

Tunnel broker

A tunnel broker provides IPv6 connectivity by encapsulating IPv6 traffic in IPv4 Internet transit links, typically using 6in4. This establishes IPv6 tunnels within the IPv4 Internet. The tunnels may be managed with the Tunnel Setup Protocol (TSP)REFERENCE FOR RFC5572 IS NOT DEFINED YET. You are invited to add it here. or AYIYA.REFERENCE FOR RFC3053 IS NOT DEFINED YET. You are invited to add it here.

6rd

Main page: IPv6 rapid deployment

6rd is a mechanism to facilitate rapid deployment of the IPv6 service across IPv4 infrastructures of Internet service providers (ISPs). It uses stateless address mappings between IPv4 and IPv6 addresses, and transmits IPv6 packets across automatic tunnels that follow the same optimized routes between customer nodes as IPv4 packets.

It was used for an early large deployment of an IPv6 service with native addresses during 2007 (RFC 5569[3]). The standard-track specification of the protocol is in RFC 5969.[4]

Transport Relay Translation

RFC 3142 defines the Transport Relay Translation (TRT) method. TRT employs DNS translation between AAAA and A records known as DNS-ALG as defined in RFC 2694.

NAT64

NAT64 and DNS64.

NAT64 is a mechanism to allow IPv6 hosts to communicate with IPv4 servers. The NAT64 server is the endpoint for at least one IPv4 address and an IPv6 network segment of 32-bits, e.g., 64:ff9b::/96.REFERENCE FOR RFC6052 IS NOT DEFINED YET. You are invited to add it here. The IPv6 client embeds the IPv4 address with which it wishes to communicate using these bits, and sends its packets to the resulting address. The NAT64 server then creates a NAT-mapping between the IPv6 and the IPv4 address, allowing them to communicate.REFERENCE FOR RFC6146 IS NOT DEFINED YET. You are invited to add it here.

DNS64

DNS64 describes a DNS server that when asked for a domain's AAAA records, but only finds A records, synthesizes the AAAA records from the A records. The first part of the synthesized IPv6 address points to an IPv6/IPv4 translator and the second part embeds the IPv4 address from the A record. The translator in question is usually a NAT64 server. The standard-track specification of DNS64 is in RFC 6147.[5]

There are two noticeable issues with this transition mechanism:

  • It only works for cases where DNS is used to find the remote host address, if IPv4 literals are used the DNS64 server will never be involved.
  • Because the DNS64 server needs to return records not specified by the domain owner, DNSSEC validation against the root will fail in cases where the DNS server doing the translation is not the domain owner's server.
# DNS resolver 2606:4700:4700:64 synthesizes AAAA records for
# ipv6test.google.com to a NAT64 address: 64:ff9b::<original-ipv4>
$ nslookup ipv6test.google.com 2606:4700:4700::64

Non-authoritative answer:
ipv6test.google.com	canonical name = ipv6test.l.google.com.
Name:	ipv6test.l.google.com
Address: 64:ff9b::8efa:c3e4

ISATAP

Main page: ISATAP

ISATAP (Intra-Site Automatic Tunnel Addressing Protocol) is an IPv6 transition mechanism meant to transmit IPv6 packets between dual-stack nodes on top of an IPv4 network.

Unlike 6over4 (an older similar protocol using IPv4 multicast), ISATAP uses IPv4 as a virtual nonbroadcast multiple-access network (NBMA) data link layer, so that it does not require the underlying IPv4 network infrastructure to support multicast.

464XLAT

464XLAT (RFC 6877) allows clients on IPv6-only networks to access IPv4-only Internet services, such as Skype.[6][7]

The client uses a SIIT translator to convert packets from IPv4 to IPv6. These are then sent to a NAT64 translator which translates them from IPv6 back into IPv4 and on to an IPv4-only server. The client translator may be implemented on the client itself or on an intermediate device and is known as the CLAT (Customer-side transLATor). The NAT64 translator, or PLAT (Provider-side transLATor), must be able to reach both the server and the client (through the CLAT). The use of NAT64 limits connections to a client-server model using UDP, TCP, and ICMP.

Implementations
  • T-Mobile US became IPv6-only using 464XLAT.[8]
  • Orange Polska began IPv6-only (CLAT/NAT64/DNS) service in September 2013, migrating all ADSL, VDSL, and FTTH gateways by January 2015.[9]
  • Telstra became IPv6-only for mobile services using 464XLAT in February 2020. [10]
  • Android includes a native implementation of CLAT since Jelly Bean 4.3, released in 2013.[11]
  • Windows 10 has a native WWAN-only implementation of 464XLAT for desktop and mobile since the 2017 Creators Update.[12]
  • macOS starts to have native CLAT support in Ventura, released in 2022.[13]
  • iOS has a native CLAT implementation since version 12.0, released in 2018.[14] Additionally, Apple requires all apps submitted to the App Store to work on IPv6 networks.[15]
  • clatd is a CLAT implementation for Linux.[16]
  • FreeBSD has implemented NAT64 CLAT since Release 12.1.[17]

Dual-Stack Lite (DS-Lite)

DS-Lite

Dual-Stack Lite technology does not involve allocating an IPv4 address to customer-premises equipment (CPE) for providing Internet access.REFERENCE FOR RFC6333 IS NOT DEFINED YET. You are invited to add it here. The CPE distributes private IPv4 addresses for the LAN clients, according to the networking requirement in the local area network. The CPE encapsulates IPv4 packets within IPv6 packets. The CPE uses its global IPv6 connection to deliver the packet to the ISP's carrier-grade NAT (CGN), which has a global IPv4 address. The original IPv4 packet is recovered and NAT is performed upon the IPv4 packet and is routed to the public IPv4 Internet. The CGN uniquely identifies traffic flows by recording the CPE public IPv6 address, the private IPv4 address, and TCP or UDP port number as a session.

Lightweight 4over6 extends DS-Lite by moving the NAT functionality from the ISP side to the CPE, eliminating the need to implement carrier-grade NAT.REFERENCE FOR RFC7596 IS NOT DEFINED YET. You are invited to add it here. This is accomplished by allocating a port range for a shared IPv4 address to each CPE. Moving the NAT functionality to the CPE allows the ISP to reduce the amount of state tracked for each subscriber, which improves the scalability of the translation infrastructure.

V4-via-v6 routing

V4-via-v6 routing is a technique where IPv4 addresses are assigned to end hosts only while intermediate routers are only assigned IPv6 addresses. IPv4 routes are propagated as usual, and no packet translation or encapsulation is employed, but use an IPv6 next hop. V4-via-v6 reduces the amount of management required, since the core network only needs to be assigned IPv6 addresses, but still requires that the core network be able to forward IPv4 packets.

V4-via-v6 is defined for the Border Gateway Protocol (BGP)[18] and the Babel routing protocol.[19] It has been implemented the Bird Internet routing daemon[20] and in babeld.[21]

MAP

Mapping of Address and Port (MAP) is a Cisco IPv6 transition proposal which combines A+P port address translation with tunneling of the IPv4 packets over an ISP provider's internal IPv6 network.[22] MAP-TREFERENCE FOR RFC7599 IS NOT DEFINED YET. You are invited to add it here. and MAP-EREFERENCE FOR RFC7597 IS NOT DEFINED YET. You are invited to add it here. entered standards track in July 2015, and Sky Italia has deployed MAP-T in its internet services as early as year 2021.[23]

Draft proposals

The following mechanisms are still being discussed or have been abandoned by the IETF:

4rd

IPv4 Residual Deployment (4rd) is an experimental mechanismREFERENCE FOR RFC7600 IS NOT DEFINED YET. You are invited to add it here. to facilitate residual deployment of the IPv4 service across IPv6 networks. Like 6rd, it uses stateless address mappings between IPv6 and IPv4. It supports an extension of IPv4 addressing based on transport-layer ports. This is a stateless variant of the A+P model.

Deprecated mechanisms

These mechanisms have been deprecated by the IETF:

NAT-PT

Network Address Translation/Protocol Translation (NAT-PT) is defined in RFC 2766, but due to numerous problems, it has been obsoleted by RFC 4966 and deprecated to historic status. It is typically used in conjunction with a DNS application-level gateway (DNS-ALG) implementation.

NAPT-PT

While almost identical to NAT-PT, Network Address Port Translation + Protocol Translation, which is also described in RFC 2766, adds translation of the ports as well as the address. This is done primarily to avoid two hosts on one side of the mechanism from using the same exposed port on the other side of the mechanism, which could cause application instability and security flaws. This mechanism has been deprecated by RFC 4966.

Implementations

  • stone (software), port translator for Windows & Unix-based systems.
  • faithd, BSD-based static TRT implementation by the KAME project
  • CLATD, a CLAT / SIIT-DC Edge Relay implementation for Linux
  • WrapSix, a NAT64 implementation for Linux
  • TAYGA, a stateless NAT64 implementation for Linux
  • Jool, a stateful NAT64 implementation for Linux
  • naptd, user-level NAT-PT
  • Ecdysis, a NAT64 gateway, includes DNS64
  • Address Family Transition Router (AFTR), a DS-Lite implementation
  • niit Linux Kernel device that allow transmission of IPv4 unicast traffic through an IPv6 network
  • IVI IPv4/IPv6 packet translation implementation as a Linux kernel(2.6 only) patch
  • Microsoft Forefront Unified Access Gateway, a reverse proxy and VPN solution that implements DNS64 and NAT64
  • BIND, Berkeley Internet Name Domain DNS server, implements DNS64 since version 9.8
  • PF (firewall), the OpenBSD packet filter supports IP version translation since version 5.1, includes NAT64

See also

References

  1. Partridge, C.; Kastenholz, F. (December 1994), Technical Criteria for Choosing IP The Next Generation (IPng), doi:10.17487/RFC1726, RFC 1726, https://tools.ietf.org/html/rfc1726 
  2. C. Bao; X. Li; F. Baker; T. Anderson; F. Gont (June 2016), Stateless IP/ICMP Translation Algorithm, doi:10.17487/RFC7915, RFC 7915, https://tools.ietf.org/html/rfc7915 
  3. Despres, R. (January 2010), IPv6 Rapid Deployment on IPv4 Infrastructures (6rd), doi:10.17487/RFC5569, RFC 5569, https://tools.ietf.org/html/rfc5569 
  4. Troan, O. (August 2010), IPv6 Rapid Deployment on IPv4 Infrastructures (6rd) -- Protocol Specification, doi:10.17487/RFC5969, RFC 5969, https://tools.ietf.org/html/rfc5969 
  5. Bagnulo, M.; Sullivan, A.; Matthews, P.; van Beijnum, I. (April 2011), DNS64: DNS Extensions for Network Address Translation from IPv6 Clients to IPv4 Servers, doi:10.17487/RFC6147, RFC 6147, https://tools.ietf.org/html/rfc6147 
  6. Žorž, Jan (3 April 2013). "Video: 464XLAT Live Demo at World IPv6 Congress in Paris". Internet Society. http://www.internetsociety.org/deploy360/blog/2013/04/video-464xlat-live-demo-at-world-ipv6-congress-in-paris/. 
  7. "464XLAT -- A Solution for Providing IPv4 Services Over and IPv6-only Network". T-Mobile USA. https://sites.google.com/site/tmoipv6/464xlat. 
  8. "Case Study: T-Mobile US Goes IPv6-only Using 464XLAT". June 13, 204. https://www.internetsociety.org/resources/deploy360/2014/case-study-t-mobile-us-goes-ipv6-only-using-464xlat/. [|permanent dead link|dead link}}]
  9. Twardowska, Marta (January 6, 2015). "Orange Polska Has Launched a World's First Innovative IPv6 Solution with SoftAtHome" (in en). https://www.businesswire.com/news/home/20150106005488/en/Orange-Polska-Has-Launched-a-World%E2%80%99s-First-Innovative-IPv6-Solution-with-SoftAtHome. 
  10. "Telstra IPv6 Wireless Enablement - IPv6 Single Stack". February 6, 2020. https://lists.ausnog.net/pipermail/ausnog/2020-February/043869.html. 
  11. Drown, Dan. "What is Android CLAT?". https://github.com/toreanderson/clatd. 
  12. Havey, Daniel; Balasubramanian, Praveen (February 14, 2019). "Core Network Stack Features in the Creators Update for Windows 10". https://techcommunity.microsoft.com/t5/Networking-Blog/Core-Network-Stack-Features-in-the-Creators-Update-for-Windows/ba-p/339676. 
  13. "Twitter". https://twitter.com/Oskar456/status/1541509105898164225. 
  14. "[v6ops iOS12 IPv6-only"]. https://www.ietf.org/mail-archive/web/v6ops/current/msg30153.html. 
  15. van Beijnum, Iljitsch (2015-06-16). "Apple to iOS devs: IPv6-only cell service is coming soon, get your apps ready". https://arstechnica.com/apple/2015/06/apple-to-ios-devs-ipv6-only-cell-service-is-coming-soon-get-your-apps-ready/. 
  16. Anderson, Tore (May 20, 2019). "clatd". https://github.com/toreanderson/clatd. 
  17. Baoi, Danilo G. (June 19, 2021). "FreeBSD 12.1-RELEASE Release Notes". https://www.freebsd.org/releases/12.1R/relnotes/. 
  18. Le Faucheur, François; Rosen, Eric (May 2009), Advertising IPv4 Network Layer Reachability Information with an IPv6 Next Hop, doi:10.17487/RFC5549, RFC 5549, https://tools.ietf.org/html/rfc5549 
  19. Chroboczek, Juliusz (May 2022), Pv4 Routes with an IPv6 Next Hop in the Babel Routing Protocol, doi:10.17487/RFC9229, RFC 9229, https://tools.ietf.org/html/rfc9229 
  20. Rammhold, Andreas (December 15, 2020). "[RFC Babel: Add v4viav6 Support"]. https://bird.network.cz/pipermail/bird-users/2020-December/015082.html. 
  21. Chroboczek, Juliusz (May 5, 2022). "[Babel-users ANNOUNCE: babeld-1.12"]. https://alioth-lists.debian.net/pipermail/babel-users/2022-May/003963.html. 
  22. Mark Townsley (September 24, 2012). "Mapping Address + Port". Cisco. https://ripe65.ripe.net/presentations/91-townsley-map-ripe65-ams-sept-24-2012.pdf. 
  23. Patterson, Richard (May 2021). "IPv6-Only with MAP-T". https://www.ripe.net/participate/meetings/open-house/presentations/richard-patterson-sky-italia-and-map-t. 

External links

  • IPv6 in Practice, Benedikt Stockebrand (2006), ISBN:3-540-24524-3
  • RFC 2767, Bump-in-the-Stack
  • RFC 3089, Socks-based Gateway
  • RFC 3338, Bump-in-the-API
  • RFC 6144, Framework for IPv4/IPv6 Translation
  • RFC 6219, The China Education and Research Network (CERNET) IVI Translation Design and Deployment for the IPv4/IPv6 Coexistence and Transition
  • D. J. Bernstein - The IPv6 mess
  • Christian and Tina Strauf - Transport Relay Translator How To
  • Network World - Understanding Dual-Stack Lite
  • IETE Technical Review - Assuring Interoperability Between Heterogeneous (IPv4/IPv6) Networks Without using Protocol Translation
  • KSII Transactions on Internet and Information Systems - Configuring Hosts to Auto-detect (IPv6, IPv6-in-IPv4, or IPv4) Network Connectivity