professional

IPv6 Transition Mechanisms

Running IPv6 alongside IPv4 in the real world: dual-stack, tunnelling (6in4, GRE, 6rd), and translation (NAT64/DNS64) — with the decision criteria for choosing each.

30 min

1. Executive Summary & Objective

The internet will run dual IPv4/IPv6 for a long time, so you need a toolkit for making them coexist. There are three families: dual-stack (run both), tunnelling (carry IPv6 across IPv4, or vice-versa), and translation (rewrite between the two). Picking the wrong one creates brittle, hard-to-debug paths.

Objective: Describe the three transition families, choose the right one for a scenario, and configure a basic dual-stack interface and a 6in4 tunnel on Cisco IOS.


2. Core Concept & Theory (The “Why”)

  • Dual-stack — every interface has both an IPv4 and IPv6 address; applications prefer IPv6 (Happy Eyeballs falls back to IPv4). Cleanest, but needs end-to-end IPv6 support.
  • Tunnelling — encapsulate IPv6 in IPv4 to cross IPv4-only transit (6in4/protocol 41, GRE, or ISP-scale 6rd). Good for connecting IPv6 islands.
  • Translation — NAT64 rewrites IPv6↔IPv4 and DNS64 synthesises AAAA records, letting IPv6-only clients reach IPv4-only servers.

3. Architecture & Topology (Visualizing)

Dual-stack

6in4 tunnel across an IPv4-only core


4. Command Execution & Deployment (The “How”)

Dual-stack interface

ipv6 unicast-routing
interface GigabitEthernet0/0
 ip address 203.0.113.1 255.255.255.0
 ipv6 address 2001:db8:1::1/64

6in4 tunnel (manual)

interface Tunnel0
 ipv6 address 2001:db8:ffff::1/64
 tunnel source GigabitEthernet0/0
 tunnel destination 198.51.100.2     ! remote IPv4 endpoint
 tunnel mode ipv6ip                  ! 6in4 (IP protocol 41)
!
ipv6 route 2001:db8:2::/64 Tunnel0   ! route the remote island via the tunnel

5. Verification & Troubleshooting

show ipv6 interface brief
show interfaces Tunnel0              ! line protocol + encapsulation
ping 2001:db8:2::1                   ! reachability across the tunnel
traceroute ipv6 2001:db8:2::1

Watch-outs:

  • MTU/fragmentation: tunnels shrink the usable MTU (encapsulation overhead). Set ipv6 mtu/adjust TCP MSS to avoid black-holed large packets.
  • Firewalls must permit IP protocol 41 for 6in4, or the tunnel silently fails.
  • NAT64 needs DNS64: without synthesised AAAA records the IPv6-only client has nowhere to send.

6. Hands-on Lab

Build a point-to-point 6in4 tunnel to a remote IPv6 island.

Lab: 6in4 tunnel

Create Tunnel0, give it an IPv6 address, set the IPv4 source/destination and 6in4 mode, then route the remote /64 over it.

Objectives

  • Create the tunnel interface.
  • Assign the tunnel's IPv6 address.
  • Use the WAN interface as the IPv4 source.
  • Point at the remote IPv4 endpoint.
  • Select 6in4 encapsulation (protocol 41).
Console - R1(config)
Practice terminal: it checks the commands you type and shows example output. It is not connected to a real device.
Work through the objectives on the left.
Stuck? Type "?" to see the current objective, or "hint" to reveal the command.
R1(config)#

7. Key Takeaways

  • Three families: dual-stack (preferred), tunnelling (bridge islands), translation (NAT64/DNS64 for IPv6-only→IPv4).
  • 6in4 = IPv6 in IPv4 protocol 41; simple, static, firewall-sensitive.
  • NAT64 always pairs with DNS64.
  • Tunnels are a bridge, not a destination — mind MTU and operational cost; migrate to native dual-stack where you can.

🧪 Want to practise this on your own computer? See how to set up your lab →

🤖

Need clarification? Ask GT

Hi, I'm GT — your AI tutor for IPv6 Transition Mechanisms. What would you like to know?
📝

Knowledge Check

1 of 4

What is the preferred, lowest-risk IPv6 transition strategy when you control both endpoints and the path?

Report a problem

About: /lessons/ipv6-transition-mechanisms