Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How do I configure Hot Standby Router Protocol (HSRP) to fail over if my WAN interface goes down?

I have two Cisco routers running Cisco IOS Software <sup></sup>12.0 and 12.1. I have a diverse T, meaning I have separate ISPs for each router. If one ISP goes down, the other ISP is used. This is done with a Border Gateway Protocol (BGP) configuration that the ISP provides for connections.

What I need to accomplish is a fail over on the internal LAN. I need HSRP to fail over if the active router loses its connection to the ISP.

1 REPLY
Anonymous
N/A

Re: How do I configure Hot Standby Router Protocol (HSRP) to fai

The following is the sample configuration for your case:

Assuming RouterA will be the primary gateway for your internal LAN traffic, if it's ethernet card goes down, RouterB will take over to be the gateway of internal LAN. On RouterA, it also monitors the wan link serial interface 1, if it goes down, then the priority gets decemented by 20, so RouterB will take over to be falut tolerant. There is currently no method for HSRP to monitor IP routes, HSRP will only track link failure.

hostname RouterA

!

interface ethernet 0

ip address 1.0.0.1 255.0.0.0

standby 1 ip 1.0.0.3

standby 1 preempt

standby 1 priority 110

standby 1 track serial 1 20

interface serial 1

ip address 20.20.20.1 255.255.255.0

!

The following is the configuration for Router B:

hostname RouterB

!

interface ethernet 0

ip address 1.0.0.2 255.0.0.0

standby 1 ip 1.0.0.3

standby 1 preempt

1470
Views
0
Helpful
1
Replies