cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2638
Views
1
Helpful
22
Replies

how do i create 2 sub interfaces for inter vlan routing with HSRP

tyr668
Level 1
Level 1

tyr668_0-1688116399899.png

Hi guys, 

Let's say if i have 2 vlans (vlans 10 , 20)  and i require inter vlan routing.

i want to make HSRP with standby at right side of the router (g0/1), active on router (g0/0). my configuration is to go into each subinterface (on both side g0/1.10, g0/0.10) to put in the IP for the VLAN 10 subnet and input standby IP. But when I try to input int g0/0.10 ip address 192.64.0.66/27 , it says it overlaps with int g0/1.10 ip address 192.64.0.67/27 . am i doing it wrongly ?

or how should i go about doing HSRP with inter VLAN routing in this scenario? Been pulling my hair trying to understand this scenario. if you guys were to redesign this scenario, which requires both HSRP for redundancy and inter vlan for vlan 10 and 20, how would you guys design it ? Many thanks guys.. 

 

 

 

22 Replies 22

Hey @tyr668 

Did you manage to complete the lab? I have a file working in case you want to compare.

If you aware about L3SW down' 

Only interconnect access SW to both L3SW (cross connection) so that access SW have l2 path to both l3sw.

tyr668_0-1688116399899.png

 Does this means it's considered a well-designed topology in a scenario where just one L3 switch dies down? 

Sure Yes.
the traffic from Access SW will shift from go to die L3SW to active L3SW. the traffic will never drop. 
below link is one example for same topology I recommend, and there are many if you search.
http://gponsolution.com/hsrp-tuning-example.html

 

it Indeed overlapping 
change the IP in one subinterface 
 192.64.0.66/27 and  192.64.0.67/27 is under one subnet 192.64.0.64/27
Screenshot (869).png

Hi bro , but I thought I have to use the same subnet of vlan 10 which is 192.64.0.64/27? If I’m using different subnet , will it affect my standby for vlan 10 ? Because standby must be in same subnet I suppose..

first drink cup of tea relax and 
start from zero 
what you mention is correct ACTIVE and STANDBY must share same Subnet for same VLAN, 
so only re-check IP you enter in each subinterface for each routers 
I think you misconfig one subinterface 
MHM

Joseph W. Doherty
Hall of Fame
Hall of Fame

We really need much clarification what you have and what you want to actually accomplish.

Assuming your two L3 switches have both VLANs defined on them, if IP routing is enabled on them, the L3 switches will route between the VLANs (by default).

However, you also show two L2 switches and router.  Very unclear what you're trying to accomplish.