Solution
While the cables were being tidied, one was left connected at both ends to the same switch. This created a loop, and broadcast messages started going round endlessly and multiplying until they saturated the network: a broadcast storm.
What happened?
Devices on a local network constantly send broadcast messages addressed to every device. For example, ARP requests are used to find out which physical address belongs to an IP address. The switch forwards each broadcast out of all its ports except the one it was received on.
If two ports on the same switch are joined by a cable, each broadcast leaves through one of them, comes back in through the other and the switch forwards it again. Unlike IP packets, layer 2 frames have no time to live (TTL) that removes them after a certain number of hops, so they never disappear. This is what happened:
The cable joined two ports on the lab switch and closed a circuit.
The first broadcast sent by a computer also went out through those two ports, came back in through the other end of the cable and was forwarded by the switch again, over and over.
Each new broadcast was added to those already circulating. Within seconds, the switch and the computers were busy receiving copies of the same messages and there was no capacity left for normal traffic.
That is why the lights kept flashing, and restarting the switch did not help: as soon as it started up, the loop was still there.
The copies also went out to the rest of the school network, which is why other classrooms noticed the network slowing down.
How could it be fixed and prevented?
To fix it , the cable joining two ports on the same switch had to be found and unplugged. As Cisco explains, once the loop is physically interrupted, the broadcast storm immediately begins to subside.
To stop it from happening again , several measures helped:
Enable the Spanning Tree Protocol (STP) , or its rapid version, RSTP, on managed switches. STP detects paths that form loops and blocks the ports needed to prevent them.
Protect the ports where computers are connected with features such as BPDU Guard, which disables the port if it receives messages that only a switch should send.
Check whether the lab switches support STP or loop detection. The simplest models do not always include it.
Tidy and label the cabling so that both ends of every cable are identified.
‹
Case 16/21
›
A project by Eniun