What happens if your Internet router goes down and you lose all Internet access? Is that acceptable for your organization? You can probably get away with it for about two minutes, but you need to have a better plan than just calling a support desk.
That's why it's important to include redundancy in your network. Consider adding a backup router to your current router that can take over at a moment's notice. All you need is the hardware, and the Cisco software can take care of the rest. Let's examine how to configure this using the Hot Standby Router Protocol (HSRP).
What is HSRP?
HSRP is a Cisco proprietary protocol for redundancy. It provides nearly 100 percent router availability and redundancy. So, if one router goes down, a backup router takes over the routing functions of the primary one.
However, there are other available industry protocols supported by Cisco. One industry standard is the Virtual Router Redundancy Protocol (VRRP).
Another HSRP alternative is the Gateway Load Balancing Protocol (GLBP), another Cisco proprietary solution.
A sample network
Before we discuss how to configure HSRP, let's take a look at the network we'll use for this example. To help you better understand how HSRP works, here's a basic network diagram:
However, that IP address doesn't point to a real device; instead, it serves as the virtual IP address for whichever router is the primary.
How does HSRP work?
How do you configure HSRP?
- Configure the IP address on the Ethernet interface.
- Configure the standby IP address.
- Configure standby preempt. (With preempt, Router 1 will always be the primary router as long as it's available.)
- Configure the IP address on the Ethernet interface.
- Configure the standby IP address.
- Configure standby priority to be less than 100. (In this case, it's 99.)
(show running-config output) interface Ethernet0/0 ip address 10.1.1.1 255.255.255.0 standby ip 10.1.1.3 standby preempt Router1# show standby Ethernet0/0 - Group 0 State is Active 2 state changes, last state change 00:00:29 Virtual IP address is 10.1.1.3 Active virtual MAC address is 0000.0c07.ac00 Local virtual MAC address is 0000.0c07.ac00 (default) Hello time 3 sec, hold time 10 sec Next hello sent in 0.692 secs Preemption enabled Active router is local Standby router is 10.1.1.2, priority 99 (expires in 8.097 sec) Priority 100 (default 100) IP redundancy name is "hsrp-Et0/0-0" (default) Router1#
(show running-config output) interface Ethernet0/0 ip address 10.1.1.2 255.255.255.0 standby ip 10.1.1.3 standby priority 99 Router2# show standby Ethernet0/0 - Group 0 Local state is Standby, priority 99 Hellotime 3 sec, holdtime 10 sec Next hello sent in 1.014 Virtual IP address is 10.1.1.3 configured Active router is 10.1.1.1, priority 100 expires in 7.159 Standby router is local 4 state changes, last state change 00:02:02 Router2#
0 comments:
Post a Comment