I have cisco 3560G-TS-S with IOS 12.2(35)SE5 IPbase software. I have vlan 1 and vlan 2.
Each Vlan has one pc attached to it. Each pc can ping its default vlan ip address and can ping the router behind the swtich.
The problem is pc 1 can not ping pc 2 even though i typed "Ip routing" in the global config mode to enable interVlan routing.
Is it because my IOS is old and does't support intervlan routing?
Simply create a default route on the switch in order to point to internet router, such as ip route 0.0.0.0 0.0.0.0 192.168.2.1. This will ensure any traffic that neither destined for 192.168.2.0/24 or 192.168.4.0/24 will be forwarded to internet router, and from their out to the internet.