问题原文
原帖链接 · Brian · CC BY-SA 4.0
I've been playing around with IPv6 and setup a DigitalOcean droplet. The only difference between now and before is that I told it to setup IPv6. More often than not, when I run ifconfig the SSH session hangs, then disconnects due to unresponsiveness. The ifconfig command doesn't finish when this happens...it only gets past dumping the IPv6 details.
Any place I can check to debug this? My solution right now is just not to run ifconfig.
After reading the comments again, I realized that there is maybe a misinterpretation occurring. My command was only ifconfig to display network details, I'm not configuring anything with it so there are no extra details beyond that.
The tip that ifconfig isn't in use anymore is the most helpful thing so far. There is so much legacy crap on the net still, it is easy to pick up something antiquated.
已采纳解答
原帖链接 · KeepLearning · CC BY-SA 4.0
That sounds like a MTU issue - perhaps the extra IPv6 addresses in the ifconfig output tipped the packet size over the MTU limit and the session hangs.
Does the hangup happen with any other long-listings? Perhaps when running top? Or when copying files to/from the host? Check the link, it explains what a MTU problem is and what you can do about it.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
