cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
2002
Views
0
Helpful
3
Replies

How to configure HSRP between Two 2900 Cisco Router

Youssef_Joe
Level 1
Level 1

Hi Guys 

I have Two Cisco Router r1,r2 both of them have the same getaway , i need to Achieve the high availability between the two so if r1 down .the r2 should be up and replace r1 

see attached the network design 

 

FYI R1 and R2 Shouid Be have The same getway 

thanks 

3 Replies 3

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Let's assume that R1 should be primary and R2 secondary.
Let's also assume your subnet is 192.168.0.0/24 with R1 having ip 192.168.0.2 and R2 has ip 192.168.0.3 and VIP (hsrp) is 192.168.0.1

On R1:

Interface gi0/0
Ip address 192.168.0.2 255.255.255.0
standby 1 ip 192.168.0.1
standby 1 preempt
Standby 1 priority 110

On R2:
Interface gi0/0
Ip address 192.168.0.3 255.255.255.0
standby 1 ip 192.168.0.1
standby 1 preempt
Standby 1 priority 90


This is a quick and simple setup. There are other options you can configure like password, decrement based on ipsla...


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Additional to Franscesco's comment, these routers must be able to communicate between them, so you could configure the same vlan on both switches and pass it between them through a trunk interface or use a routing protocol between the devices as well.

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hello,

in addition to the Julio's and Francesco's posts, and if your routers support it, you could also consider using GLBP, the advantage being that GLBP load balances traffic over both routers (as opposed to HSRP, where one of the routers is basically in sleep mode, with unused bandwidth). Here is a very basic sample configuration:

 

R1

interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 glbp 1 ip 192.168.1.254

 

R2

interface FastEthernet0/0
 ip address 192.168.1.2 255.255.255.0
 glbp 1 ip 192.168.1.254