01-05-2020 10:00 AM
I have a Cisco Catalyst 3560G Series POE layer 3 switch. I created two VLANs within the Layer 3 switch and provided them both with their respective IP address and net mask. For some reason I am still able to ping both of these VLANs even without the ip routing command. I access the switch with a console cable. Can anyone help ???
Solved! Go to Solution.
01-05-2020 11:58 AM
The "ip routing" command would have an affect on through-the-box IPv4 traffic forwarding between different vlans on the switch. As an example, If you were attempting to ping between two hosts on two different vlans/subnets that were connected to the switch, I would expect the ping to fail without the 'ip routing' command. With the 'ip routing' command enabled you would see two connected routes with the 'show ip route' command and you would be able to ping between those hosts.
However if you are attempting to ping an interface IP from the switch console, as long as the interface vlan is up/up the ping will be successful.
Hope this helps!
Rob
01-05-2020 11:45 AM
Hi, can you please post the switch configuration?
Also please elaborate on the source of the pings, possibly post a diagram of your topology too.
Cheers;
01-05-2020 11:58 AM
The "ip routing" command would have an affect on through-the-box IPv4 traffic forwarding between different vlans on the switch. As an example, If you were attempting to ping between two hosts on two different vlans/subnets that were connected to the switch, I would expect the ping to fail without the 'ip routing' command. With the 'ip routing' command enabled you would see two connected routes with the 'show ip route' command and you would be able to ping between those hosts.
However if you are attempting to ping an interface IP from the switch console, as long as the interface vlan is up/up the ping will be successful.
Hope this helps!
Rob
01-05-2020 12:33 PM
01-05-2020 12:34 PM
Thanks!
01-05-2020 12:08 PM - edited 01-05-2020 12:11 PM
Hello
Possibly due to proxy arp being enabled so then switch is able to reply to the hosts arp broadcast stating it knows how to reach the other vlan.
sh ip int vlan xx
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