11-05-2020 08:39 PM
Hello All,
I am quite new in this networking world and stuck somewhere. If anyone can help me, I would highly appreciate.
I have this network topology where there are 3 switches and one router as networking device. Two end users are connected to Switch A and B and The router is connected to the switch C. I have established couple of vlans and then went successful. As you can see in the screenshot, I can ping from PC1 to switch A, (because of Vlan 10), I can ping PC2 to switch B (because of VLAN 20).
I have setup trunk between the switches.
My question is how can I lets say ping from PC1 to Switch C (102.168.20.5).
Please see the screenshot attached.
Any help is highly appreciated.
I have also attached the packet tracer file, if you need it.
Thanks
Solved! Go to Solution.
11-05-2020 11:31 PM
Hello,
in order for Vlan 10 and Vlan 20 to be able to communicate, you need to configure what is called a router on a stick. Review the attached file that provides end to end connectivity between all devices. I have made the following changes:
1. Added default gateways to all PCs, Servers, and switches
2. Changed the IP addressing to correspond to the Vlan
3. Configured inter-Vlan routing on the router
4. Added Vlans to the switches
5. Changed all links between the switches, and the link between the switch and the router, to trunks
11-05-2020 10:34 PM
Is
192.168.20.3 the address of inter vlan 10 on Switch A,
192.168.20.4 the address of inter vlan 20 on Switch B,
192.168.20.5 the address of inter vlan 30 on Switch C?
If yes - this won't work
11-05-2020 10:44 PM
Yes they are atm.
Please suggest any changes that is required.
Thanks
11-05-2020 10:51 PM
Hello,
post the zipped Packet Tracer project (.pkt) file...
11-05-2020 10:53 PM
11-05-2020 11:31 PM
Hello,
in order for Vlan 10 and Vlan 20 to be able to communicate, you need to configure what is called a router on a stick. Review the attached file that provides end to end connectivity between all devices. I have made the following changes:
1. Added default gateways to all PCs, Servers, and switches
2. Changed the IP addressing to correspond to the Vlan
3. Configured inter-Vlan routing on the router
4. Added Vlans to the switches
5. Changed all links between the switches, and the link between the switch and the router, to trunks
11-06-2020 04:27 AM
Hello Georg,
Thanks for looking into this for me and sending me the file (modified). You have clearly highlighted the changes that you made. Only one thing i didnt get it. I did a show running-config on router and came across
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
!
interface FastEthernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
So basically you have divided the fa0/0 into two segments. One is FastEthernet0/0.10 and another is FastEthernet0/0.20 and for each you have added the corresponding gateway as the ip. Can you please tell me whats the command to do that?
Thanks in advanced.
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