我的Windows Server 2012网络适配器配置如下:
192.168.144.1 是我的路由器地址。从同一台服务器,以下结果是tracert google.com
:
该服务器的名称是“VQ40DE”,位于“poconoacademy.org”域中。奇怪的是,它试图将自己作为前往 google.com 的第一跳,更奇怪的是它“无法访问”。
从连接到同一域的台式机开始,第一跳是tracert google.com
到路由器 192.168.144.1,然后继续正确路由互联网流量。
我这里配置有什么错误吗?
Interface List
12...c8 60 00 32 27 6c ......Intel(R) 82579V Gigabit Network Connection
1...........................Software Loopback Interface 1
14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
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 On-link 192.168.144.12 266
0.0.0.0 0.0.0.0 192.168.144.1 192.168.144.12 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
192.168.144.0 255.255.255.0 On-link 192.168.144.12 266
192.168.144.12 255.255.255.255 On-link 192.168.144.12 266
192.168.144.255 255.255.255.255 On-link 192.168.144.12 266
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 192.168.144.12 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 192.168.144.12 266
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.144.12 Default
0.0.0.0 0.0.0.0 192.168.144.1 Default
===========================================================================
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
从台式计算机上看,一切都正常运行:
删除 192.168.144.12 的持久路由后:
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 On-link 192.168.144.12 266
0.0.0.0 0.0.0.0 192.168.144.1 192.168.144.12 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
192.168.144.0 255.255.255.0 On-link 192.168.144.12 266
192.168.144.12 255.255.255.255 On-link 192.168.144.12 266
192.168.144.255 255.255.255.255 On-link 192.168.144.12 266
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 192.168.144.12 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 192.168.144.12 266
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.144.1 Default
Tracing route to google.com [172.217.1.14]
over a maximum of 30 hops:
1 VQ40DE.PoconoAcademy.org [192.168.144.12] reports: Destination host unreac
hable.
Trace complete.
答案1
我认为下面的条目持久路由造成了麻烦。
0.0.0.0 0.0.0.0 192.168.144.12 默认
使用 route delete 0.0.0.0 192.168.144.12 删除它并尝试。
答案2
您应该尝试在首选 DNS 服务器字段中使用 google DNS(8.8.8.8 或 8.8.4.4)。
路由器地址(192.168.144.1)将充当此服务器上的网关。