I'm studying VLANs and I have a doubt.
I'm in the following scenario:
I have three PC: PCA, PCB, PCC and each of them belong at differents VLANs and they are connected to a switch on three separated FastEthernet ports. The switch is connected to a router which is useful to connect PC1, PC2, PC3 (router on a stick). PCB can ping PCA and PCC, but can't telnet to the switch.
The correct answer of this multiple choice is: The switch needs an appropriate default gateway assigned.
My question is: If PCB can ping PCA and PCC why PCB can't telnet the switch? I think that if ping success it mean that ping leaves PCB, goes to he router and than go to PCA or PCC
I don't understand why PCB is not able to telnet to the switch from host B while ping can reach the others two hosts successful