Dual stack router configuration enables a single device to handle both IPv4 and IPv6 traffic simultaneously. This covers enabling IPv6 unicast routing, assigning IPv6 addresses to an interface, and understanding how Cisco devices automatically generate EUI-64 link-local addresses.
Router Dual Stack Configuration
Dual stack means that it can operate both with IPv4 addresses and IPv6 addresses. I'm on this router, and the first thing that I'm going to do is take a look at the interfaces and see if there are any configurations for IP version 6 on it at this point.
So I'm going to do a show ipv6 interface brief, to take a look at the interfaces and any association with IPv6 addresses. We can see that these are unassigned, first of all, and that two of the interfaces are administratively down, so the shutdown command is on there, and we have one interface up. It's this one interface that we're actually going to configure.
The first thing that we're going to do is take a look at the running config of this, so I'm going to do a show run interface fa00. We hit enter, and there is the configuration of this interface right there. We can see that there is no IPv6 on there.
The first thing that we'll do is set this router up to actually route IPv6 packets. To do that I have to be in global configuration mode, so I'm going to get into global configuration mode, and the thing I'm going to type in is ipv6 unicast routing, and hit enter. That will configure this router to be able to route unicast traffic for IPv6.
The next thing that I'm going to do is attach an IPv6 address to this machine. What I can do is type in interface fa00 to get into the interface, and then I can type in ipv6 and see what commands are associated with IPv6.
I see here I can actually pick up a DHCP address if I wanted to pick up a DHCP address. If I want to enable the IPv6 interface, I just type in enable. What that will do is create a local link address, so at least it can communicate on the line. So I can just enable it. What we're going to see is that the local link address is going to automatically be created when we do these other commands, because an IPv6 port needs to have a local link address — it's part of the way IPv6 functions. We could just enable IPv6 at this point in time, but I want to show you how it will automatically add that.
We also see now that we can add an address to this. That's what we're going to do in this case right here, so let's add an address to it. The address that we're going to add is fc:1::1 — we're going to actually add a couple of zeros in there — slash 64. So it's going to be the address that we're trying to add plus the prefix length. Then we can hit enter.
Let's now take a look at show. I'll have to put the do at the front of it: do show ipv6 interface brief. I hit enter, and now we see the IPv6 address associated with fa00.
The other thing that we see here is that the local link address is added as well. We see that ffe is in the middle of this, so that should give us a clue that this is a EUI-64 address right there. So it automatically added a local link address, and for Cisco devices it added the EUI-64.
This right here is associated with the MAC address of the switch, and if I wanted to see that I could do show interfaces and take a look at the interfaces. We see that the MAC is 0026 777f 468c. So, 468c — it is the same, 468c, it's the same thing. So it's taken the MAC address to form the local link address on this, so that gives us once again a clue that this is a EUI-64. Now, by default Windows will not use EUI-64, but by default Cisco does use EUI-64.
That's the local link address. The next thing that we'll do — let's break out of here — is let's also add a unicast address to this that uses the EUI-64. To do that I'm going to type in ip address — well, it's going to be a version 6, right? So ipv6 address, and then we'll type in our fc 1::1, it is going to be a slash 64, and we want EUI-64 in there. So we hit enter.
Now let's take a do show ipv6 interface brief. We hit enter, and now we see that it's added that EUI-64 IP address in there as well.
So now we've configured this device to be able to route IPv6 addresses, and we've also configured one of the ports to have IPv6 addresses on it. If I wanted to test it out, the other thing I could do is a ping, and I can ping another device on this network to test it out. So let's do 1::, let's try pinging 3 — and it's successful.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →