我有一台 Windows 11 计算机,它每天多次断开有线网络,每次断开 5 秒左右,有时几分钟内或每 15 分钟左右断开多次。它伴随着事件 27“网络链接断开”。
这个网络上有多种设备,只有这台机器受到影响。
我认为它正在进行某种有缺陷的 DHCP 更新。
负责 DHCP 的诺基亚 10G PON ONT 每次都会在其日志中显示此信息(aquanaut 是受影响 PC 的主机名):
[notice] <133>1 2023-12-25T21:29:03.489941+00:00 AONT dhcpd 3064 - - DHCP-Comm:[check_port_ingress] iftype= ifname=eth4.0
[notice] <133>1 2023-12-25T21:29:03.489969+00:00 AONT dhcpd 3064 - - Try to read file /configs/etc/dhcpsnoop.conf_orig contents and look for interface eth4.0!
[notice] <133>1 2023-12-25T21:29:03.490011+00:00 AONT dhcpd 3064 - - read_gre_config: Read file /configs/etc/dhcpsnoop.conf_orig with data
[notice] <133>1 2023-12-25T21:29:03.490027+00:00 AONT dhcpd 3064 - - option_82=1
[notice] <133>1 2023-12-25T21:29:03.490043+00:00 AONT dhcpd 3064 - - option_60=1
[notice] <133>1 2023-12-25T21:29:03.490058+00:00 AONT dhcpd 3064 - - service_id=
[notice] <133>1 2023-12-25T21:29:03.490073+00:00 AONT dhcpd 3064 - - cktid_format=1
[notice] <133>1 2023-12-25T21:29:03.490087+00:00 AONT dhcpd 3064 - - rmtid_format=1
[notice] <133>1 2023-12-25T21:29:03.490109+00:00 AONT dhcpd 3064 - - Contents of file /configs/etc/dhcpsnoop.conf_orig
[notice] <133>1 2023-12-25T21:29:03.490124+00:00 AONT dhcpd 3064 - - option_82=1
[notice] <133>1 2023-12-25T21:29:03.490139+00:00 AONT dhcpd 3064 - - option_60=1
[notice] <133>1 2023-12-25T21:29:03.503694+00:00 AONT dhcpd 3064 - - service_id=
[notice] <133>1 2023-12-25T21:29:03.503722+00:00 AONT dhcpd 3064 - - cktid_format=1
[notice] <133>1 2023-12-25T21:29:03.503738+00:00 AONT dhcpd 3064 - - rmtid_format=1
[notice] <133>1 2023-12-25T21:29:03.504463+00:00 AONT dhcpd 3064 - - DHCP-Comm:sendACK() the Host-Name:aquanautQ#013 length:[8].
[notice] <133>1 2023-12-25T21:29:03.504492+00:00 AONT dhcpd 3064 - - DHCP-Comm:create_or_update_lease() MAC:ADDRESS:REDACTED ip(8101a8c0),portid=0, addrServPool default, lease=86400.
[notice] <133>1 2023-12-25T21:29:03.571871+00:00 AONT dhcpd 3064 - - DHCP-Comm:dealRequestMessage() Deal Dhcp-RequestMessage Success! DHCP request port-0, MAC:ADDRESS:REDACTED RequestIP-0 XID-14ea467b
[notice] <133>1 2023-12-25T21:29:33.613828+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:29:35.655079+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:32:03.728847+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:32:05.775116+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:34:33.843828+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:34:35.890088+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:34:45.063829+00:00 AONT dhcpc 4329 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:34:47.105269+00:00 AONT dhcpc 4329 - - dhcpc:mask=100000,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:37:03.958833+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:37:06.005104+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:39:34.068833+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:39:36.110075+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:42:04.183835+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:42:06.235023+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:44:34.298833+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:44:36.340118+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:47:04.413838+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:47:06.465075+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:49:34.523829+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:49:36.575100+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:52:04.638830+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:52:06.685968+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:54:34.748836+00:00 AONT dhcpc 4317 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:54:36.795056+00:00 AONT dhcpc 4317 - - dhcpc:mask=0,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
[notice] <133>1 2023-12-25T21:54:45.178837+00:00 AONT dhcpc 4329 - - DHCP-Comm:send_renew() Unicasts a DHCP renew message
[notice] <133>1 2023-12-25T21:54:47.234959+00:00 AONT dhcpc 4329 - - dhcpc:mask=100000,ip=0.0.0.0,mask=0.0.0.0,tftpserver=0.0.0.0,
我尝试了 3 种不同的 NIC(板载、PCIE 和 USB,芯片组来自不同的制造商)。但没有什么区别。我尝试禁用所有第三方软件,甚至重新安装了 Windows。我也尝试从网络中删除所有其他设备并更换网线。没有什么区别。
编辑:这原来是 PC 内部的以太网布线有问题(机箱的外形意味着 NIC 本身并不直接暴露在机箱背面,而是通过一条小延长线到达那里)。DHCP 日志只是一种障眼法,是问题的症状,而不是问题的原因。