CCNP Certification / BCMSN Examination Tutorial: Starting out With HSRP
Defined in RFC 2281, HSRP is a Cisco-proprietary protocol through which routers are place into an HSRP router team. In conjunction with dynamic routing protocols and STP, HSRP is taken into account a substantial-availability community services, considering that all a few have an Just about speedy cutover into a secondary path when the principal route is unavailable.
One of several routers is going to be picked as the first (“Lively”, in HSRP terminology), and that Major will tackle the routing while the other routers are in standby, ready to take care of the load if the primary router turns into unavailable. During this fashion, HSRP makes certain a significant community uptime, because it routes IP traffic with out counting on one router.
The hosts utilizing HSRP like a gateway don’t know the particular IP or MAC addresses of your routers during the team. They’re speaking which has a pseudorouter, a “Digital 안전놀이터 router” made with the HSRP configuration. This Digital router could have a virtual MAC and IP adddress too.
The standby routers aren’t just destined to be sitting there, while! By configuring many HSRP teams on an individual interface, HSRP load balancing might be accomplished.
Prior to we reach the greater Sophisticated HSRP configuration, we superior obtain a primary just one began! We’ll be using a two-router topology here, and Take into account that a single or each of those routers could be multilayer switches as well. For simplicity of reading, I’m planning to make reference to them only as routers.
R2 and R3 will both equally be configured to generally be in standby group 5. The virtual router can have an IP tackle of 172.12.23.10 /24. All hosts in VLAN a hundred ought to use this tackle as their default gateway.
R2(config)#interface ethernet0
R2(config-if)#standby 5 ip 172.twelve.23.ten
R3(config)#interface ethernet0
R3(config-if)#standby 5 ip 172.twelve.23.ten
The demonstrate command for HSRP is exhibit standby, and it’s the first command you need to operate although configuring and troubleshooting HSRP. Allow’s run it on the two routers and Review effects.
R2#exhibit standby
Ethernet0 – Group 5
Local state is Standby, priority 100
Hellotime 3 sec, holdtime ten sec
Up coming good day sent in 0.776
Virtual IP handle is 172.12.23.ten configured
Active router is 172.12.23.three, priority a hundred expires in 9.568
Standby router is regional
1 condition modifications, previous state change 00:00:22
R3#show standby
Nearby state is Lively, precedence one hundred
Following good day sent in 2.592
Active router is area
Standby router is 172.twelve.23.two expires in 8.020
Digital mac deal with is 0000.0c07.ac05
two condition adjustments, previous state transform 00:02:08
We could see that R3 continues to be picked since the Energetic router (“community condition is Lively”), the Digital router’s IP is 172.twelve.23.10, and R2 could be the standby router.
There are a few HSRP values that you choose to’ll need to have to alter every so often. Let's say we wish R2 being the Active router as an alternative? Can we change the MAC handle in the virtual router? I’ll remedy These queries in the next aspect of this HSRP tutorial!