我有一个小型家庭网络,其中有几台电脑/平板电脑和一台支持网络的打印机,全部通过 wifi 连接。问题是我无法从一台特定电脑(“A”,192.168.8.101)连接(ping)到网络打印机(192.168.8.25),而同时所有其他电脑都可以。具体来说:
- 这似乎是网络/路由问题,因为从“A” ping 打印机时出现“目标主机不可访问”错误消息
- 从任何其他计算机/平板电脑,都可以 ping 打印机,也可以浏览打印机的内置网络服务器并打印
- 从“A” ping 任何其他计算机均有效,网络连接也正常
- 路由表(“route print”)在“A”和其他机器上是相同的(见下文)
- “arp -a” 不会在“A”上显示打印机的 IP 地址,但在其他机器上会显示。
我已经尝试过:
- 关闭“A”上的防火墙(没有安装防病毒软件)
- 为打印机添加静态路由
- 禁用除 wifi 适配器之外的所有其他网络适配器
- 使用“netsh”命令添加静态 ARP 条目(这会导致 ping 时出现“请求超时”错误消息,而不是“目标主机无法访问”)
- 更改打印机的 IP 地址
- 为打印机使用静态 IP 地址。
到目前为止,什么都没有帮助。计算机“A”是唯一运行 Windows 8.1 的计算机。我不知道这是否会影响路由和/或地址解析。
我想知道接下来该怎么做才能解决问题。操作系统中是否有任何设置可以解释这种现象?
“ipconfig /all”的输出:
Windows IP Configuration
Host Name . . . . . . . . . . . . : ComputerA
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Local Area Connection* 19:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
Physical Address. . . . . . . . . : 86-3A-4B-47-E1-31
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 4:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Hosted Network Virtual Adapter
Physical Address. . . . . . . . . : 86-3A-4B-47-E1-30
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : 84-3A-4B-47-E1-31
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Ethernet 3:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #3
Physical Address. . . . . . . . . : 00-15-5D-90-D1-D8
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::38dc:b59e:3191:6515%9(Preferred)
IPv4 Address. . . . . . . . . . . : 169.254.80.80(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 939529565
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-28-15-BC-84-3A-4B-47-E1-30
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet 4:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
Physical Address. . . . . . . . . : 84-3A-4B-47-E1-30
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : F4-B7-E2-CE-86-09
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Mobile Broadband adapter Mobile broadband:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Ericsson C5621 gw
Physical Address. . . . . . . . . : 94-9B-B5-5F-5C-43
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6205
Physical Address. . . . . . . . . : 84-3A-4B-47-E1-30
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::d14a:e704:f11f:5501%3(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.8.101(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Freitag, 27. Dezember 2013 12:30:54
Lease Expires . . . . . . . . . . : Samstag, 28. Dezember 2013 12:30:55
Default Gateway . . . . . . . . . : 192.168.8.1
DHCP Server . . . . . . . . . . . : 192.168.8.1
DHCPv6 IAID . . . . . . . . . . . : 260323915
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-28-15-BC-84-3A-4B-47-E1-30
DNS Servers . . . . . . . . . . . : 195.34.133.21
212.186.211.21
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{97C67FE7-5E1A-4399-AB63-C0F08A323E68}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #9
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{1540CEC9-29E7-481C-9389-D54017341EBE}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #11
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
“route print”的输出:
===========================================================================
Interface List
37...86 3a 4b 47 e1 31 ......Microsoft Wi-Fi Direct Virtual Adapter #2
27...86 3a 4b 47 e1 30 ......Microsoft Hosted Network Virtual Adapter
26...84 3a 4b 47 e1 31 ......Microsoft Wi-Fi Direct Virtual Adapter
9...00 15 5d 90 d1 d8 ......Hyper-V Virtual Ethernet Adapter #3
8...84 3a 4b 47 e1 30 ......Hyper-V Virtual Ethernet Adapter #2
6...f4 b7 e2 ce 86 09 ......Bluetooth Device (Personal Area Network)
4...94 9b b5 5f 5c 43 ......Ericsson C5621 gw
3...84 3a 4b 47 e1 30 ......Intel(R) Centrino(R) Advanced-N 6205
1...........................Software Loopback Interface 1
20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #9
22...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #11
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.8.1 192.168.8.101 25
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
169.254.0.0 255.255.0.0 On-link 169.254.80.80 261
169.254.80.80 255.255.255.255 On-link 169.254.80.80 261
169.254.255.255 255.255.255.255 On-link 169.254.80.80 261
192.168.8.0 255.255.255.0 On-link 192.168.8.101 281
192.168.8.101 255.255.255.255 On-link 192.168.8.101 281
192.168.8.255 255.255.255.255 On-link 192.168.8.101 281
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 169.254.80.80 261
224.0.0.0 240.0.0.0 On-link 192.168.8.101 281
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 169.254.80.80 261
255.255.255.255 255.255.255.255 On-link 192.168.8.101 281
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
9 261 fe80::/64 On-link
3 281 fe80::/64 On-link
9 261 fe80::38dc:b59e:3191:6515/128
On-link
3 281 fe80::d14a:e704:f11f:5501/128
On-link
1 306 ff00::/8 On-link
9 261 ff00::/8 On-link
3 281 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
“arp -a”的输出:
Interface: 192.168.8.101 --- 0x3
Internet Address Physical Address Type
192.168.8.1 44-32-c8-74-d8-b1 dynamic
192.168.8.2 10-bf-48-d3-5d-40 dynamic
192.168.8.20 00-08-9b-be-2c-74 dynamic
192.168.8.123 00-1f-3c-b1-82-1d dynamic
192.168.8.200 00-0e-58-28-e6-b8 dynamic
192.168.8.205 00-0e-58-f3-36-8c dynamic
192.168.8.206 00-0e-58-67-17-18 dynamic
224.0.0.2 01-00-5e-00-00-02 static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.252 01-00-5e-00-00-fc static
224.0.1.60 01-00-5e-00-01-3c static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static
Interface: 169.254.80.80 --- 0x9
Internet Address Physical Address Type
169.254.255.255 ff-ff-ff-ff-ff-ff static
224.0.0.2 01-00-5e-00-00-02 static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.252 01-00-5e-00-00-fc static
224.0.1.60 01-00-5e-00-01-3c static
239.255.255.250 01-00-5e-7f-ff-fa static
答案1
在网上搜索了一番后,我找到了部分解决方案。看来,如果同时存在 5 GHz 网络,这台特定的网络打印机 (HP OfficeJet 8500 pro) 确实存在问题。我在路由器上将其关闭,然后它突然恢复了工作(我可以从所有计算机 ping 和打印)。
但是,这并不能解释为什么以前只是无法从计算机 A ping 通,而从所有其他计算机都可以 ping 通。另外,为了将来参考,我想知道如何进一步解决此类问题...欢迎提出任何建议!
答案2
我认为真正的问题是以太网适配器 Ethernet 3 的优先级高于 WiFi,因此虚拟网络内的 ping 会丢失。您应该尝试禁用 Ethernet 3,然后重试。