Linux下使用ping出现destination is unreachable的问题可能性

ping时出现request time out和destination is unreachable

request time out是指icmp包发出后,长时间没有回应,所以会产生request time out。一般是ping了一台网络中不存在的主机。

destination is unreachable或destination port unreachable一般是收到了目标主机或中间路由器回应的端口或目标主机不可达icmp包。

如ping一台用iptables封了icmp包的主机且用了-j REJECT就会出现destination port unreachable的信息,这是目标主机给的回应。

也有可能在forward链已经DROP掉了。

总的来说就是包已经到了目标主机,然后没有处理给你返回信息。

参考:

http://blog.csdn.net/yzit0905/article/details/52748122(以上内容部分转自此篇文章)

原文地址:https://www.cnblogs.com/EasonJim/p/8426927.html