Configuring a Manual IPv6 Over IPv4 Tunnel

You can use a manually configured tunnel to connect two isolated IPv6 domains. You must deploy this point-to-point tunneling mechanism if you need a permanent and stable connection across an IPv4 network.
In this example, tunnel interface 1 is created and assigns a link local IPv6 address with an automatically computed EUI-64 interface ID to it. The IPv4 address assigned to the Loopback 1 interface is used as the tunnel source, while the IPv4 address 10.1.1.1 is configured as the tunnel destination. To carry the IPv6 traffic a port name is assigned and the tunnel mode is configured as a manual IPv6 tunnel. Finally, the tunnel is enabled by configuring IPv6 addresses. Optionally, you can use the ipv6 enable command.
  1. Enter global configuration mode.
    device# configure terminal
  2. Enter tunnel interface configuration mode.
    device(config)# interface tunnel 1
  3. Assign a port name to the tunnel.
    device(config-tunnel1)# port-name ManualTunnel1
  4. Configure tunnel mode for IPv6.
    device(config-tunnel1)# tunnel mode ipv6ip
  5. Configure the loopback 1 interface as the tunnel source.
    device(config-tunnel1)# tunnel source loopback 1
  6. Configure an IPv4 interface as the tunnel destination.
    device(config-tunnel1)# tunnel destination 10.1.1.1
  7. Enable the tunnel by specifying one or more IPv6 addresses.
    device(config-tunnel1)# ipv6 address 1011::1/64
  8. Repeat Step 7 for more IPv6 addresses.
    device(config-tunnel1)# ipv6 address 1001::1/64

The following example configures a manual IPv6 tunnel across an IPv4 network on a Layer 3 switch running both IPv4 and IPv6 protocol stacks on each end of the tunnel.

device(mode)# command executable
interface tunnel 1
 port-name ManualTunnel1
 tunnel mode ipv6ip
 tunnel source loopback 1
 tunnel destination 10.1.1.1
 ipv6 address 1011::1/64
 ipv6 address 1001::1/64