CCNP Certification / BCMSN Exam Tutorial: Getting Started With HSRP
Described in RFC 2281, HSRP is often a Cisco-proprietary protocol during which routers are put into an HSRP router group. Coupled with dynamic routing protocols and STP, HSRP is considered a high-availability network services, because all a few have an Practically fast cutover into a secondary route when the principal path is unavailable.
One of the routers might be selected as the first (“Energetic”, in HSRP terminology), Which Key will cope with the routing whilst one other routers are in standby, All set to deal with the load if the primary router results in being unavailable. With this style, HSRP ensures a substantial community uptime, because it routes IP visitors devoid of counting on just one router.
The hosts utilizing HSRP like a gateway don’t know the actual IP or MAC addresses of your routers from the group. They’re communicating that has a pseudorouter, a “virtual router” designed by the HSRP configuration. This virtual router will have a Digital MAC and IP adddress also.
The standby routers aren’t just gonna be sitting there, however! By configuring a number of HSRP groups on just one interface, HSRP load balancing is often achieved.
Prior to we reach the more Superior HSRP configuration, we better obtain a essential one began! We’ll be using a two-router topology below, and Understand that one or both of such routers can be multilayer switches also. For simplicity of examining, I’m likely to confer with them only as routers.
R2 and R3 will both of those be configured for being in standby group 5. The virtual router will likely have an IP address of 172.twelve.23.10 /24. All hosts in 토토먹튀 VLAN one hundred should really use this deal with as their default gateway.
R2(config)#interface ethernet0
R2(config-if)#standby 5 ip 172.12.23.ten
R3(config)#interface ethernet0
R3(config-if)#standby 5 ip 172.twelve.23.10
The present command for HSRP is display standby, and it’s the initial command it is best to run although configuring and troubleshooting HSRP. Allow’s run it on equally routers and Examine effects.
R2#present standby
Ethernet0 – Team five
Regional condition is Standby, priority one hundred
Hellotime 3 sec, holdtime 10 sec
Upcoming hi despatched in 0.776
Digital IP address is 172.twelve.23.ten configured
Active router is 172.twelve.23.three, priority one hundred expires in nine.568
Standby router is area
1 point out changes, last state transform 00:00:22
R3#exhibit standby
Local state is Lively, precedence a hundred
Following hi there despatched in two.592
Lively router is nearby
Standby router is 172.12.23.2 expires in eight.020
Digital mac tackle is 0000.0c07.ac05
two point out alterations, previous state adjust 00:02:08
We could see that R3 is selected as being the Lively router (“local point out is Energetic”), the virtual router’s IP is 172.twelve.23.10, and R2 may be the standby router.
There are many HSRP values which you’ll need to alter every so often. What if we would like R2 to become the Lively router instead? Can we alter the MAC address of the virtual router? I’ll response Individuals questions in the following element of this HSRP tutorial!