INC-009 - HSRP Failover Failure

Root Cause Analysis Lab - HSRP troubleshooting, first-hop redundancy analysis, packet capture, failover testing, monitoring, and post-remediation verification.

Incident Summary

Incident INC-009
Category Network / HSRP
Protocol HSRP
Analysis Wireshark / tcpdump
Redundancy First-Hop Failover
Status Resolved

A first-hop redundancy failure prevented the expected HSRP virtual gateway from remaining available when the primary router failed. Investigation showed that R1 and R2 were configured with different HSRP virtual IP addresses. R1 used 10.10.10.1 while R2 was incorrectly configured with 10.10.10.11. When R1 failed, R2 transitioned to the Active HSRP state, but for the incorrect virtual IP. The client continued using 10.10.10.1 as its expected default gateway and could not reach that VIP. R2 was corrected to use 10.10.10.1, after which HSRP failover and client gateway reachability were successfully verified.

Initial Symptoms

The investigation began by establishing the normal gateway behavior and verifying connectivity to both physical router addresses before testing the HSRP failover condition.

Incident

ServiceNow-Style Ticket

The incident was documented and tracked using the network operations workflow.

INC-009 ServiceNow-style incident ticket
Gateway

PC1 Default Gateway

The client was inspected to establish the configured default gateway before the failover test.

PC1 default gateway
Connectivity

Ping to R1

PC1 successfully reached R1 at 10.10.10.2 during the initial connectivity verification.

PC1 ping to R1
Connectivity

Ping to R2

PC1 successfully reached R2 at 10.10.10.3 during the initial connectivity verification.

PC1 ping to R2

R1 HSRP Investigation

R1 was inspected to establish the intended HSRP configuration and determine which virtual IP address was configured on the primary router.

Configuration

R1 Interface Configuration

R1's LAN interface was configured with physical address 10.10.10.2 and HSRP virtual IP 10.10.10.1.

R1 HSRP interface configuration
HSRP

show standby brief

The HSRP summary showed R1 operating as the Active gateway with priority 110 and the expected virtual IP of 10.10.10.1.

R1 show standby brief
HSRP

show standby

Detailed HSRP state was inspected to verify the Active router, virtual IP, priority, and HSRPv2 operation.

R1 show standby

R2 HSRP Configuration Investigation

R2 was then examined to determine whether it was configured to participate in the same HSRP virtual gateway as R1.

Configuration

R2 Broken Configuration

R2's interface configuration showed a different HSRP virtual IP from the one configured on R1.

R2 broken HSRP configuration
HSRP

R2 HSRP Summary - Broken

R2 was in the Standby state while R1 was Active, but the output showed that R2's configured virtual IP was 10.10.10.11 rather than 10.10.10.1.

R2 broken HSRP summary
HSRP

R2 Detailed HSRP State

Detailed output confirmed that R2 was using virtual IP 10.10.10.11 and recognized R1 at 10.10.10.2 as the Active router.

R2 broken HSRP state

Root Cause

The HSRP redundancy configuration was inconsistent between R1 and R2. The routers were not configured with the same HSRP virtual IP address.

R1 Baseline Configuration

interface GigabitEthernet0/0
 description USER-LAN-to-SW1
 ip address 10.10.10.2 255.255.255.0
 standby version 2
 standby 1 ip 10.10.10.1
 standby 1 priority 110
 standby 1 preempt
 no shutdown

R2 Broken Configuration

interface GigabitEthernet0/0
 description USER-LAN-to-SW1
 ip address 10.10.10.3 255.255.255.0
 standby version 2
 standby 1 ip 10.10.10.11
 standby 1 priority 100
 standby 1 preempt
 no shutdown

R1 used 10.10.10.1 as the HSRP virtual IP, while R2 incorrectly used 10.10.10.11.

Because R2 was configured with the different virtual IP 10.10.10.11, it could not assume the virtual gateway 10.10.10.1 used by the client. When R1 failed, R2 transitioned to the Active state, but it became Active for the incorrect virtual IP. The client therefore continued attempting to resolve 10.10.10.1 and could not reach its expected default gateway.

The priority values were appropriate for the intended roles: R1 had priority 110 and R2 had priority 100. The configuration problem was the mismatched virtual IP rather than the priority relationship.

View R1 Baseline Configuration View R2 Broken Configuration

HSRP Failover Test

R1 was taken offline to simulate failure of the primary gateway and determine whether R2 could provide the expected client-facing virtual gateway.

Failure Simulation

R1 HSRP State After Shutdown

R1 was shut down to simulate failure of the primary first-hop gateway.

R1 HSRP state after shutdown
Failover Failure

R2 Becomes Active

After R1 failed, R2 transitioned to the Active state. However, R2 was still configured with the incorrect virtual IP of 10.10.10.11.

R2 HSRP active after R1 failure
HSRP Verification

R2 HSRP Summary After Failure

The HSRP summary confirmed that R2 was Active while the virtual IP remained 10.10.10.11.

R2 HSRP summary after R1 failure
Client Impact

VIP Ping Failure

PC1 could not reach the expected HSRP virtual IP 10.10.10.1 while R1 was unavailable.

PC1 ping to HSRP virtual IP failure

Packet Capture Analysis

