08-16-2022 02:06 AM
Hello!
I have the following configuration:
My goal is to ping from PC1 to PC4. The reason I'm using a L3 switch is because it's easier for me to connect it to a Python program. My problem is that, after turning of the IP routing on the switches and adding a default gateway, and configuring the routers, the ping is not working. I can't even ping the default gateway from PC1.
In short terms, the switch must act as a L2 switch, but it doesn't.
I'm using the following Cisco ISO in GNS3: "c3640-ik9o3s-mz.124-25b".
Any suggestions are welcomed.
Thank you!
08-16-2022 02:18 AM - edited 08-16-2022 06:42 AM
GNS3 and L2 SW there are many problem one of them is VLAN, you enter VLAN and even if the command accept it not work.
use three different dummy SW instead since you use SW only for L2.
in all devices you can see ethernet SW this dummy L2 SW only
and it not load your RAM.
08-16-2022 05:52 AM
after turning of the IP routing on the switches and adding a default gateway
If the switch act as Layer 2, you do not need to have ip routing, default gateway should work for you with nagive or Manangment VLAN.
If you looking routing, then you need remove default gateway and add ip route 0.0.0.0 0.0.0.0 y.y.yy ( y.y next hop address)
MAke sure uplink is Trunk port (if you looking to have more VLAN) - on the Router side this should Router on stick config.
post below information :
Router :
show ip interface brief
show ip route
show run interface x/x (x/x towards switch config)
From switches :
show vlan
show ip interface brief
show ip route
show run interface x/x (x/x towards Router config)
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