networking
resource_error
ai_generated
true
DHCP:池192.168.1.0/24中无可用租约,服务器10.0.0.1
DHCP: No free leases in pool 192.168.1.0/24, server 10.0.0.1
ID: networking/dhcp-server-exhausted-pool
90%修复率
88%置信度
1证据数
2023-11-05首次发现
版本兼容性
| 版本 | 状态 | 引入 | 弃用 | 备注 |
|---|---|---|---|---|
| ISC DHCP 4.4 | active | — | — | — |
| Kea 2.4 | active | — | — | — |
| dnsmasq 2.89 | active | — | — | — |
| Windows Server 2022 DHCP | active | — | — | — |
根因分析
DHCP服务器已分配了配置作用域中的所有可用IP地址,且没有租约过期或释放以容纳新客户端。
English
The DHCP server has assigned all available IP addresses in the configured scope, and no leases have expired or been released to accommodate new clients.
官方文档
https://www.isc.org/dhcp/解决方案
-
Expand the DHCP pool by adding more IP addresses to the scope: in dhcpd.conf, change 'range 192.168.1.100 192.168.1.200;' to 'range 192.168.1.100 192.168.1.250;' and restart the server
-
Manually release unused leases by clearing the DHCP lease file and restarting: rm /var/lib/dhcp/dhcpd.leases && systemctl restart isc-dhcp-server
无效尝试
常见但无效的做法:
-
95% 失败
Restarting does not free existing leases; the pool remains exhausted.
-
80% 失败
Existing leases retain their original lease time until renewal; the change only affects future leases.