ipv4 to ipv6
CompTIA Cisco TCP-IP

IPv4 to IPv6

Because IPv6 almost always comes as an upgrade to the existing IPv4 infrastructure, IPv6 design and implementation considerations must include different transition mechanisms between these two protocol suites. The IPv4 to IPv6 transition can be very challenging, and during the transition period, it is very likely that both protocols will coexist on the network.

Our sister website features IPv6 training courses and follow-along labs.

The designers of the IPv6 protocol suite have suggested that IPv4 will not go away anytime soon, and it will strongly coexist with IPv6 in combined addressing schemes. The key to all IPv4 to IPv6 transition mechanisms is dual-stack functionality, which allows a device to operate both in IPv4 mode and in IPv6 mode.

One of the most important IPv4 to IPv6 transition mechanisms involves tunneling between dual-stack devices and this can be implemented in different flavors:

  • Static tunnels:
    • Generic Routing Encapsulation (GRE) – default tunnel mode
    • IPv6IP (less overhead, no CLNS transport)
  • Automatic tunnels:
    • 6to4 (embeds IPv4 address into IPv6 prefix to provide automatic tunnel endpoint determination); automatically generates tunnels based on the utilized addressing scheme
    • Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) – automatic host-to-router and host-to-host tunneling

ipv4 to ipv6

Analyzing the figure above, the IPv4 island contains two dual-stack routers that run both the IPv4 and the IPv6 protocol stacks. These two routers will be able to support the transition mechanisms by tunneling IPv6 inside IPv4, and the two routers each connect to an IPv6 island. To carry IPv6 traffic between the two edge islands, a tunnel is created between the two routers that encapsulate IPv6 packets inside IPv4 packets. These packets are sent through the IPv4 cloud as regular IPv4 packets and they get de-encapsulated when they reach the other end. An IPv6 packet generated in the left-side network reaches a destination in the right-side network, so it is very easy to tunnel IPv6 inside IPv4 because of the dual-stack routers at the edge of the IPv4 infrastructure. Static tunneling methods are generally used when dealing with point-to-point links, while dynamic tunneling methods work best when using point-to-multipoint connections.

Network Address Translation Protocol Translation (NAT-PT) is another technology that can be utilized to carry out the transition to an IPv6 network. NAT-PT is often confused with NAT but it is a completely different technology. Simple NAT can also be used in IPv6 but this is very rare because IPv6 offers a very large address space and private addresses are not necessary. NAT-PT is another translation mechanism that will dynamically convert IPv4 addresses to IPv6 addresses, and vice-versa.

Another static tunneling technology is IPv6IP, which encapsulates IPv4 packets directly into IPv6. This is also called manual tunneling. Another type of static tunnel that can be created is a GRE tunnel that encapsulates the IPv6 packets within a GRE packet. GRE tunneling might be necessary when using special applications and services, like the IS-IS routing protocol for IPv6.

The dynamic tunnel types include the 6to4 tunnel, which is appropriate when a group of destinations needs to be connected dynamically utilizing IPv6. ISATAP is a unique type of host-to-router dynamic tunnel, unlike the previously mentioned tunneling techniques, which are router-to-router. ISATAP allows hosts to dynamically get to their IPv6 default gateway. If you have questions about the Network+ certification, drop us a line.

Note:     ISATAP is a protocol that will soon fade away because almost all modern hosts and routers have native IPv6 support.

IPv6 Compared to IPv4

A network designer should have a very clear picture of the advantages IPv6 has over IPv4. The enhancements of IPv6 can be summarized as follows:

  • IPv6 uses hexadecimal notation instead of dotted-decimal notation (IPv4).
  • IPv6 has an expanded address space, from 32 bits to 128 bits.
  • IPv6 addresses are globally unique due to the extended address space, eliminating the need for NAT.
  • IPv6 has a fixed header length (40 bytes), allowing vendors to improve switching efficiency.
  • IPv6 supports enhanced options (that offer new features) by placing extension headers between the IPv6 header and the Transport Layer header.
  • IPv6 offers Address Auto-Configuration, providing for the dynamic assignment of IP addresses even without a DHCP server.
  • IPv6 offers support for labeling traffic flows.
  • IPv6 has security capabilities built-in, including authentication and privacy via IPsec
  • IPv6 offers Path MTU Discovery before sending packets to a destination, eliminating the need for fragmentation.
  • IPv6 supports site multi-homing.
  • IPv6 uses the ND protocol instead of ARP.
  • IPv6 uses AAAA DNS records instead of A records (IPv4).
  • IPv6 uses site-local addressing instead of RFC 1918 (IPv4).
  • IPv4 and IPv6 use different routing protocols.
  • IPv6 provides for anycast addressing.

We have hands-on labs for Cisco, Linux, CompTIA, Ethical Hacking, IP Subnetting, Python, and more. 101 Labs – IP Subnetting teaches IPv6 subnetting.

101 Labs Newsletter

One of the most important IPv4 to IPv6 transition mechanisms involves tunneling between dual-stack devices

Newsletter Subscribe

Stay Informed, Stay Inspired: Subscribe for Cutting-Edge IT-Certification Insights

101 Labs Newsletter