I 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 18.104.22.168 PC C --> VLAN 30 ip address of PC C 22.214.171.124
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
126.96.36.199). I get the following message (Which i believe is wrong)
Pinging 192.168.4.56 with 32 bytes of data: Reply from 188.8.131.52: Destination host unreachable. Reply from 184.108.40.206: Destination host unreachable. Reply from 220.127.116.11: Destination host unreachable.
But, when i change the ip address on the switch to
18.104.22.168, 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 wan to be able to
PING from all the PCs (PC A, PC B and PC C). How can i do it ?