

The packets will be sent continuously from the router to the destination IP in order to check reachability of the destination. The following commands will configure a Service Level Agreement (SLA) operation which will send ICMP ECHO packets to destination IP 1.1.1.100 from source interface Ethernet0/0 (which is the WAN interface of ROUTER1).

Configurationįirst configure the tracking mechanism on the active router. This means that if a destination IP stops responding to ICMP requests, then HSRP will trigger a failover condition and the standby router will take over and start passing traffic. In our example we will configure reachability tracking using SLA. HSRP supports different types of tracking, such as interface tracking, routing table tracking, reachability tracking etc. The limitation of the above though is that you can have only one ISP which must provide an Ethernet connectivity for the WAN links.Īnother important aspect of the configuration that we’ll implement is “reachability tracking”.

This address will serve as the default gateway address for all hosts on the LAN. Interface FE0/1 on RTR-A will have a physical IP address 10.10.10.1 and interface FE0/1 on RTR-B will have a physical IP address 10.10.10.2.Īn HSRP address 10.10.10.3 will be also configured on both routers. From the diagram above, HSRP will be running between interfaces FE0/1 on the two LAN routers. Let’s see a diagram below to explain the first network example case:įirst of all, HSRP must be configured between interfaces that have Layer2 connectivity between them. In this article we will discuss two different network scenarios where HSRP can be used to provide redundancy between two paths from an internal LAN network towards the outside world (WAN or Internet). No matter which router gateway is up and running (either the primary or the secondary), the virtual HSRP address will stay the same. Using HSRP, the two routers will have a physical IP address configured on their LAN-facing interface, but they will have also a Virtual (HSRP address) which will be used as the default gateway address for hosts on the LAN. With HSRP we can have two gateway routers, one active and one standby, which will provide resiliency regarding the default gateway address. If that single default gateway fails, then communication outside the LAN is not possible. In a Local Area Network (LAN), all hosts (PC, Servers etc) have a single default gateway address configured which is used to route packets outside the LAN. The standard router redundancy protocol which is used by other vendors is VRRP (Virtual Router Redundancy Protocol), however Cisco has created its own proprietary protocol (HSRP) which works very well on Cisco routers. HSRP (Hot Standby Router Protocol) is the Cisco proprietary protocol for providing redundancy in router networks.
