Windows 通过错误的接口进行路由

Windows 通过错误的接口进行路由

我使用的是 Windows 10 21H1。我的机器连接了多个网络。我注意到我无法 ping 192.168.3.* 网络中的主机。这是我的路由表:

          0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.126     25
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    331
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    331
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    331
      192.168.0.0    255.255.255.0         On-link     192.168.0.126    281
    192.168.0.126  255.255.255.255         On-link     192.168.0.126    281
    192.168.0.255  255.255.255.255         On-link     192.168.0.126    281
      192.168.1.0    255.255.255.0         On-link      192.168.1.80    281
     192.168.1.80  255.255.255.255         On-link      192.168.1.80    281
    192.168.1.255  255.255.255.255         On-link      192.168.1.80    281
      192.168.3.0    255.255.255.0         On-link      192.168.3.86    281
     192.168.3.86  255.255.255.255         On-link      192.168.3.86    281
    192.168.3.255  255.255.255.255         On-link      192.168.3.86    281
    192.168.117.0    255.255.255.0         On-link     192.168.117.1    291
    192.168.117.1  255.255.255.255         On-link     192.168.117.1    291
  192.168.117.255  255.255.255.255         On-link     192.168.117.1    291
    192.168.232.0    255.255.255.0         On-link     192.168.232.1    291
    192.168.232.1  255.255.255.255         On-link     192.168.232.1    291
  192.168.232.255  255.255.255.255         On-link     192.168.232.1    291
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    331
        224.0.0.0        240.0.0.0         On-link     192.168.232.1    291
        224.0.0.0        240.0.0.0         On-link     192.168.117.1    291
        224.0.0.0        240.0.0.0         On-link      192.168.1.80    281
        224.0.0.0        240.0.0.0         On-link      192.168.3.86    281
        224.0.0.0        240.0.0.0         On-link     192.168.0.126    281
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    331
  255.255.255.255  255.255.255.255         On-link     192.168.232.1    291
  255.255.255.255  255.255.255.255         On-link     192.168.117.1    291
  255.255.255.255  255.255.255.255         On-link      192.168.1.80    281
  255.255.255.255  255.255.255.255         On-link      192.168.3.86    281
  255.255.255.255  255.255.255.255         On-link     192.168.0.126    281

这是输出tracert -d 192.168.3.19

  1    <1 ms    <1 ms    <1 ms  192.168.0.1
  2    33 ms    14 ms    24 ms  192.168.8.1
  3  ^C

如您所见,它通过错误的接口进行路由。为什么会发生这种情况?我该如何修复?

UPD。我希望它将数据包直接路由到 192.168.3.19,因为路由表中有以下行:

192.168.3.0 255.255.255.0 On-link 192.168.3.86 281

它不是说“对于 192.168.3.0 网络的所有节点,直接将数据包路由到它们”吗?192.168.3.86 是我的计算机的 IP 地址。

相关内容