ping localhost 有时会失败并显示 sendmsg: 不允许操作

ping localhost 有时会失败并显示 sendmsg: 不允许操作

我的网络适配器有问题(我认为),我尝试 ping 自己,有时会出现错误,这是怎么回事?我一生中第一次看到这个。

# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=32 ttl=64 time=0.019 ms
64 bytes from 127.0.0.1: icmp_seq=33 ttl=64 time=0.017 ms
64 bytes from 127.0.0.1: icmp_seq=34 ttl=64 time=0.023 ms
64 bytes from 127.0.0.1: icmp_seq=35 ttl=64 time=0.019 ms
64 bytes from 127.0.0.1: icmp_seq=36 ttl=64 time=0.020 ms
64 bytes from 127.0.0.1: icmp_seq=37 ttl=64 time=0.017 ms
64 bytes from 127.0.0.1: icmp_seq=38 ttl=64 time=0.019 ms
64 bytes from 127.0.0.1: icmp_seq=39 ttl=64 time=0.021 ms
64 bytes from 127.0.0.1: icmp_seq=40 ttl=64 time=0.021 ms
64 bytes from 127.0.0.1: icmp_seq=41 ttl=64 time=0.023 ms
ping: sendmsg: Operation not permitted
64 bytes from 127.0.0.1: icmp_seq=43 ttl=64 time=0.021 ms
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
64 bytes from 127.0.0.1: icmp_seq=47 ttl=64 time=0.022 ms
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted

--- 127.0.0.1 ping statistics ---
213 packets transmitted, 118 received, 44% packet loss, time 212114ms
rtt min/avg/max/mdev = 0.017/0.021/0.029/0.005 ms
You have mail in /var/mail/root

我没有 iptables 规则,服务器上个月运行良好

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

如果我运气好,通过 ssh 与服务器建立连接,该连接将正常工作,但几分钟后服务器将停止接受新连接并停止向新 ip 发送数据。输入/输出数据停止几分钟。

我无法 ping 任何内容或连接到任何地方,但当前建立的连接工作正常。

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localnet        *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         99.99.99.99     0.0.0.0         UG    1      0        0 eth0

(99我的gw隐藏抱歉)

有什么想法发生了什么吗?

可能是板载 LAN 快死了?

相关内容