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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

After five years I discovered why my network goes down (2020)

27 点作者 yitchelle大约 1 年前

15 条评论

Nextgrid大约 1 年前
That post has provided no proof this is indeed a MAC address conflict issue, and as other comments suggest even an actual MAC address duplicate should only cause connectivity issues for said MAC address and no other devices.<p>MAC addresses belong to the NIC and not the machine, and while the OS can override them, it won&#x27;t do so without express user intervention. I&#x27;m especially skeptical of the Ethernet MAC being a duplicate of the Wi-Fi MAC, as this would cause obvious issues (especially considering both Wi-Fi stays up even in the presence of Ethernet, it&#x27;s just that the routing table is configured to prefer the Ethernet over it) - if this was indeed the case, he would <i>never</i> have had network access on that machine.<p>However, it is known that some Realtek USB Ethernet controllers have unexpected behavior when powered but no longer enumerated on the USB bus, and they send some low-level Ethernet frame that effectively causes all traffic to stop on that L2 network segment. I&#x27;m not sure <i>who</i> is at fault (whether the controller or the switch it&#x27;s connected to mistakenly rebroadcasting that frame), but here are more details: <a href="http:&#x2F;&#x2F;jeffq.com&#x2F;blog&#x2F;the-ethernet-pause-frame&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jeffq.com&#x2F;blog&#x2F;the-ethernet-pause-frame&#x2F;</a> and <a href="https:&#x2F;&#x2F;lucumr.pocoo.org&#x2F;2020&#x2F;7&#x2F;6&#x2F;usb-c-network-hubs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lucumr.pocoo.org&#x2F;2020&#x2F;7&#x2F;6&#x2F;usb-c-network-hubs&#x2F;</a>.
评论 #39783214 未加载
评论 #39807988 未加载
ChrisMarshallNY大约 1 年前
My experience: 95% of all network problems are dodgy cables. The other 5% is dodgy switches.<p>The switches one is a bear to debug. I just tossed out two old switches, because I wasn&#x27;t sure which one was the one that polluted the network. I could have spent several hours, setting up little sandboxes, but it was easier just to toss them both, and get new ones.
评论 #39785309 未加载
评论 #39782881 未加载
major505大约 1 年前
I used to have a dell vostro notebook that every time I logged into the network with windows, it would drop every other device on the wifi. Funny thing, is that if I used linux, the router would be alright and not collapse.<p>Never found out the reason. In the end I divorced the wife and she got that notebook.<p>Wifi is weird.
评论 #39782459 未加载
评论 #39782593 未加载
metanonsense大约 1 年前
I find it curious that the wifi interface and the USB&#x2F;ethernet interface are using the same MAC address. Nothing keeps a computer from being attached with both at the same time, in which case this would definitely break things.
评论 #39782639 未加载
评论 #39782643 未加载
akira2501大约 1 年前
We had Dell laptops with the dock. If you undocked the laptop under the right circumstances, which we could never determine, the dock would go into a mode where it would start spamming IEEE 802.3x PAUSE frames into the network as fast as it possibly could.<p>Our switches didn&#x27;t handle this correctly and would forward the PAUSE frame as it if it were a broadcast. When this happened, the entire network would cease to function until the offending dock was found and disconnected.
评论 #39782852 未加载
评论 #39782666 未加载
bediger4000大约 1 年前
Why would a MAC address duplication &quot;lock up&quot; your whole network? I would guess that at worst that particular laptop would either intermittently get packets or not get packets at all. Which is bad, but not a &quot;lock up&quot;. Other stuff should still work.
评论 #39782434 未加载
评论 #39782557 未加载
评论 #39782302 未加载
评论 #39782382 未加载
fmeyer大约 1 年前
I&#x27;ve drop down two networks in my life,<p>First time I run a dhcp server by accident and suddenly went sideways but the blast radius was small,<p>Second time and more interesting one, My campus had a mac address allow list; when I got a new computer and didn&#x27;t want to handle the process of updating my access access permission, I just run a script to change my mac to the old known address.<p>Later, I also sold the old computer to another colleague which didn&#x27;t bother to register as well since everything was working. Long story short, we keep disconnecting each other.<p>One day I was, &quot;c&#x27;mon, I&#x27;ll fix this&quot;. Opened wireshark and started to capture network traffic. I&#x27;ve got a list of mac addresses from the pcap dump and every time I got disconnected, I ran the script spoofing my address to the next one in my list.<p>That worked fine until the day I spoofed the mac address of a central managed switch that shit itself out of the network.<p>:)
aag2113大约 1 年前
I recently solved a 5-10 year bug in a similar vein. My local network DHCP shared an IP space with the VPN to which I have been connecting. This was causing intermittent and &quot;unexplainable&quot; connection issues that were ultimately due to plain old IP-address collisions.<p>Sadly, the immense joy that I felt upon resolution is mysteriously lacking from this person&#x27;s post.<p>Edit: DHCP not DNS
StapleHorse大约 1 年前
I have a dumb 1gb switch that hangs semi randomly but very seldom. Not all devices go throuh it,so the first time it happend was crazy to debug. Because I didn&#x27;t keep track of which devices go throuh the switch and which ones go direct to one of the 4 ports of the router.<p>And when I found out: &quot;Mother f
fmajid大约 1 年前
Apple has this &quot;feature&quot; called Bonjour Sleep Proxy whereby which certain stationary devices like an Airport AP, HomePod or AppleTV will impersonate your Mac when it goes to sleep, so f you want to access a service on it, e.g. stream music from it, the other device acts as a proxy, sends a WoL packet to the Mac and passes the MAC back to it. Needless to say, this often plays havoc with poorly coded routers or switches with wonky ARP or bridge MAC to port lookup tables.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bonjour_Sleep_Proxy" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bonjour_Sleep_Proxy</a>
ladberg大约 1 年前
I&#x27;ve experienced a similar situation where a USB-C hub would bring down everything connected to the switch, but only when it was disconnected from the laptop. No clue how this stuff makes it out of the factory...
评论 #39783762 未加载
g051051大约 1 年前
I had (probably still have) a similar-ish problem. I have an old nVidia Shield handheld that I bought a wired ethernet adapter for. Something about that adapter would kill my network dead after a random interval. It took a while to figure out what device was causing it, and unplugging the adapter would instantly cause the network to come back to life. I never figured out what the root cause was, I just stopped using the adapter.
ElijahLynn大约 1 年前
Woah! What an experience to go through, I&#x27;d find myself relieved and pissed at the same time.<p>&gt; The dock apparently holds the mac address of the MacBook and retains the IP even when the MacBook isn’t docked. Thus when the MacBook is removed from the dock and connects to the Network via Wifi with the same Mac address it causes a conflict and worse, it locks the whole network.
jokoon大约 1 年前
I have a thinkpad, and for some reason my wifi firmware crashes at random times, I can&#x27;t fix it.<p>Other annoying problem: if I start my computer with the jack plugged in, unplugging it doesn&#x27;t switch to speakers.
SpaceManNabs大约 1 年前
I don&#x27;t understand networking enough or maybe what docks actually do. What was the OOP&#x27;s solution?