networking
network_error
ai_generated
true
DHCP:检测到192.168.1.100地址冲突,正在禁用接口eth0
DHCP: Address conflict detected for 192.168.1.100, disabling interface eth0
ID: networking/dhcp-address-conflict
85%修复率
85%置信度
1证据数
2024-01-20首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| ISC DHCP client 4.4-4.5 | active | — | — | — |
| systemd-networkd 250-256 | active | — | — | — |
| dhcpcd 9.4-10.0 | active | — | — | — |
| Linux kernel 5.15-6.8 | active | — | — | — |
| Windows 10/11 DHCP client | active | — | — | — |
根因分析
DHCP客户端收到IP地址的ACK后,通过ARP探测发现另一台主机正在使用相同IP,导致客户端释放该地址并禁用接口以避免IP冲突。
English
The DHCP client received an ACK for an IP address, but then detected another host using the same IP via ARP probe, causing the client to release the address and disable the interface to avoid IP conflicts.
官方文档
https://www.isc.org/dhcp/解决方案
-
Release and request a new IP: `dhclient -r eth0; dhclient eth0` to get a different address from the pool.
-
Identify the conflicting host by checking ARP table: `arp -a | grep 192.168.1.100` and remove it from the network, or exclude that IP from the DHCP pool on the server.
-
Configure a DHCP reservation on the server for the client's MAC address to ensure it always gets the same IP and avoid conflicts.
无效尝试
常见但无效的做法:
-
Setting a static IP on the client without checking the DHCP pool
80% 失败
The static IP may still conflict with the DHCP server's pool, leading to the same error or network instability.
-
Restarting the DHCP client repeatedly (e.g., `dhclient -r && dhclient`)
85% 失败
The conflicting host is still on the network; the same IP may be reassigned, causing immediate conflict again.
-
Ignoring the error and assuming it's a one-time glitch
95% 失败
The interface remains disabled, so the client has no network connectivity until manually re-enabled.