![Windows 特定路由未遵循 192.168.0.0/24 子网](https://linux22.com/image/1614835/Windows%20%E7%89%B9%E5%AE%9A%E8%B7%AF%E7%94%B1%E6%9C%AA%E9%81%B5%E5%BE%AA%20192.168.0.0%2F24%20%E5%AD%90%E7%BD%91.png)
我的 IP 地址是 10.0.1.15,我正尝试通过默认网关 10.0.2.133 路由访问 192.168.0.0/24 上的 IP 地址。有人能解释一下为什么 tracert 到 192.168.0.134 仍然会转到 10.0.1.254 而不是 10.0.2.133 吗?
C:\Users\administrator>route print
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.1.254 10.0.1.15 6
10.0.1.0 255.255.255.0 On-link 10.0.1.15 261
10.0.1.15 255.255.255.255 On-link 10.0.1.15 261
10.0.1.255 255.255.255.255 On-link 10.0.1.15 261
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
192.168.0.0 255.255.255.0 10.0.2.133 10.0.1.15 7
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 10.0.1.15 261
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 10.0.1.15 261
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 10.0.1.254 1
192.168.0.0 255.255.255.0 10.0.2.133 1
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
1 306 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\Users\administrator>tracert 192.168.0.134
Tracing route to 192.168.0.134 over a maximum of 30 hops
1 <1 ms <1 ms <1 ms 10.0.1.254
2 * * * Request timed out.
3 ^C