将 PC 从 Windows 10 升级到 11 后,唤醒/重启后的 PC 第一次尝试时无法连接到网络上的另一个设备,但第二次尝试时总是可以连接。
PC 有 2 个网卡,无线网卡通过路由器连接到互联网,有线网卡连接到网络交换机,网络设备也连接到该交换机。无线适配器使用默认设置,其 IP 为192.168.1.43
,有线网络适配器已将手动 IP 地址设置为192.168.1.212
,设备的 IP 为192.168.1.210
奇怪的是,当我 ping 设备时,第一次尝试转到错误的 IP 地址:
PS C:\> ping 192.168.1.210
Pinging 192.168.1.210 with 32 bytes of data:
Reply from 192.168.1.43: Destination host unreachable.
Reply from 192.168.1.210: bytes=32 time=2ms TTL=64
Reply from 192.168.1.210: bytes=32 time=2ms TTL=64
Reply from 192.168.1.210: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.210:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 2ms, Average = 1ms
禁用无线适配器后,我得到以下信息:
PS C:\> ping 192.168.1.210
Pinging 192.168.1.210 with 32 bytes of data:
PING: transmit failed. General failure.
Reply from 192.168.1.210: bytes=32 time<1ms TTL=64
Reply from 192.168.1.210: bytes=32 time<1ms TTL=64
Reply from 192.168.1.210: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.210:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
知道为什么会发生这种情况以及如何解决它吗?
[编辑] 唤醒后arp -a
返回:
PS C:\> arp -a
Interface: 192.168.1.43 --- 0xe
Internet Address Physical Address Type
192.168.1.1 04-a1-51-30-01-07 dynamic
192.168.1.2 00-40-9d-67-5e-3c dynamic
192.168.1.19 b0-fc-36-76-e9-ad dynamic
192.168.1.76 00-00-00-04-fd-7f dynamic
192.168.1.250 9c-3d-cf-e1-d8-0c dynamic
192.168.1.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.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static
255.255.255.255 ff-ff-ff-ff-ff-ff static
但第一次 ping 后显示如下信息:
PS C:\> arp -a
Interface: 192.168.1.212 --- 0xc
Internet Address Physical Address Type
192.168.1.210 00-01-15-e2-97-00 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.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
224.0.1.60 01-00-5e-00-01-3c static
224.0.6.151 01-00-5e-00-06-97 static
239.255.255.250 01-00-5e-7f-ff-fa static
239.255.255.253 01-00-5e-7f-ff-fd static
Interface: 192.168.1.43 --- 0xe
Internet Address Physical Address Type
192.168.1.1 04-a1-51-30-01-07 dynamic
192.168.1.2 00-40-9d-67-5e-3c dynamic
192.168.1.19 b0-fc-36-76-e9-ad dynamic
192.168.1.76 00-00-00-04-fd-7f dynamic
192.168.1.250 9c-3d-cf-e1-d8-0c dynamic
192.168.1.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.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
224.0.1.60 01-00-5e-00-01-3c static
224.0.6.151 01-00-5e-00-06-97 static
239.255.255.250 01-00-5e-7f-ff-fa static
239.255.255.253 01-00-5e-7f-ff-fd static
255.255.255.255 ff-ff-ff-ff-ff-ff static