美文网首页
【ping】在Linux服务器上ping某个主机时,出现(DUP

【ping】在Linux服务器上ping某个主机时,出现(DUP

作者: Bogon | 来源:发表于2022-06-19 00:03 被阅读0次

    在Linux服务器上ping某个主机时,出现(DUP!):

    $ ping smtp.qq.com
    PING mail.qq.com (12.13.14.15) 56(84) bytes of data.
    64 bytes from localhost (12.13.14.15): icmp_seq=1 ttl=127 time=0.241 ms
    64 bytes from localhost (12.13.14.15): icmp_seq=1 ttl=127 time=0.264 ms (DUP!)
    64 bytes from localhost (12.13.14.15): icmp_seq=2 ttl=127 time=0.225 ms
    64 bytes from localhost (12.13.14.15): icmp_seq=2 ttl=127 time=0.269 ms (DUP!)
    64 bytes from localhost (12.13.14.15): icmp_seq=3 ttl=127 time=0.245 ms
    64 bytes from localhost (12.13.14.15): icmp_seq=3 ttl=127 time=0.250 ms (DUP!)
    64 bytes from localhost (12.13.14.15): icmp_seq=4 ttl=127 time=0.236 ms
    64 bytes from localhost (12.13.14.15): icmp_seq=4 ttl=127 time=0.271 ms (DUP!)
    64 bytes from localhost (12.13.14.15): icmp_seq=5 ttl=127 time=0.447 ms
    64 bytes from localhost (12.13.14.15): icmp_seq=5 ttl=127 time=0.454 ms (DUP!)
    64 bytes from localhost (12.13.14.15): icmp_seq=6 ttl=127 time=0.245 ms
    64 bytes from localhost (12.13.14.15): icmp_seq=6 ttl=127 time=0.274 ms (DUP!)
    ^C
    --- mail.qq.com ping statistics ---
    6 packets transmitted, 6 received, +6 duplicates, 0% packet loss, time 5241ms
    rtt min/avg/max/mdev = 0.225/0.285/0.454/0.075 ms
    
    image.png image.png

    这意味着回复数据包是重复的。
    ICMP 响应包含一个序列号,有时您实际上会收到多个具有相同序列号的回复,这通常是由网络故障引起的。
    如果没有得到适当的验证,无线网络通常依赖于重新发送数据包,如果第一个数据包确实有效,那么重新发送将是重复的。
    在正常使用中,重复项被丢弃。
    在 ping 回复中会注明它们,因为它们会告诉您有关网络如何运行的一些信息。
    例如,如果您得到 100% 的重复,则某些故障检测机制可能会被破坏。

    man  ping
    
    Duplicate and Damaged Packets
    
    ping will report duplicate and damaged packets. Duplicate packets should never occur, and seem to be caused by inappropriate link-level retransmissions. Duplicates may occur in many situations and are rarely (if ever) a good sign, although the presence of low levels of duplicates may not always be cause for alarm.
    
    Damaged packets are obviously serious cause for alarm and often indicate broken hardware somewhere in the ping packet's path (in the network or in the hosts).
    
    

    重复和损坏的数据包:

    ping 将报告重复和损坏的数据包。
    重复的数据包永远不会发生,并且似乎是由不适当的链路级重传引起的。
    重复可能在许多情况下发生,并且很少(如果有的话)是一个好兆头,尽管存在低水平的重复可能并不总是引起警报。

    损坏的数据包显然是引起警报的严重原因,并且通常表明 ping 数据包路径(网络或主机中)某处的硬件损坏。

    这有不同的原因,您是否使用混杂模式的接口捕获网络流量? 有时这就是重复数据包的原因。

    参考

    在Linux服务器上ping某个主机时,出现(DUP!),一般是什么原因?
    https://ask.zkbhj.com/?/question/194

    DUP! problem on ping
    https://askubuntu.com/questions/970476/dup-problem-on-ping

    What could DUP mean when using ping?
    https://unix.stackexchange.com/questions/13254/what-could-dup-mean-when-using-ping

    Ping (DUP) with Linux bridges and tap devices
    https://serverfault.com/questions/589738/ping-dup-with-linux-bridges-and-tap-devices

    VMware Workstation环境中Linux ping返回出现大量“DUP!”的解决方法
    https://www.linuxidc.com/Linux/2014-07/104415.htm

    理解网卡混杂模式
    https://zdyxry.github.io/2020/03/18/%E7%90%86%E8%A7%A3%E7%BD%91%E5%8D%A1%E6%B7%B7%E6%9D%82%E6%A8%A1%E5%BC%8F

    network 开启网卡的混杂模式
    https://www.jianshu.com/p/42d88c0c47db

    Linux下网卡的混杂模式浅谈
    https://cloud.tencent.com/developer/article/1439013

    相关文章

      网友评论

          本文标题:【ping】在Linux服务器上ping某个主机时,出现(DUP

          本文链接:https://www.haomeiwen.com/subject/lkzfvrtx.html