IPv6 transition mechanism explained

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. The SIIT method defines a class of IPv6 addresses called IPv4-translated addresses. They have the prefix and may be written as, in which the IPv4 formatted address 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. It was revised in 2011, and in 2016 its current revision was published.

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) or AYIYA.

6rd

See main article: IPv6 rapid deployment. 6rd was developed by Rémi Després. It 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 acts as an intermediate device between two hosts. The function of the translator is to convert IPV6 into IPV4 addresses and vice versa. TRT accomplishes this translation through IP address mapping and a custom IP address.[5]

The address, for example, if packets are to be transmitted from an IPv6 address (fec0:0:0:1::/64) to and IPV4 address (10.1.1.1) would read as fec0:0:0:1::10.1.1.1. The packets are routed towards the translator firstly through an IPv6/TCP protocol and then from the translator to the IPv4 host through an IPv4/TCP protocol.[6]

TRT employs a similar operation to DNS translation between AAAA and A records known as DNS-ALG as defined in RFC 2694.[7]

NAT64

See main article: article and NAT64. 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., . 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.

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.[8]

There are two noticeable issues with this transition mechanism:

  1. DNS resolver 2606:4700:4700:64 synthesizes AAAA records for
  2. ipv6test.google.com to a NAT64 address: 64:ff9b::

$ nslookup ipv6test.google.com 2606:4700:4700::64

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

Implementations

ISATAP

See main article: 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.[10] [11]

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

Dual-Stack Lite (DS-Lite)

Dual-Stack Lite technology does not involve allocating an IPv4 address to customer-premises equipment (CPE) for providing Internet access. 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. 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)[24] and the Babel routing protocol.[25] It has been implemented the Bird Internet routing daemon[26] and in babeld.[27]

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.[28] MAP-T and MAP-E entered standards track in July 2015, and Sky Italia has deployed MAP-T in its internet services as early as year 2021.[29]

Draft proposals

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

4rd

IPv4 Residual Deployment (4rd) is an experimental mechanism 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

See also

External links

