09-14-2017 06:19 PM - edited 03-08-2019 12:02 PM
Hi all,
Basically, I'm new to Cisco so please bare with me. I can ping between PC2 and PC3. But I don't know how can I let these 3 PCs communicate especially with PC1. Since PC1 has to be in different subnet. I haven't configured any of the switch or router because I have no idea what to do. I also haven't filled the default gateway of the 3 PCs because I might mess it up. Any pointers will be greatly appreciated.
See image -> https://i.imgur.com/2jFp2ZS.png
09-14-2017 07:37 PM
Hi,
You need to run this script on your router. I´m supposing your interface number considering you did not inform it. So, replace this interface number by real router interface.
Then, ping and let me know if that´s ok.
conf t
int fa 1/0
ip add 192.168.0.1 255.255.255.0
int fa 1/1
no shut
ip add 10.0.0.2 255.128.0.0
exit
09-14-2017 07:55 PM
09-14-2017 08:08 PM
Yes. On each PC, you can put the corresponding router interface as default gateway.
Default gateways is necessary when you want to communicate with an IP that does not belong to the same IP range of yours. In our scenário, PC1 needs default gateway to get to PC2 and PC3 because PC1 belongs to a different network segment.
Try this and let me know.
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