Answers: HSRP 2

Wendell
By Wendell February 10, 2016 09:05

This latest #HSRP lab requires you to think about the variety of optional settings and choose which non-default settings need to be configured. For instance, how do you control which router becomes primary, and whether that router preempts the other router if it fails and later recovers? This latest lab works through those options. As always, check the original lab post first, and then check your answers here in the matching answers post.

Figure 1: HSRP Design, One LAN Switch

Figure 2: HSRP Design, Two LAN Switches

 

Answers

Example 5: R1 Config

Example 6: R2 Config

 

Commentary

Hot Standby Router Protocol (HSRP) is a Cisco proprietary first hop redundancy protocol (FHRP) that enables hosts to have redundant gateways. This is important because many LANs are configured with a single gateway that is used by all devices. If this single gateway were to fail, then all of the devices are left without access to external networks (not on the local LAN).

With HSRP, multiple routers reference a single IP address to be used as the default gateway. One router actively provides the data plane function of receiving packets from hosts, while the other waits to take over if the first router fails.

First, look at the two IP addresses in subnet 172.16.100.120/29 that we know about from the router configuration: 172.16.100.122 and .123. Then look at the figure, and see that that two PCs have been assigned 172.16.100.124 and 172.16.100.125. That leaves two usable addresses: the .121 and .126 address. (The 172.16.100.120/29 subnet has subnet ID 172.16.100.120, subnet broadcast address 172.16.100.127, with the addresses between those numbers available for use.) So .126 is available, and is the highest IP address in the subnet.

So the standby 20 ip 172.16.100.126 command sits in both routers’ configurations, under interface G0/1.

For the requirements to name the HSRP group and to set the HSRP version, two obvious commands on each router fill those requirements: the standby 20 name HSRPLab command and the standby version 2 command.

The default priority (which determines which router will become active) is 100. Per the directions, R1 has its HSRP priority set to 110 using the standby 20 priority 110 command, with R2’s value set to 90 with the standby 20 priority 90 command.

Finally, the lab asks (with subtle wording) to make sure R1 does not preempt R2 if it fails and then recovers. HSRP uses a default of no standby 20 preempt, that is, by default HSRP does not preempt. So the R1 configuration did not need the addition of a no standby 20 preempt command.

Serial Config 2
HSRP 2
Wendell
By Wendell February 10, 2016 09:05
Write a comment

No Comments

No Comments Yet!

Let me tell You a sad story ! There are no comments yet, but You can be first one to comment this article.

Write a comment
View comments

Write a comment

Comment; Identify w/ Social Media or Email

Subscribe

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Search

Categories