I am new to Cisco networking. I am trying out a simple Network. I connected 3 PCs to a Switch.
PC A --> VLAN 10 ip address of PC A 100.100.100.3
PC B --> VLAN 20 ip address of PC B 120.120.120.3
PC C --> VLAN 30 ip address of PC C 130.130.130.3
Now, I am hoping to telnet to the switch from PC C.
I opened the Switches CLI and typed;
>conf t
> int vlan 30
>ip address 192.168.4.56
When I tried to ping from PC C (which is ip 130.130.130.3
). I get the following message (Which I believe is wrong)
Pinging 192.168.4.56 with 32 bytes of data:
Reply from 130.130.130.3: Destination host unreachable.
Reply from 130.130.130.3: Destination host unreachable.
Reply from 130.130.130.3: Destination host unreachable.
But, when I change the ip address on the switch to 130.130.130.5
, and ping from PC C it works.
1.) Why is this ? (So is it because, we need to have it in the same network)
2.) I want to be able to PING
from all the PCs (PC A, PC B and PC C). How can I do it ?