CCNP Certification / BCMSN Examination Tutorial: Getting Started With HSRP
Defined in RFC 2281, HSRP is actually a Cisco-proprietary protocol through which routers are place into an HSRP router team. As well as dynamic routing protocols and STP, HSRP is considered a substantial-availability community service, considering the fact that all three have an Pretty much fast cutover into a secondary route when the primary route is unavailable.
One of the routers will likely be selected as the first (“Lively”, in HSRP terminology), and that Major will cope with the routing while the opposite routers are in standby, Prepared to handle the load if the primary router becomes unavailable. During this vogue, HSRP ensures a high network uptime, because it routes IP traffic without counting on just one router.
The hosts working with HSRP to be a gateway don’t know the particular IP or MAC addresses of your routers in the team. They’re communicating that has a pseudorouter, a “virtual router” developed because of the HSRP configuration. This virtual router will likely have a virtual MAC and IP adddress too.
The standby routers aren’t just likely to be sitting there, nevertheless! By configuring a number of HSRP teams on a single interface, HSRP load balancing is usually achieved.
In advance of we get to the more Superior HSRP configuration, we far better obtain a primary just one begun! We’ll be employing a two-router topology in this article, and keep in mind that one or the two of those routers may very well be multilayer switches also. For ease of looking through, I’m about to confer with them only as routers.
R2 and R3 will the two be configured to generally be in standby team 5. The Digital router will likely have an IP deal with of 172.12.23.ten /24. All hosts in VLAN 100 should use this handle as their default gateway.
R2(config)#interface ethernet0
R2(config-if)#standby five ip 172.12.23.ten
R3(config)#interface ethernet0
R3(config-if)#standby five ip 172.12.23.ten
The present command for HSRP is demonstrate standby, and it’s the 1st command it is best to run when configuring and troubleshooting HSRP. Let’s run it on both routers and Assess outcomes.
R2#display standby
Ethernet0 – Group five
Local condition is Standby, priority 100
Hellotime 3 sec, holdtime 10 sec
Upcoming hi sent in 0.776
Virtual IP deal with is 172.twelve.23.ten configured
Active router is 172.12.23.3, precedence a hundred expires in 9.568
Standby router is neighborhood
1 state improvements, previous condition change 00:00:22
R3#clearly show standby
Neighborhood point out is Lively, precedence one hundred
Following howdy despatched in 2.592
Energetic router is neighborhood
Standby router is 172.12.23.two expires in 8.020
Digital mac address is 0000.0c07.ac05
2 condition adjustments, past point out improve 00:02:08
We could see that R3 has long been selected as the Active router (“neighborhood state is Lively”), the Digital router’s IP is 172.twelve.23.10, and R2 may be the standby router.
There are 토토먹튀 several HSRP values that you choose to’ll will need to alter occasionally. What if we would like R2 for being the Active router as a substitute? Can we change the MAC deal with from the virtual router? I’ll reply All those queries in the next component of this HSRP tutorial!