08-20-2021 12:15 AM
08-20-2021 03:10 AM - edited 08-20-2021 03:34 AM
Hi,
HSRP is not for load balancing, HSRP provides redundancy for a local subnet
HSRP allows to configure two or more routers as standby routers and only a one router as active router at a time.
All the routers in a single HSRP group shares a single MAC address and IP address
which acts a default gateway to the local network.
The Active router is responsible for forwarding the traffic. If it fails, the Standby router takes up all the responsibilities of the active router and forwards the traffic.
I attached a link that explains a bit about the protocol and provides examples of how to configure correctly:
08-20-2021 12:40 AM
Hello,
what are you after exactly ? HSRP does not really load balance, you can configure different HSRP groups (as outlined in the document linked below).
Explain what you want to know, or what does not work, and if possible, post the zipped Packet Tracer project (.pkt) file...
Load-Balancing with HSRP
https://flylib.com/books/en/2.286.1/load_balancing_with_hsrp.html
08-20-2021 01:30 AM - edited 08-20-2021 05:06 AM
Hello
Do you have addressing on both routers regards those two vlans if so you could provide some sort of traffic distribution but for proper LB you need to user GLBP no HSRP:
Example r1 is the primary for vlan 1 and secondary for vlan 2:
rtr 1
int x/x
ip address 1.1.1.1 255.255.255.0
standby 1 ip 1.1.1.254
standby 1 preempt
standby 1 priority 115
int x/x.2
enacapsulation dot1q 2
ip address 2.2.2.1 255.255.255.0
standby 2 ip 2.2.2.2.254
standby 2 preempt
standby 2 priority 95
rtr 2
int x/x
ip address 1.1.1.2 255.255.255.0
standby 1 ip 1.1.1.254
standby 1 preempt
standby 1 priority 95
int x/x.2
enacapsulation dot1q 2
ip address 2.2.2.2 255.255.255.0
standby 2 ip 2.2.2.2.254
standby 2 preempt
standby 2 priority 115
08-20-2021 03:10 AM - edited 08-20-2021 03:34 AM
Hi,
HSRP is not for load balancing, HSRP provides redundancy for a local subnet
HSRP allows to configure two or more routers as standby routers and only a one router as active router at a time.
All the routers in a single HSRP group shares a single MAC address and IP address
which acts a default gateway to the local network.
The Active router is responsible for forwarding the traffic. If it fails, the Standby router takes up all the responsibilities of the active router and forwards the traffic.
I attached a link that explains a bit about the protocol and provides examples of how to configure correctly:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide