Dual Stacking for IPv4 and IPv6

Dual Stacking for IPv4 and IPv6 is supported. A router interface can be configured to support both the IPv4 and IPv6 protocol stacks.

One situation in which you must configure a router to run both IPv4 and IPv6 protocol stacks is if it is deployed as an endpoint for an IPv6 over IPv4 tunnel.

Each router interface that sends and receives both the IPv4 and IPv6 traffic must be configured with an IPv4 address and an IPv6 address. In this task, IPv6 is globally enabled, an IPv4 address and an IPv6 address are configured for a specific interface.

  1. Enter global configuration mode.
    device# configure terminal
  2. Enable IPv6 routing globally.
    device(config)# ipv6 unicast-routing
  3. Enter Ethernet interface configuration mode.
    device(config)# interface ethernet 1/3/1
  4. Configure an IPv4 address on Ethernet interface 1/3/1.
    device(config-if-e1000-1/3/1)# ip address 10.168.1.1 255.255.255.0
  5. Configure an IPv6 address on Ethernet interface 1/3/1.
    device(config-if-e1000-1/3/1)# ipv6 address 2001:DB8:12d:1300::/64 eui-64

The following example configures both an IPv4 and an IPv6 address on an interface to allow both IPv4 and IPv6 traffic to be sent and received over this interface.

device# configure terminal
device(config)# ipv6 unicast-routing
device(config)# interface ethernet 1/3/1
device(config-if-e1000-1/3/1)# ip address 10.168.1.1 255.255.255.0 
device(config-if-e1000-1/3/1)# ipv6 address 2001:DB8:12d:1300::/64 eui-64