You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

本地网络中从主机A ping主机C提示Destination Port Unreachable的问题求助

本地网络中从主机A ping主机C提示Destination Port Unreachable的问题求助

大家好,我碰到了一个本地网络的连通性问题,折腾半天没找到头绪,来求助各位大神!

我的本地网络里有三台电脑:A、B、C,它们的连接情况如下:

  • A通过网线直接连接到路由器
  • B通过无线连接路由器,同时还通过网线把网络共享给了C
  • C通过网线直接连接到B

目前三台设备都能正常上网,但ping测试时出现了异常:

  • 在B上,我能顺利ping通A和C
  • 在C上,我也能ping通A和B
  • 但在A上只能ping通B,ping C的时候会提示Destination Port Unreachable

下面是两台设备的路由表信息:

主机A执行ip route show的输出:

default via 192.168.1.1 dev enp2s0 proto dhcp src 192.168.1.85 metric 1024 
192.168.1.0/16 dev enp2s0 proto kernel scope link src 192.168.1.85 metric 1024 
192.168.1.1 dev enp2s0 proto dhcp scope link src 192.168.1.85 metric 1024

主机B执行ip route show的输出:

default via 192.168.1.1 dev wlx347de4402df9 proto dhcp metric 600 
10.42.0.0/24 dev enp5s0 proto kernel scope link src 10.42.0.1 metric 100 
169.254.0.0/16 dev enp5s0 scope link metric 1000 
192.168.1.0/24 dev wlx347de4402df9 proto kernel sc...

有没有大佬能帮忙分析下,为什么A没法ping通C呢?麻烦指点一下,谢谢啦!

备注:内容来源于stack exchange,提问作者Pikko

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 07:52:59