07-31-2013 02:16 PM - edited 03-07-2019 02:42 PM
Hi, we have two layer 3 switches in our environment. One of them does all of our routing and hosts all our vlans. The other is "suppose" to be used as a connected switch layer 2. When issuing the "sho ip route" command I see the following:
C 10.40.0.0 is directly connected, Vlan1
S* 0.0.0.0/0 [1/0] via 10.40.1.1
My understanding is this is another network. We have the same network on our switch that is used for routing. Would I need to issue the "no ip route" on the non routing switch?
Thanks
Solved! Go to Solution.
07-31-2013 02:32 PM
Hi Chris,
is the show ip route issued on "L2" switch?
C 10.40.0.0 is directly connected, Vlan1
S* 0.0.0.0/0 [1/0] via 10.40.1.1
Most likely, you have vlan1 configured with an IP address from that range. In addition, if you have an output like this, it means that you have ip routing enabled.
Therefore, I suggest to use the command :
Switch(config)#no ip routing
This will effectively turn your switch into "L2 mode".
Best regards,
Jan
07-31-2013 02:32 PM
Hi Chris,
is the show ip route issued on "L2" switch?
C 10.40.0.0 is directly connected, Vlan1
S* 0.0.0.0/0 [1/0] via 10.40.1.1
Most likely, you have vlan1 configured with an IP address from that range. In addition, if you have an output like this, it means that you have ip routing enabled.
Therefore, I suggest to use the command :
Switch(config)#no ip routing
This will effectively turn your switch into "L2 mode".
Best regards,
Jan
07-31-2013 02:35 PM
thanks, thats what i thought
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