Bus Topology in Cisco Packet Tracer with a Switch Backbone

Aisyah Aldina

Clothesline illustration with clothes hung in a row for a guide on bus topology in Cisco Packet Tracer

Hi everyone, this time we are going to build a bus topology in Cisco Packet Tracer. A bus topology is a network layout where every computer attaches to one main cable path called the backbone. Data from one computer travels along the backbone until it reaches the destination computer, a lot like clothes hung in a row on a single clothesline.

In the old days a bus topology was built with one long coaxial cable and a terminator at each end. Packet Tracer cannot reproduce that for a LAN, so the usual approach in lab classes is to chain several switches together as the backbone and use each switch as the connection point for a PC. That is the approach I use in this article, together with proof of what happens when the backbone is cut in the middle. Everything is done in Cisco Packet Tracer 8.2.1.

Download the Packet Tracer lab file
Open with Cisco Packet Tracer 8.2.1 or later · 4 switch 2960 as the backbone, 4 PCs · all IP addresses already set
Download .pkt

The Topology and Cables Used

One backbone path, with PCs attached along the way

Cisco Packet Tracer window with a bus topology of four switches in a row as the backbone and four PCs

The topology has 4 Cisco 2960 switches (Switch0 through Switch3) lined up in one straight row, plus 4 PCs. The box drawn around the switches marks the backbone, the main cable of the network. I placed the PCs alternately above and below the backbone so they are easy to tell apart, with PC0 and PC2 on top and PC1 and PC3 at the bottom.

Ports Gig0/1 and Gig0/2 on Switch1 and Switch2 forming the backbone of the bus topology

If you zoom in, you can see that the backbone uses GigabitEthernet ports. Each switch in the middle uses two ports, Gig0/1 toward the switch on its left and Gig0/2 toward the switch on its right. Switch0 and Switch3 use only one port because they sit at the ends of the path.

Switch0 Gig0/1  ->  Switch1 Gig0/1   (cross-over)
Switch1 Gig0/2  ->  Switch2 Gig0/1   (cross-over)
Switch2 Gig0/2  ->  Switch3 Gig0/1   (cross-over)
PC0 Fa0  ->  Switch0 Fa0/1   (straight-through)
PC1 Fa0  ->  Switch1 Fa0/1   (straight-through)
PC2 Fa0  ->  Switch2 Fa0/1   (straight-through)
PC3 Fa0  ->  Switch3 Fa0/1   (straight-through)

The backbone cables are Copper Cross-Over because they connect two devices of the same type, switch to switch. The cables from each PC to its switch are Copper Straight-Through. I cover the full reasoning in my article on straight vs crossover cables.

When you pick a Gigabit port, keep in mind that the port list on a 2960 switch is fairly long, and GigabitEthernet0/1 and GigabitEthernet0/2 sit at the very bottom, after FastEthernet0/24. Connect all the backbone cables first from left to right, and only then the PC cables.

PC0  192.168.6.21  255.255.255.0
PC1  192.168.6.22  255.255.255.0
PC2  192.168.6.23  255.255.255.0
PC3  192.168.6.24  255.255.255.0

All the PCs sit in the same 192.168.6.0/24 network, so there is no need for a router or a gateway.

Setting the IP Address on Each PC

Open PC0

PC0 at the left end of the bus topology marked with a red circle

Click PC0 in the top left corner.

Desktop tab, then IP Configuration

Desktop tab and IP Configuration icon marked in the PC0 window

In the PC0 window, click the Desktop tab and then click the IP Configuration icon.

Fill in the IP address and subnet mask

IP address 192.168.6.21 and subnet mask 255.255.255.0 set on PC0

Choose Static, then type 192.168.6.21 in the IPv4 Address field. Once that is done, click the Subnet Mask field and 255.255.255.0 is filled in automatically. Leave the Default Gateway at 0.0.0.0.

Close the PC0 window, then repeat the same steps on PC1, PC2, and PC3 using the IP addresses from the table above.

Testing the Connection from End to End

Ping from PC3 to PC0 and PC1

Ping from PC3 to PC0 and PC1 succeeding across the entire backbone

Open PC3 in the bottom right corner, go to Desktop and then Command Prompt, and ping PC0 at the far left end.

ping 192.168.6.21
ping 192.168.6.22

