02-23-2022 04:06 PM - edited 02-23-2022 04:06 PM
Hi there,
I am a electronics engineer, not a network engineer. but I have done some basic cisco course, so I can understand some of the terminology.
At work I was asked to connect the following two different subnet using cisco 2960x switch. all the switches we have are cisco catalyst 2960x running version 15.2.
After bit of google I found that I need to enable static routes in "Switch 3"
Things I've tried to enable static route in "Switch 3":
1. enabled lanbase-routing
2. enabled ip-routing
3. created two vlans and assigned ip address
then I tried pinging 192.168.28.5 from 192.168.0.11, it was unsuccessful.
from "switch 3" console tried pinging all the devices and its was successful.
Question:
what should I do to get communication between the above two subnet? am I in the right track?
thank you
02-23-2022 04:24 PM
am I in the right track?
Yes, you are on the right track. Make you the device on the right side of the pictures has the correct default gateway. The same for the left side. Now, if all working correctly, you should be able to ping the devices on the left side from the devices on the right side and vice versa
Are you able to ping end-to-end? if not please post the output of "sh run"
HTH
02-23-2022 04:28 PM
Switch 3 should have a layer 3 interface as a gateway, is that configured in switch 3?
make sure other switches are configured as Trunk ports between switches.
Pc with 192.168.28.X what is the gateway?
Pc 192.168.0.X what is the gateway and are you able to ping the gateway?
check the below video to help you :
https://www.youtube.com/watch?v=EM-etxhNjnY
https://www.youtube.com/watch?v=1gsE_tUfwHo
02-23-2022 05:04 PM - edited 02-23-2022 05:07 PM
Your Sw 3 is not L3 switch but L2 which does not support routing; replace sw3 with L3 one (c3560 or c3650 that is more square box in PT) or a router. Then enable ip routing, make ports as trunk ports, add vlans to be same with other switches. Add 2 SVI in range of your 2 subnets. That is interface vlan x , then add ip address 192.168.28.x , then interface vlan y , ip address 192.168.0.y
you do not need static routes if subnets are local; L3 switch or a router knows about its directly connected routes.
Regards, ML
**Please Rate All Helpful Responses **
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