Configuring HSRP for IPv6 on Cisco Networks

Home > Blogs > Cisco > Configuring HSRP for IPv6 on Cisco Networks

Configuring HSRP for IPv6 on Cisco Networks

Like This Blog 6 Mark Jacob
Added by December 28, 2015

In a previous blog I discussed configuring HSRP in an IPv4 network. With the unrelenting advance of IPv6 into today’s networks, I thought I would re-examine this topic in such an environment. Figure 1 shows the topology I will be using for this blog:

For instructor-led Cisco training see our CCNA class schedule.

01-Configuring-HSRP-for-IPv6-on-Cisco-Networks

Figure 1-Blog topology

I am accomplishing all connectivity in this environment with static IPv6 routing. The IPv6 addresses used are also shown in figure 1. I configured HSRP1 and HSRP2 to be paired in an HSRP group, and I used the priority command to ensure that HSRP1 is the active router. The relevant configs for those two routers are shown in figure 2:

002-HSRP1-Configuring-HSRP-for-IPv6-on-Cisco-networks

003-HSRP2-Configuring-HSRP-for-IPv6-on-Cisco-networks

Figure 2-HSRP configs

A couple of things of note. I only set the timers on the active router. I easily could have duplicated that portion of the config on HSRP2, but it serves to demonstrate that the non-active router in the HSRP pairing will hear and adopt the timer values advertised by the active router. I also allowed autoconfig to determine the virtual IPv6 address that will be used. Since I don’t have a requirement to statically set this value, and all that matters is that it functions, allowing it to be determined automatically works just fine.

First, let’s verify that HSRP2 has learned the timer values in spite of the fact that they are not explicitly configured.

004-Learning-Configuring-HSRP-for-IPv6-on-Cisco-networks

Figure 3-HSRP2 timers

There they are, the matching timers values that ARE explicitly configured on HSRP1. Now let’s verify that the Client box (a Cisco router in disguise) can reach the far side of the network – the Loopback IPV6 address configured on ISP:

005-PING-Trace-Configuring-HSRP-for-IPv6-on-Cisco-networks

Figure 4-PING and TRACE output

So we can see that there is IPv6 connectivity to the far side, and I even did a trace to verify the path. Currently, the Client machine’s path has a first hop of HSRP1, which is what we would expect. Now I will send 10,000 pings from the Client machine while observing HSRP1 and HSRP2 to verify that the standby configuration is correctly failing over, while also noting how many pings I lose.

006-Configuring-HSRP-for-IPv6-on-Cisco-networks

 

007-HSRP1-Configuring-HSRP-for-IPv6-on-Cisco-networks

008-HSRP2-Configuring-HSRP-for-IPv6-on-Cisco-networks

Figure 5-HSRP failover activity after simulated failure

That is so cool! The failover happened within milliseconds (as it should have, to match the configuration) and from my Client machine, I only dropped one ping. I would screenshot that, but 1) it went by really fast and 2) it looks just like this: ! ! ! ! ! ! ! ! ! . ! ! ! ! !

As I am fond of saying, if you are confident in your IPv4 networking skills, then you are already skilled at IPv6 configuration and troubleshooting – you may just not realize it yet.

If you have any comments or questions, please feel free to post them….

Until next time….

Mark Jacob
Cisco and CompTIA Network + Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

OSPF Adjacency Troubleshooting Solution – Getting Close to the OSPF adj

0 162 1

In this video, Cisco CCNA & CCNP instructor Mark Jacob shows how to troubleshoot OSPF Adjacency issues by showing the distance between routers with the show ip ospf neighbor command.

Creating Users and Managing Passwords in Microsoft Office 365

0 645 3

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 608 5

How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015

Write a Comment

See what people are saying...

  1. Avatar Edwin

    And what is the configuration for ipv6 HSRP with subinterfaces (example fa0/0.5 and fast0/0.10)

  2. Avatar John Gallagher

    Can you post the information from the client? How have you set up IPV6 on this system? In other words is it static and do you set a default route?

    I have multiple systems and I want them to route traffic to 2 different gateways. Only one standby group will be active on each of my 2 ISP routers and one group will be standby on each of the ISP routers. This is really easy to do with IPV4 but not sure how you would set a static IP for each IPV6 standby group.

    For example my engineering lab will default to my secondary ISP connection unless it fails. My Office connection will default to my primary ISP connection unless it fails. We have a very simple bgp configuration for both ipv4 and ipv6 using community strings to announce the office and lab networks with different weights. This helps to prevent engineering from stomping on our office internet when they are testing but also allows failover if one of the ISP connection goes down.

  3. Avatar Interface

    Good eye. This shows a positive thing I like about GNS3 – you can annotate your diagrams anywhere you want. However, it also introduces another place for me to make a typo when I annotate. The client machine should be 2001:db8:5::4 or 5 or anything but 1, 2, or 3. When I actually performed the lab, I did not use the ::3 address for the client, or DAD would have noticed. That’s Duplicate Address Detection, used by IPv6 to catch address conflicts. Thanks for the comment. It’s nice to know these blogs are being read with a keen eye for detail!

  4. Avatar MAT KU

    2001:db8:5::3 is IPv6 address conflict a mistake jere

  5. Pingback: Using Cisco’s EEM for path selection in IPv6 networks

  6. Pingback: How to Configure NTP for IPv6 on Cisco Networks

Share your thoughts...

Please fill out the comment form below to post a reply.