Both pings get 4 replies with 0% loss. A packet from PC3 to PC0 has to cross the entire backbone, going through Switch3, Switch2, Switch1, and finally Switch0, and it gets there without any trouble.

Watching the Traffic on the Backbone

Open the Switch1 CLI

Switch1 on the bus topology backbone marked with a red circle

Close the PC3 window, then click Switch1, the second switch from the left.

CLI tab marked in the Switch1 window

Click the CLI tab and press Enter once.

The MAC address table on a middle switch

Switch1 MAC address table with one MAC on Fa0/1 and several MACs on backbone ports Gig0/1 and Gig0/2
enable
show mac address-table

Switch1 has 6 MAC addresses recorded. Only one of them comes from Fa0/1, and that is PC1, which is connected directly. The rest are recorded on the backbone ports: 2 MAC addresses through Gig0/1 from the left side and 3 through Gig0/2 from the right side, including the MAC addresses of the PCs and switches on each side. In other words, a backbone port carries traffic from many devices at once, while a PC port only carries traffic from one.

Follow the packet in Simulation mode

Simulation mode showing an ICMP packet from PC0 passing through Switch2 on the backbone

Click the Simulation button in the bottom right corner. To keep other packets out of the way, click Edit Filters in the Simulation panel, tick ICMP only, and then close the Simulation panel. Choose the envelope icon Add Simple PDU in the top toolbar, click PC0 and then PC3, and press the Capture/Forward button at the bottom a few times.

The envelope travels from PC0 to Switch0, then follows the backbone to Switch1 and Switch2, as you can see in the picture. One step later it reaches Switch3 and is received by PC3. This is how a bus topology works, with data always running along the same main path.

My experience: The first time I entered Simulation mode, my canvas suddenly looked empty because the view had shifted down, and the Simulation panel covered Switch3 and PC3 at the right end. Scroll up on the canvas to bring the view back, then close the Simulation panel and use the Play Controls at the bottom instead. The Event List also filled up right away with STP and CDP packets from the switches, which is why I changed the filter to ICMP only.

Testing the Weakness of a Bus Topology: The Backbone Is Cut in the Middle

Delete the cable from Switch1 to Switch2

Backbone cable between Switch1 and Switch2 deleted so the bus topology is split in two

Go back to Realtime mode, pick the Delete icon in the toolbar, and click the backbone cable between Switch1 and Switch2. The backbone is now split into two parts. The left side holds Switch0, Switch1, PC0, and PC1, and the right side holds Switch2, Switch3, PC2, and PC3.

Ping a PC on the same side and a PC across the cut

Ping from PC0 to PC1 succeeding while the ping to PC2 returns Request timed out after the backbone is cut

Open the Command Prompt on PC0 and ping PC1 and PC2.

ping 192.168.6.22
ping 192.168.6.23

The ping to PC1, which is still on the same side, keeps working with 0% loss, but the ping to PC2 across the cut only returns Request timed out. This is the main weakness of a bus topology: a single break in the backbone splits the network in two, and the closer the break is to the middle, the more PCs get cut off. Compare that with the star topology in Cisco Packet Tracer, where a cut cable only disconnects one PC.

When you are done testing, reconnect a cross-over cable from Switch1 Gig0/2 to Switch2 Gig0/1, then click Fast Forward Time until every point turns green again.

Common Problems and How to Fix Them

The backbone points stay orange for a while

As soon as a cable between two switches is connected, the switches run STP first, so the points stay orange for about 30 seconds. Click Fast Forward Time in the bottom left corner two or three times and they will turn green.

The GigabitEthernet ports are not visible

The port list on a 2960 switch is long and the Gigabit ports are at the very bottom. If the switch sits near the bottom of the screen, the port list may open upward. Move the switch a little higher before connecting the cable so the whole list is visible.

Ping fails to the PC at the other end

Check the backbone cables one by one from left to right. A single backbone cable that was never connected or that uses the wrong port is enough to make the PC at the other end unreachable. Also make sure every PC has an IP address in the 192.168.6.0/24 network.

At this point the bus topology with a switch backbone is up and running, along with proof of why this topology is rarely used for large networks anymore. In the next article we try the ring topology in Cisco Packet Tracer, which has a backup path when one cable breaks. If you run into any error while trying this, just leave a comment below.

Leave a Comment