Dual Stacking for IPv4 and IPv6
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.
- Enter global configuration mode.
- Enable IPv6 routing globally.
- Enter Ethernet interface configuration mode.
- Configure an IPv4 address on Ethernet interface 1/3/1.
- Configure an IPv6 address on Ethernet interface 1/3/1.
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