Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Post History

50%
+0 −0
Q&A Why is inter-VLAN communication not working in my bus topology network set-up in Cisco Packet Tracer?

I have created a simple bus topology connecting 2 switches and a router, with each switch connected to their respective end devices through ordinary star topology. The switch model used was 3560-24...

0 answers  ·  posted 11mo ago by Phoenix‭  ·  edited 11mo ago by Alexei‭

#2: Post edited by user avatar Alexei‭ · 2024-01-27T11:49:20Z (11 months ago)
removed less relevant information
  • I have created a simple bus topology connecting 2 switches and a router, with each switch connected to their respective end devices through ordinary star topology. The switch model used was **3560-24PS** and the router's being **2811**.
  • ![Figure shows the network set-up](https://software.codidact.com/uploads/el6uvb6tszgoddk0rl3e8or061e0)
  • 1. I have created a VLAN for each switch and assigned the interfaces connected to the end devices to the same VLAN, to form a subnet. Namely, Switch 1 end devices are part of VLAN 10 and Switch 2 devices part of VLAN 20.
  • ![Figure shows the assignment of VLAN to the end-device connected interfaces of Switch 1](https://software.codidact.com/uploads/kb5ebtmmub44cfhxvbo8os0i5i9z)
  • ![Figure shows the assignment of VLAN to the end-device connected interfaces of Switch 2](https://software.codidact.com/uploads/tc9phoi5q8u1hm0t64dya1dlsrz1)
  • 2. Next, I configured the interfaces of each switch that is connected to each other, and the interface of switch 2 which is connected to the router to be trunk ports, and enabled traffic for both VLANs.
  • ![Figure shows configuration of trunk port for Switch 1's interface](https://software.codidact.com/uploads/jfhu1um3hswtkz5a9qynlotgt119)
  • ![Figure shows configuration of trunk port for Switch 2's interface](https://software.codidact.com/uploads/6b8kjqf8mpjya1oyaqy9fduegucu)
  • 3. Then, I configured inter-VLAN routing in the router by configuring the router port interface connected to Switch 3 with 2 subinterfaces for each VLAN to act as each's default gateway.
  • ![Figures shows inter-VLAN routing configuration in the router](https://software.codidact.com/uploads/2kf5g1gawttbixb8ipinau31ngfv)
  • 4. Finally, I configured each end device of both VLANs with static IPs and their respective default gateways. The default gateway of devices of VLAN 10 are configured with the IP of its router subinterface: 192.168.10.1 and VLAN 20: 192.168.20.1
  • Nevertheless, when attempting to send a simple PDU between a device in VLAN 10 to a device in VLAN 20, it shows "Failed". I tried pinging too using the command prompt. Why is this the case? Is there something that I am missing or overlooking? I have been extensively looking up resources online for days and cracking my skull,and tried different steps but to no avail. Please do help me as I need to figure this out to successfully carry out inter-VLAN communication for my networking module assignment for university which is a lot more complex than this simple example.
  • Please find attached the packet tracer file for this example:
  • [Packet Tracer File](https://drive.google.com/file/d/1jeg2xJafPH5IFZfHsDmp-eJaiJM3XeA7/view?usp=sharing)
  • Thank you very much in advance! :)
  • P.S Hopefully this question will be allowed here on this Codidact site. Please do not remove it as I really need answers to this question to which Stack Exchange have closed many times because it "lacked clarity" and other poor reasons. What more clarity do you need?! It's frankly quite sickening how it operates-most of my IT questions were closed. I hope Codidact is better.
  • I have created a simple bus topology connecting 2 switches and a router, with each switch connected to their respective end devices through ordinary star topology. The switch model used was **3560-24PS** and the router's was **2811**.
  • ![Figure shows the network set-up](https://software.codidact.com/uploads/el6uvb6tszgoddk0rl3e8or061e0)
  • 1. I have created a VLAN for each switch and assigned the interfaces connected to the end devices to the same VLAN, to form a subnet. Namely, Switch 1 end devices are part of VLAN 10 and Switch 2 devices part of VLAN 20.
  • ![Figure shows the assignment of VLAN to the end-device connected interfaces of Switch 1](https://software.codidact.com/uploads/kb5ebtmmub44cfhxvbo8os0i5i9z)
  • ![Figure shows the assignment of VLAN to the end-device connected interfaces of Switch 2](https://software.codidact.com/uploads/tc9phoi5q8u1hm0t64dya1dlsrz1)
  • 2. Next, I configured the interfaces of each switch that is connected to each other, and the interface of switch 2 which is connected to the router to be trunk ports, and enabled traffic for both VLANs.
  • ![Figure shows configuration of trunk port for Switch 1's interface](https://software.codidact.com/uploads/jfhu1um3hswtkz5a9qynlotgt119)
  • ![Figure shows configuration of trunk port for Switch 2's interface](https://software.codidact.com/uploads/6b8kjqf8mpjya1oyaqy9fduegucu)
  • 3. Then, I configured inter-VLAN routing in the router by configuring the router port interface connected to Switch 3 with 2 subinterfaces for each VLAN to act as each's default gateway.
  • ![Figures shows inter-VLAN routing configuration in the router](https://software.codidact.com/uploads/2kf5g1gawttbixb8ipinau31ngfv)
  • 4. Finally, I configured each end device of both VLANs with static IPs and their respective default gateways. The default gateway of devices of VLAN 10 are configured with the IP of its router subinterface: 192.168.10.1 and VLAN 20: 192.168.20.1
  • Nevertheless, when attempting to send a simple PDU between a device in VLAN 10 to a device in VLAN 20, it shows "Failed". I tried pinging too using the command prompt. Why is this the case? Is there something that I am missing or overlooking? I have been extensively looking up resources online for days and cracking my skull, and tried different steps but to no avail. Please do help me as I need to figure this out to successfully carry out inter-VLAN communication for my networking module assignment for university which is a lot more complex than this simple example.
  • I am attaching the packet tracer file for this example:
  • [Packet Tracer File](https://drive.google.com/file/d/1jeg2xJafPH5IFZfHsDmp-eJaiJM3XeA7/view?usp=sharing)
  • Thank you very much in advance! :)
#1: Initial revision by user avatar Phoenix‭ · 2024-01-27T05:10:41Z (11 months ago)
Why is inter-VLAN communication not working in my bus topology network set-up in Cisco Packet Tracer?
I have created a simple bus topology connecting 2 switches and a router, with each switch connected to their respective end devices through ordinary star topology. The switch model used was **3560-24PS** and the router's being **2811**.

![Figure shows the network set-up](https://software.codidact.com/uploads/el6uvb6tszgoddk0rl3e8or061e0)

1. I have created a VLAN for each switch and assigned the interfaces connected to the end devices to the same VLAN, to form a subnet. Namely, Switch 1 end devices are part of VLAN 10 and Switch 2 devices part of VLAN 20.

![Figure shows the assignment of VLAN to the end-device connected interfaces of Switch 1](https://software.codidact.com/uploads/kb5ebtmmub44cfhxvbo8os0i5i9z)
![Figure shows the assignment of VLAN to the end-device connected interfaces of Switch 2](https://software.codidact.com/uploads/tc9phoi5q8u1hm0t64dya1dlsrz1)

2. Next, I configured the interfaces of each switch that is connected to each other, and the interface of switch 2 which is connected to the router to be trunk ports, and enabled traffic for both VLANs.

![Figure shows configuration of trunk port for Switch 1's interface](https://software.codidact.com/uploads/jfhu1um3hswtkz5a9qynlotgt119)
![Figure shows configuration of trunk port for Switch 2's interface](https://software.codidact.com/uploads/6b8kjqf8mpjya1oyaqy9fduegucu)


3. Then, I configured inter-VLAN routing in the router by configuring the router port interface connected to Switch 3 with 2 subinterfaces for each VLAN to act as each's default gateway. 

![Figures shows inter-VLAN routing configuration in the router](https://software.codidact.com/uploads/2kf5g1gawttbixb8ipinau31ngfv)

4. Finally, I configured each end device of both VLANs with static IPs and their respective default gateways. The default gateway of devices of VLAN 10 are configured with the IP of its router subinterface: 192.168.10.1 and VLAN 20: 192.168.20.1


Nevertheless, when attempting to send a simple PDU between a device in VLAN 10 to a device in VLAN 20, it shows "Failed". I tried pinging too using the command prompt. Why is this the case? Is there something that I am missing or overlooking? I have been extensively looking up resources online for days and cracking my skull,and tried different steps but to no avail. Please do help me as I need to figure this out to successfully carry out inter-VLAN communication for my networking module assignment for university which is a lot more complex than this simple example.

Please find attached the packet tracer file for this example:

[Packet Tracer File](https://drive.google.com/file/d/1jeg2xJafPH5IFZfHsDmp-eJaiJM3XeA7/view?usp=sharing)

Thank you very much in advance! :)

P.S Hopefully this question will be allowed here on this Codidact site. Please do not remove it as I really need answers to this question to which Stack Exchange have closed many times because it "lacked clarity" and other poor reasons. What more clarity do you need?! It's frankly quite sickening how it operates-most of my IT questions were closed. I hope Codidact is better.