# DHCP: No free leases in pool 192.168.1.0/24, server 10.0.0.1

- **ID:** `networking/dhcp-server-exhausted-pool`
- **Domain:** networking
- **Category:** resource_error
- **Verification:** ai_generated
- **Fix Rate:** 90%

## Root Cause

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.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| ISC DHCP 4.4 | active | — | — |
| Kea 2.4 | active | — | — |
| dnsmasq 2.89 | active | — | — |
| Windows Server 2022 DHCP | active | — | — |

## Workarounds

1. **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** (95% success)
   ```
   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
   ```
2. **Manually release unused leases by clearing the DHCP lease file and restarting: rm /var/lib/dhcp/dhcpd.leases && systemctl restart isc-dhcp-server** (90% success)
   ```
   Manually release unused leases by clearing the DHCP lease file and restarting: rm /var/lib/dhcp/dhcpd.leases && systemctl restart isc-dhcp-server
   ```

## Dead Ends

- **** — Restarting does not free existing leases; the pool remains exhausted. (95% fail)
- **** — Existing leases retain their original lease time until renewal; the change only affects future leases. (80% fail)
