大更新:我是盲目的我现在看到路由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忽略路由并通过默认路由进入Internet.
我也尝试过禁用防火墙.
我唯一能想到的是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]
看起来无法访问此网络的网关 – 尝试ping 172.17.50.10