CCNP Certification / BCMSN Exam Tutorial: Getting going With HSRP
Described in RFC 2281, HSRP is often a Cisco-proprietary protocol in which routers are set into an HSRP router team. In conjunction with dynamic routing protocols and STP, HSRP is considered a significant-availability community service, because all a few have an Just about rapid cutover to the secondary route when the key route is unavailable.
Among the list of routers will likely be chosen as the principal (“Lively”, in HSRP terminology), Which Most important will cope with the routing although another routers are in standby, Completely ready to take care of the load if the primary router turns into unavailable. Within this trend, HSRP guarantees a higher community uptime, because it routes IP website traffic with no relying on an individual router.
The hosts employing HSRP to be a gateway don’t know the particular IP or MAC addresses of your routers while in the group. They’re speaking that has a pseudorouter, a “Digital router” made via the HSRP configuration. This Digital router may have a virtual MAC and IP adddress in addition.
The standby routers aren’t just likely to be sitting down there, nevertheless! By configuring numerous HSRP groups on one interface, HSRP load balancing can be achieved.
Right before we reach the more Superior HSRP configuration, we greater receive a simple 1 started! We’ll be using a two-router topology in this article, and Remember the fact that a person or both of those of these routers might be multilayer switches too. For relieve of studying, I’m likely to make reference to them only as routers.
R2 and R3 will the two 안전놀이터 be configured for being in standby group five. The virtual router could have an IP deal with of 172.twelve.23.10 /24. All hosts in VLAN 100 really should use this deal with as their default gateway.
R2(config)#interface ethernet0
R2(config-if)#standby five ip 172.twelve.23.10
R3(config)#interface ethernet0
R3(config-if)#standby 5 ip 172.twelve.23.ten
The exhibit command for HSRP is display standby, and it’s the primary command it is best to operate although configuring and troubleshooting HSRP. Allow’s run it on the two routers and Look at benefits.
R2#clearly show standby
Ethernet0 – Group five
Area point out is Standby, priority 100
Hellotime 3 sec, holdtime ten sec
Up coming hi there despatched in 0.776
Virtual IP handle is 172.12.23.10 configured
Energetic router is 172.12.23.three, precedence 100 expires in nine.568
Standby router is area
1 point out improvements, very last point out adjust 00:00:22
R3#present standby
Nearby state is Energetic, priority one hundred
Future hi there despatched in 2.592
Energetic router is nearby
Standby router is 172.twelve.23.two expires in eight.020
Virtual mac deal with is 0000.0c07.ac05
2 point out adjustments, previous point out change 00:02:08
We will see that R3 continues to be chosen as the Active router (“local point out is Lively”), the Digital router’s IP is 172.12.23.ten, and R2 will be the standby router.
There are some HSRP values that you’ll want to vary every now and then. What if we wish R2 to be the Lively router rather? Can we change the MAC address of your virtual router? I’ll answer People queries in another element of this HSRP tutorial!