INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

HSRP setup for Two routers one Stack

HSRP setup for Two routers one Stack

(OP)
Hello All



I am trying to setup a small infrastructure for a warehouse that is needing to have some redundancy.



I have two Router that are connecting into one Stack of switches.



The Switches are to be given an IP address of 10.10.10.200

with the primary router being 10.10.10.2 and the secondary 10.10.10.3



They need to have a VIP set up to being 10.10.10.1 were the switch will point to, so that should one router go down the other takes over. I do not want to spread the load between the two routers but have it going to the primary if that is the one that is up or the secondary should that be the one that is up.



I am unsure how to do this and have been looking over some Cisco forums and answers in regards to this and have been unable to do this. Could anyone be kind enough to offer some aid in regards to this



Many thanks

RE: HSRP setup for Two routers one Stack

router 1
ip address 10.10.10.2 255.255.255.0
standby 1 ip 10.10.10.1
standby 1 priority 110
standby 1 preempt


router 2
ip address 10.10.10.3 255.255.255.0
standby 1 ip 10.10.10.1
standby 1 preempt


RE: HSRP setup for Two routers one Stack

(OP)
thanks that really helped me get started

much appreciated

RE: HSRP setup for Two routers one Stack

Keep in mind the config listed will only watch for router failover, not link failure. To look for a link failure, you need to "monitor" the links
R1
interface GigabitEthernet0/0
description Connection to datacenter
ip address 10.1.212.252 255.255.255.248
duplex auto
speed auto
media-type rj45
standby 1 ip 10.1.212.254
standby 1 priority 105
standby 1 preempt
standby 1 track GigabitEthernet0/1.101


One router has a priority of the default and the other has something that decrement lower when it fails to trigger the failover.

In this case, the default is 100 and the decrement is 10 so the 105 would decrement to 95 which is less than 100 and trigger the failover when Gi0/0 fails.

To be even more sophisticated you can use IPSLA to actually monitor the far end via ping or monitor the route and use this as a trigger for failover. I had to do with when installing a pair of routers with coper to fiber converters. The converter would keep the router interface in an UP/UP state even if the fiber failed.. not a good thing. IPSLA allowed to me to ping the far side and if the fiber went down, to force a failover even though the interface said it was UP.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close