Windows Server 2012 忽略静态路由

Windows Server 2012 忽略静态路由

重大更新:我以前是瞎子,现在才知道路由 172.17.50.1 有网络掩码 255.255.255.255,所以它指向单个主机!但现在我不明白如何 ping 172.17.50.10,因为没有路由可以到达它。

我有一台 Windows Server 2012,添加了一个 OpenVPN VPN。然后我使用 VPN 作为网关添加了到 10.1.0.0/24 的静态路由。如下所示,Windows 忽略了该路由并通过默认路由访问互联网。我也尝试过禁用防火墙。我唯一能想到的是 10.1.0.0/24 路由​​与任何本地网络接口无关。

我能做些什么?

以下是路线打印:

===========================================================================
 Interface List
 18...00 ff 44 8f 66 99 ......TAP-Windows Adapter V9
 13...00 50 56 a2 18 ea ......Intel(R) PRO/1000 MT Network Connection #2
 12...00 50 56 a2 18 eb ......Intel(R) PRO/1000 MT Network Connection
 1...........................Software Loopback Interface 1
 16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 14...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
 19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
 15...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     109.168.95.1    109.168.95.39    266
         10.2.4.0    255.255.255.0         On-link          10.2.4.2    266
         10.2.4.2  255.255.255.255         On-link          10.2.4.2    266
       10.2.4.255  255.255.255.255         On-link          10.2.4.2    266
     109.168.95.0    255.255.255.0         On-link     109.168.95.39    266
    109.168.95.39  255.255.255.255         On-link     109.168.95.39    266
   109.168.95.255  255.255.255.255         On-link     109.168.95.39    266
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      172.17.50.0    255.255.255.0      172.17.50.2      172.17.50.1     30
      172.17.50.0  255.255.255.252         On-link       172.17.50.1    286
      172.17.50.1  255.255.255.255         On-link       172.17.50.1    286
      172.17.50.3  255.255.255.255         On-link       172.17.50.1    286
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link       172.17.50.1    286
        224.0.0.0        240.0.0.0         On-link          10.2.4.2    266
        224.0.0.0        240.0.0.0         On-link     109.168.95.39    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link       172.17.50.1    286
  255.255.255.255  255.255.255.255         On-link          10.2.4.2    266
  255.255.255.255  255.255.255.255         On-link     109.168.95.39    266
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
         10.1.0.0    255.255.255.0     172.17.50.10       1
          0.0.0.0          0.0.0.0     109.168.95.1  Default
===========================================================================

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
 14   1011 ::/0                     2002:c058:6301::1
 14   1026 ::/0                     2002:c058:6301::c058:6301
  1    306 ::1/128                  On-link
 14   1010 2002::/16                On-link
 14    266 2002:6da8:5f27::6da8:5f27/128
                                    On-link
 18    286 fe80::/64                On-link
 18    286 fe80::fd4b:756f:5d03:195f/128
                                    On-link
  1    306 ff00::/8                 On-link
 18    286 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

痕迹

C:\Users\Administrator>tracert 10.1.0.1

Tracing route to 10.1.0.1 over a maximum of 30 hops

  1    <1 ms    <1 ms    <1 ms  3.95.168.109.host.static.ip.kpnqwest.it [109.168.95.3]
  2    <1 ms    <1 ms    <1 ms  cr2-ge1-47-cal3.mil.kpnqwest.it [94.141.0.50]
  3    <1 ms    <1 ms    <1 ms  cr2-ge1-8-cal1.mil.kpnqwest.it [94.141.0.45]

答案1

看起来该网络的网关不可访问 - 尝试 ping 172.17.50.10

相关内容