12-06-2016 02:45 PM - edited 03-08-2019 08:28 AM
I am trying to establish inter vlan connectivity between two 3850 switches. I setup a test environment in my private lab as follows
Switch 1
VLAN 116 10.1.16.254 (PC1 on this nertwork - 10.1.16.1)
VLAN 131 10.1.31.254 (PC2 on this network - 10.1.31.1)
Switch 2
VLAN 132 10.1.32.254 (PC3 on this network - 10.1.32.1)
VLAN 230 10.2.30.254 (PC4 on this network - 10.2.30.1)
PC's are pinging each other in the same switch as I enabled "ip routing" command on the switch. But I am not able ping from Switch 1 PCs to Switch 2 PCs.
I also tried enabling trunk mode on both the switches but no success. Could anybody help me in this.
I am not sure this is right place to post this question.
Solved! Go to Solution.
12-15-2016 01:49 PM
Thanks it worked Joseph. Later I erased all the config and did all this by stacking the switches and that also worked without any manual routes. But apart from this I want to go step further with below scenario.
I have 2 stacked Cisco 3850 Switches and 1 Standalone 3750 - X Series
Scenario:
Stacked Switch (3850)
Switch have 15 VLANs spreading from gi1/0/1 (Excluding gi1/0/48) to gi2/0/47. All the VLANs are talking to each other. Available ports on Stacked Switch are: gi1/0/48 and gi2/0/48.
Few VLANs:
116 - 10.1.16.254 (on gi1/0/x port)
131 - 10.1.31.254 (on gi1/0/x port)
530 - 10.5.30.254 (on gi2/0/x port)
830 - 10.8..30.254 (on gi2/0/x port)
I want these VLANs to communicate to Cisco 3750-X Series switch VLANs which will be of same subnet of stacked switch.
Assumed VLANs on 3750
116 - 10.1.16.253
131 - 10.1.31.253
530 - 10.5.30.253
830 - 10.8.30.253
For communication I assuming that I can LAG two ports from stack switch and connect to LAG to Cisco 3750 switch and assign IP on each switch. Create the VLANs as written above. Create static routes via LAG IPs between switches. Is this sound doable as per reference from above solution ? IPs and IDs for new VLANs should be diffrent or we can keep same as of stacked switches ?
Thanks
12-16-2016 11:58 AM
Whether to use LAG, or not, really has no bearing on your question as LAG just creates one logical link, of any kind we desire, between the 3850 stack and the 3750.
If you want to share VLANs/subnets between the two logical L3 switches, you'll want a trunk link between them (which can also use LAG).
If both L3 switches have all the same VLANs/subnets, and SVIs for all the VLANs/subnets, just having routing enabled will allow all to work (although there are other design considerations dealing with whether you want SVIs on both logical L3 switches, placement of STP roots, avoiding unicast flooding, etc.)
If one or both L3 switches have VLAN/subnets not "mirrored" on the other, or don't have SVIs for all subnets, then to route between those, you need static routes and/or an IGP. Assuming you have at least one VLAN that has SVI on both L3 switches, you can use it for a transit VLAN. (You can also use multiple shared VLANs for transit, but generally you only use one.)
In answer to your specific questions:
For communication I assuming that I can LAG two ports from stack switch and connect to LAG to Cisco 3750 switch and assign IP on each switch. Create the VLANs as written above. Create static routes via LAG IPs between switches. Is this sound doable as per reference from above solution
As noted, if you trunk between the switches, with what you've posted, you don't need static routes.
IPs and IDs for new VLANs should be diffrent or we can keep same as of stacked switches ?
Generally, IPs should always be different. IPs should be within the same address block if sharing the same network. VLAN IDs, if sharing and trunking should also be the same. However, it's possible to use different VLAN IDs, for the same network, if you don't trunk.
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