Last Updated on August 7, 2021 by Admin 3
How is load balancing achieved when implementing HSRP?
- By configuring multiple gateways on the routers
- By using multiple HSRP groups
- By configuring the same priority on all HSRP group members
- By configuring multiple virtual router addresses
When implementing Hot Standby Router Protocol (HSRP), load balancing is achieved by using multiple HSRP groups. Routers configured for HSRP can belong to multiple groups and multiple VLANs. By configuring one group to be active for Router A and standby for Router B, and the second group to be active for Router B and standby for Router A, both routers A and B can be used to pass traffic, as opposed to one sitting idle.
Load balancing cannot be achieved by configuring multiple gateways on the routers. The routers have one IP address. Each group will have a virtual IP address. In the configuration below, line 4 configures the virtual IP address, and is therefore the address that clients will use as their gateway:
interface fastethernet 0/1 no switchport ip address 192.168.5.5 255.2555.255.0 standby 1 ip 192.168.5.10
Load balancing cannot be achieved by configuring the same priority on all HSRP group members. If that were done, one of the routers would become active and the others would remain inactive standbys. The active router will be the one with the highest IP address.
Load balancing cannot be achieved by configuring multiple virtual router addresses. Each HSRP group can only have one virtual address.
Configure, verify, and troubleshoot basic HSRP