TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why did this shut the entire network down?

1 pointsby john_whelanabout 12 years ago
When I was in High School I was using the computer lab and noticed an ethernet cable hanging down next to the switch (I think had about ~24 inputs). I plugged it in and a couple seconds later the internet for my entire school was down. Not a single computer in the school had internet. The head of IT ran into the room and had no idea what was going on. I unplugged it once I realized that it was my fault the network was down and everything was back to normal almost immediately. So my question is: Why did plugging the cord in shut down the internet for the entire school? (I assume that it was already plugged in to the switch and was plugged in again, but it was so messy I couldn't confirm that)

2 comments

ShaneOGabout 12 years ago
The cable was probably already plugged into the same switch. You caused a hard-loop.<p>It was probably an unmanaged switch. An unmanaged switch cannot participate in spanning-tree, and therefore cannot detect the hard loop. Because the loop wasn't detected it caused a broadcast storm, bringing down the network.
评论 #5670178 未加载
aphyrabout 12 years ago
Could be a bridge loop, where switches route packets in a circular ring. Spanning-tree-protocol is designed to detect and avoid that problem, but it's not always enabled.