arsalan921 wrote: » Hello All, want to ask one question regarding HSRP... we know that we can do load balancing with hsrp, for load balancing atleast two grops needed... now in ccnp book i have only seen example of 2 vlans... for 1 vlan Router R1 can be used and for 2nd vlan Router R2 can be used.... now in real if we have for example 10 vlans ... vlan 1,2,3,4,5...10 ... and i want first 5 vlans ( vlan 1 to 5) to use R1 and other 5 vlans ( vlan 6 to 10) to use R2... all 10 vlans have different subnets... how many groups needed ? 2 or more ? and what will be default gateway ? from which vlans ?
tndfr wrote: » HSRP is not designed for this kind of scenario...
ConstantlyLearning wrote: » Can you expand on this please? Cheers.
arsalan921 wrote: » @tndfr... thank you so much for your reply man... from your reply it is clear that for load balancing using hsrpnumber of groups in hsrp = number of vlans to keep it simple. lets have 4 vlans (instead of 10)... 2 for R1 and 2 for R2 R1 ==> Active router for vlans 1 and 2 and Standby Router for vlans 3 and 4 R2 ==> Active router for vlans 3 and 4 and Standby Router for vlans 1 and 2 vlan1=192.168.1.0/24 vlan2=192.168.2.0/24 vlan3=192.168.3.0/24 vlan4=192.168.4.0/24 now the network Diagram you can imagine in your mind like... R1(fa0/1) and R2(fa0/2) connected to Layer-2 Switch(fa0/1 to R1 and fa0/2 to R2). R1(serial0/0) and R2(serial0/0)are connected to R3(s0/0 to R1 and s0/1 to R2) On Switch there are 4 workstations in 4 different vlans. 1 in each Vlan. R3 / \ R1 R2 \ / Switch | | | | 1 2 3 4 one question here, do we need to give ip address at the ethernet interfaces of R1 and R2 which are connected to layer 2 switch. i have seen some examples in which ip address is assigned to ethernet interfaces and some in which ip address is assigned to only vlan interfaces.. ========================hsrp configuration on R1 ======================== interface vlan 1 ip address 192.168.1.1 255.255.255.0 standby 1 ip 192.168.1.10standby 1 priority 200 standby 1 preempt interface vlan 2 ip address 192.168.2.1 255.255.255.0 standby 2 ip 192.168.2.10standby 2 priority 200 standby 2 preempt interface vlan 3 ip address 192.168.3.1 255.255.255.0 standby 3 ip 192.168.3.10standby 3 priority 100 standby 3 preempt interface vlan 4 ip address 192.168.4.1 255.255.255.0 standby 4 ip 192.168.4.10standby 4 priority 100 standby 4 preempt ========================hsrp configuration on R2 ======================== interface vlan 1 ip address 192.168.1.2 255.255.255.0 standby 1 ip 192.168.1.10standby 1 priority 100 standby 1 preempt interface vlan 2 ip address 192.168.2.2 255.255.255.0 standby 2 ip 192.168.2.10standby 2 priority 100 standby 2 preempt interface vlan 3 ip address 192.168.3.2 255.255.255.0 standby 3 ip 192.168.3.10standby 3 priority 200 standby 3 preempt interface vlan 4 ip address 192.168.4.2 255.255.255.0 standby 4 ip 192.168.4.10standby 4 priority 200 standby 4 preempt is this configuration correct ?