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

Debian 12双网卡路由配置问题:wlan0上网/eth0本地子网通信异常

网络路由配置问题排查请求

环境与问题概述

  • Wi-Fi适配器通过DHCP获取10.9.32.x网段IP,千兆以太网适配器手动配置192.168.0.1-192.168.0.5段IP
  • 当前可正常访问192.168.0.0网段节点及互联网,但无法与10.9.32.x网段节点通信,UDP/TCP数据包均无法送达
  • 曾手动添加低metric值的10.9.32.0/24路由,移除后问题依旧

当前路由表信息

执行sudo route -n输出:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.9.32.254     0.0.0.0         UG    600    0        0 wlp0s20f3
10.9.32.0       10.9.32.78      255.255.255.0   UG    300    0        0 wlp0s20f3
10.9.32.0       0.0.0.0         255.255.255.0   U     600    0        0 wlp0s20f3
192.168.0.0     192.168.0.1     255.255.255.0   UG    600    0        0 enx00e04c0c0736

执行ip route输出:

default via 10.9.32.254 dev wlp0s20f3 proto dhcp src 10.9.32.78 metric 600 
10.9.32.0/24 via 10.9.32.78 dev wlp0s20f3 src 10.9.32.78 metric 300 
10.9.32.0/24 dev wlp0s20f3 proto kernel scope link src 10.9.32.78 metric 600 
192.168.0.0/24 via 192.168.0.1 dev enx00e04c0c0736 src 192.168.0.1 metric 600

Traceroute测试结果

访问192.168.0.0网段节点(tvproj,192.168.0.2):

sudo traceroute tvproj
traceroute to tvproj (192.168.0.2), 30 hops max, 60 byte packets
 1  tvproj (192.168.0.2)  0.842 ms  0.807 ms  0.793 ms

访问10.9.32.x网段节点(w-tvproj,10.9.32.134):

sudo traceroute w-tvproj
traceroute to w-tvproj (10.9.32.134), 30 hops max, 60 byte packets
 1  w-ole (10.9.32.78)  3055.638 ms !H  3055.610 ms !H  3055.609 ms !H

补充信息

  • 在目标节点(w-tvproj)抓包,仅能看到192.168.0.x的数据包,无10.9.32.x的数据包
  • 恳请协助排查问题或指引正确的路由配置方法

内容的提问来源于stack exchange,提问作者O.Jensen

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.10 13:30:24