Notes and References

  1. Technical Criteria for Choosing IP The Next Generation (IPng) . 1726 . Partridge . C. . Kastenholz . F. . December 1994 .
  2. 7915. Stateless IP/ICMP Translation Algorithm. C. Bao. X. Li. F. Baker. Fred Baker (IETF chair). T. Anderson. F. Gont. June 2016.
  3. IPv6 Rapid Deployment on IPv4 Infrastructures (6rd) . 5569 . Despres . R. . January 2010 .
  4. IPv6 Rapid Deployment on IPv4 Infrastructures (6rd) – Protocol Specification . 5969 . Troan . O. . August 2010 .
  5. Hagino . J. . Yamamoto . K. . An IPv6-to-IPv4 Transport Relay Translator . rfc-editor.org . June 2001 . Request for Comments Editor . 28 June 2024.
  6. Web site: Shanmugaraja . P. . Design and Implementation of Transport Relay Translator and its security Mitigations . researchgate.net . Research Gate . 28 June 2024.
  7. DNS extensions to Network Address Translators (DNS_ALG) . rfc-editor.org . 28 June 2024 . September 1999 . Heffernan . Andy . Tsirtsis . George . Srisuresh . Pyda . Akkiraju . Praveen .
  8. DNS64: DNS Extensions for Network Address Translation from IPv6 Clients to IPv4 Servers . 6147 . Bagnulo . M. . Sullivan . A. . Matthews . P. . van Beijnum . I. . April 2011 .
  9. Web site: README.DNS64. GitHub. 2024-04-07. 2024-04-07. https://web.archive.org/web/20240407205104/https://github.com/NLnetLabs/unbound/blob/master/doc/README.DNS64. live.
  10. News: Video: 464XLAT Live Demo at World IPv6 Congress in Paris. 3 April 2013. Internet Society. Žorž. Jan. 5 August 2013. 13 September 2017. https://web.archive.org/web/20170913134101/http://www.internetsociety.org/deploy360/blog/2013/04/video-464xlat-live-demo-at-world-ipv6-congress-in-paris/. live.
  11. Web site: 464XLAT – A Solution for Providing IPv4 Services Over and IPv6-only Network. T-Mobile USA. 5 August 2013. 12 November 2020. https://web.archive.org/web/20201112031924/https://sites.google.com/site/tmoipv6/464xlat. dead.
  12. Web site: June 13, 2014 . Case Study: T-Mobile US Goes IPv6-only Using 464XLAT . live . https://web.archive.org/web/20240204021359/https://www.internetsociety.org/deploy360/2014/case-study-t-mobile-us-goes-ipv6-only-using-464xlat/ . February 4, 2024 . January 15, 2023 . Internet Society.
  13. Web site: Twardowska . Marta . January 6, 2015 . Orange Polska Has Launched a World's First Innovative IPv6 Solution with SoftAtHome . 2023-01-15 . . en . 2023-01-15 . https://web.archive.org/web/20230115224447/https://www.businesswire.com/news/home/20150106005488/en/Orange-Polska-Has-Launched-a-World%E2%80%99s-First-Innovative-IPv6-Solution-with-SoftAtHome . live .
  14. Web site: February 6, 2020 . Telstra IPv6 Wireless Enablement – IPv6 Single Stack . June 12, 2023 . June 12, 2023 . https://web.archive.org/web/20230612051408/https://lists.ausnog.net/pipermail/ausnog/2020-February/043869.html . live .
  15. Web site: Drown . Dan . What is Android CLAT? . January 15, 2023 . Dan's Notes . December 17, 2022 . https://web.archive.org/web/20221217201141/https://github.com/toreanderson/clatd . live .
  16. Web site: Havey . Daniel . Balasubramanian . Praveen . February 14, 2019 . Core Network Stack Features in the Creators Update for Windows 10 . January 15, 2023 . Microsoft Networking Blog . February 1, 2023 . https://web.archive.org/web/20230201204557/https://techcommunity.microsoft.com/t5/networking-blog/core-network-stack-features-in-the-creators-update-for-windows/ba-p/339676 . live .
  17. Web site: March 7, 2024 . Windows 11 Plans to Expand CLAT Support . Microsoft Networking Blog . March 8, 2024 . https://web.archive.org/web/20240308105450/https://techcommunity.microsoft.com/t5/networking-blog/windows-11-plans-to-expand-clat-support/ba-p/4078173 . live .
  18. Web site: Twitter. 27 June 2022.
  19. Web site: [v6ops] iOS12 IPv6-only]. 5 November 2018.
  20. Web site: van Beijnum. Iljitsch. Apple to iOS devs: IPv6-only cell service is coming soon, get your apps ready. Ars Technica. 2 July 2016. 2015-06-16. 2016-06-28. https://web.archive.org/web/20160628114602/http://arstechnica.com/apple/2015/06/apple-to-ios-devs-ipv6-only-cell-service-is-coming-soon-get-your-apps-ready/. live.
  21. Web site: Anderson . Tore . May 20, 2019 . clatd . January 15, 2023 . . December 17, 2022 . https://web.archive.org/web/20221217201141/https://github.com/toreanderson/clatd . live .
  22. Web site: OpenWrt Wiki package: 464xlat. OpenWrt. 1 April 2024.
  23. Web site: Baoi . Danilo G. . June 19, 2021 . FreeBSD 12.1-RELEASE Release Notes . FreeBSD . January 15, 2023 . January 15, 2023 . https://web.archive.org/web/20230115224443/https://www.freebsd.org/releases/12.1R/relnotes/ . live .
  24. Advertising IPv4 Network Layer Reachability Information with an IPv6 Next Hop. 5549. Le Faucheur. François. Rosen. Eric. May 2009.
  25. 9229. Pv4 Routes with an IPv6 Next Hop in the Babel Routing Protocol. Chroboczek. Juliusz. May 2022.
  26. Web site: Rammhold . Andreas . December 15, 2020 . [RFC] Babel: Add v4viav6 Support ]. 2023-01-15 . BIRD Internet Routing Daemon . 2022-12-29 . https://web.archive.org/web/20221229084844/https://bird.network.cz/pipermail/bird-users/2020-December/015082.html . live .
  27. Web site: Chroboczek . Juliusz . May 5, 2022 . [Babel-users] ANNOUNCE: babeld-1.12 ]. 2023-01-15 . Debian Alioth Lists . 2022-12-29 . https://web.archive.org/web/20221229084813/https://alioth-lists.debian.net/pipermail/babel-users/2022-May/003963.html . live .
  28. Web site: Mapping Address + Port. Mark Townsley. Cisco. September 24, 2012. 2012-09-25. 2022-12-29. https://web.archive.org/web/20221229084809/https://ripe65.ripe.net/presentations/91-townsley-map-ripe65-ams-sept-24-2012.pdf. live.
  29. Web site: Patterson . Richard . IPv6-Only with MAP-T . RIPE NCC Open House . May 2021 . 1 August 2023 . 21 February 2023 . https://web.archive.org/web/20230221111150/https://www.ripe.net/participate/meetings/open-house/presentations/richard-patterson-sky-italia-and-map-t . live .