Packet capture analysis was used to correlate HSRP control-plane behavior and ARP resolution with the gateway failure. The captures showed that the client continued attempting to resolve the expected virtual gateway, 10.10.10.1, while R2 was operating with the incorrect virtual IP 10.10.10.11.

tcpdump

HSRP / ARP Traffic Capture

tcpdump was used to capture traffic generated during the HSRP failure investigation.

tcpdump HSRP and ARP traffic
Wireshark

HSRP Packet Overview

Wireshark was used to inspect HSRPv2 control traffic exchanged between the routers during the failed state.

Wireshark HSRP overview
HSRPv2

HSRP Hello Details

HSRPv2 hello packets were inspected to identify the participating routers and their redundancy state.

Wireshark HSRPv2 hello details
ARP

Client ARP Request for Expected VIP

During the failed state, the client repeatedly issued ARP requests asking for 10.10.10.1, the expected HSRP virtual gateway.

Wireshark ARP requests for 10.10.10.1
ARP Failure

No Expected VIP Response

The capture shows repeated ARP requests for 10.10.10.1 without the expected response for that VIP. This correlated with the client's inability to reach the expected HSRP virtual gateway after R1 failed.

Wireshark showing no expected ARP reply for 10.10.10.1

Monitoring Correlation

Splunk

Incident Log Evidence

Splunk was reviewed for supporting evidence associated with the HSRP failure.

Splunk HSRP incident evidence

Remediation

R2's HSRP virtual IP was corrected from 10.10.10.11 to 10.10.10.1 to match the HSRP virtual gateway configured on R1 and used by the client.

Incorrect Configuration

standby 1 ip 10.10.10.11

Corrected Configuration

interface GigabitEthernet0/0
 description USER-LAN-to-SW1
 ip address 10.10.10.3 255.255.255.0
 standby version 2
 standby 1 ip 10.10.10.1
 standby 1 priority 100
 standby 1 preempt
 no shutdown

The correction placed R2 into the same HSRP virtual gateway configuration as R1 while retaining the intended lower priority of 100.

Configuration Fix

R2 Configuration Fix

The remediation command sequence was captured after correcting the HSRP virtual IP.

R2 HSRP configuration fix
Configuration Verification

R2 Interface Configuration - Fixed

The corrected R2 interface configuration was verified after the change.

R2 corrected HSRP interface configuration

Post-Remediation Verification

The corrected configuration was tested while R1 remained unavailable to confirm that R2 could provide the expected virtual gateway.

HSRP

R2 Active with Correct VIP

R2 was verified in the Active state while R1 remained down. The HSRP virtual IP was now correctly configured as 10.10.10.1.

R2 active with corrected HSRP virtual IP
Client Verification

VIP Ping Successful

PC1 successfully reached the HSRP virtual IP after R2 was corrected.

PC1 successfully pinging HSRP VIP
ICMP

Echo Request / Reply

Wireshark confirmed successful ICMP request and reply traffic after remediation.

Wireshark ICMP echo request and reply
ARP

VIP ARP Reply

ARP verification confirmed that the HSRP virtual gateway was responding after remediation.

Wireshark ARP reply for HSRP VIP
HSRPv2

Post-Remediation HSRP Keepalives

The working capture shows HSRPv2 hello advertisements from both R1 at 10.10.10.2 and R2 at 10.10.10.3. During normal operation, R1 is Active and R2 is Standby, demonstrating continued HSRP control-plane operation after the configuration was corrected.

Wireshark HSRPv2 keepalives after remediation
Splunk

Post-Failover Log Verification

Splunk was reviewed after remediation to correlate the recovered HSRP state with the incident timeline.

Splunk after HSRP failover

Verification Result

The verification sequence demonstrated recovery of the first-hop gateway. R2 became Active while R1 remained unavailable, R2 used the corrected virtual IP 10.10.10.1, and PC1 successfully reached the virtual gateway. Wireshark confirmed successful ARP and ICMP exchanges, while the post-remediation capture showed continued HSRPv2 hello advertisements from both routers during normal operation.

Incident Closure

The HSRP failover failure was resolved and validated through configuration inspection, controlled failure testing, packet analysis, client connectivity testing, and log correlation.

Incident Closure

ServiceNow Resolution Evidence

INC-009 ServiceNow resolved incident

Investigation Methodology

The incident followed a structured first-hop redundancy troubleshooting workflow:

  1. Establish the client's default gateway.
  2. Verify connectivity to both physical routers.
  3. Inspect R1's HSRP configuration and state.
  4. Inspect R2's HSRP configuration and state.
  5. Compare the HSRP virtual IP configuration between peers.
  6. Identify the virtual IP mismatch.
  7. Simulate failure of the primary HSRP router.
  8. Verify R2's HSRP state after R1 failure.
  9. Verify client impact to the expected virtual gateway.
  10. Analyze HSRP and ARP packet captures.
  11. Correct the R2 HSRP virtual IP.
  12. Verify R2 as Active with the corrected virtual IP.
  13. Verify client connectivity to the virtual IP.
  14. Confirm ARP and ICMP behavior with Wireshark.
  15. Confirm continued HSRPv2 control traffic.
  16. Correlate recovery with Splunk evidence.
  17. Document and close the incident.

Technical Evidence

The complete raw evidence is maintained in the GitHub repository.

View Full Incident Repository → View PCAPs View Configurations
R1 Baseline R2 Broken Configuration R2 Fixed Configuration