Cisco HSRP (like VRRP) – Redundant gateway router configuration
You’ve got two Cisco routers, and two links to a remote site. How do you make your hosts use the backup when needed? One method is HSRP.
HSRP stands for Hot Standby Router Protocol, and what it does is create a virtual IP address (which hosts will use as the gateway address). This virtual address is free to move between configured routers as needed.
Some background for this config:
Local Subnet: 192.168.2.0/24
Desired gateway address: 192.168.2.1
Both routers and their hosts must be on the same layer 2 network.
On Router A:
ip address 192.168.2.2 255.255.255.0
standby 1 ip 192.168.2.1
standby 1 preempt
standby 1 priority 110
standby 1 authentication myrouter
standby 1 track serial 0/0
The priority number determines which router will normally have the virtual IP address, higher numbers win.
The track statement tells the router to give up the virtual address if the serial 0/0 interface goes down.
Router B:
ip address 192.168.2.3 255.255.255.0
standby 1 ip 192.168.2.1
standby 1 preempt
standby 1 priority 100
standby 1 authentication myrouter
standby 1 track serial 0/1
That’s all there is to it! Router A will host the virtual IP address, and if the router or it’s serial port goes down, Router B will assume control of the virtual address, and traffic will flow over it’s serial link.








x said on December 31, 2008
good, but not too details on the explanation
arun said on May 19, 2009
VER GOOD AND USEFUL PA
sudhakar said on July 6, 2009
what is diffence between HSRP and VRRP
Name said on July 24, 2009
hsrp is cisco proprietary and vrrp is not.
Karwan said on November 29, 2011
this is CCNP Level, it is really cool to learn. I have studied it in New Horizon for training.