HSRP - Hot standby Routing Protocol.
•
Cisco proprietary protocol only works on cisco
routers and switches.
•
One active router and one standby router
possible in a group.
•
Active router will be chosen based on priority (
default priority – 100, tie in priority, highest Ip wins).
•
Preemption allows a higher priority router to
take over if it fails and come back online after some time.
•
Pre-emption disabled by default.
•
Upto 255 groups possible for load-balancing
method.
•
Virtual mac 0000.0c07.ACxx. where xx is the
hex-decimal no. of HSRP group.
•
Multicast IP for hellos – 224.0.0.2 in version 1
and 224.0.0.102 in version-2.
•
HSRP version 1 supports up to 255 groups and
IPV4.
•
HSRP version 2 support up to 4095 and Ipv4 and
ipv6 both supported.
•
Device tracking can be enabled to track the
interface or route and perform a failover.
Configure Lab topology as per given routers.
Test a lab 1 with basic without preemption.
- Shutdown Active router and observe standby router takes place of active router.
- When active router comes back again it cannot be a active as preempt is disabled.
- Enable preempt only all both routers.
- shutdown active router and observe the behaviour.
- bring back the active router and observe the Behavious.
R-2 HSRP priority - 120
R-3 HSRP priority - 200 ( dont add this router initially, we need to add this later).
- Bring the R1 and R2 up and observe R1 should become Active and R2 standby as per priority.
- now bring the R3 up and observer R3 takes the role of standby even with preempt disabled.
- shutdown R1 eth0/1 and observer R3 become active and R2 become standby.
- Need to be carefull when adding new router in HSRP if not properly configured for lan and wan side and priority then it may bring the network down.
- only one active and one standby router possible and remaining all would be in a listen mode.
- Make sure to configure WAN/Destination tracking for failover.
Comments
Post a Comment