TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 john_whelan大约 12 年前
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 条评论

ShaneOG大约 12 年前
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 未加载
aphyr大约 12 年前
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.