cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1208
Views
0
Helpful
2
Replies

Layer 3 switch default gateway not working

KiraCarmen
Level 1
Level 1

Hello!

I have the following configuration: 

 
 

poza.png

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!

2 Replies 2

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.
hfghgfhfghfghfghfghfghfg.pngin all devices you can see ethernet SW this dummy L2 SW only
and it not load your RAM.

balaji.bandi
Hall of Fame
Hall of Fame
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)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help