Re: No free leases
| Newsgroups | gmane.network.dhcp.isc.dhcp-server |
|---|---|
| Message-ID | <CAAjorqU73L0f7MXrtGRUFqWkW7YT62sz1mMND+W+VAihq_YKTw__10325.3417810024$1661291223$gmane$org@mail.gmail.com> |
One place where I've seen it most is where you're using a dhcp "relay" and the network the relay is on, doesn't match the subnet you have configured to lease from. (i.e. The relay is on 10.1.0.0/24 and the subnet configured on dhcpd is 10.2.0.0/24. So, yes, there ARE NO free leases in 10.1.0.0/24, because there really aren't. It's a misleading question, since you'd expect it to complain that you haven't configured 10.1.0.0/24.) HTH On Tue, Aug 23, 2022, 2:40 PM Alan Batie <[email protected]> wrote: > I have a small test network and a dhcp server that was working for it > previously, and is currently working for other, similar, production > networks. After bringing the test network back up, the dhcp server is > saying "no free leases" for no apparent reason, and I'm hoping someone > can point me at the problem: > > Config: > > subnet 207.55.34.16 netmask 255.255.255.240 { > option routers 207.55.34.17; > option broadcast-address 207.55.34.31; > option domain-name-servers 69.59.192.61, 69.59.192.62; > > pool { > max-lease-time 300; # 5 minutes for debugging > range 207.55.34.20 207.55.34.28; > } > } > > All the leases are free: > > lease 207.55.34.20 { > starts 3 2021/04/07 16:30:12; > ends 3 2021/04/07 16:35:12; > tsfp 3 2021/04/07 16:37:42; > atsfp 3 2021/04/07 16:37:42; > binding state free; > hardware ethernet 48:77:46:f9:5b:b0; > set vendor-string = "GS4220E.ONT.dslforum.org"; > } > lease 207.55.34.25 { > starts 3 2021/04/07 16:35:22; > ends 3 2021/04/07 16:35:25; > tsfp 3 2021/04/07 16:35:25; > atsfp 3 2021/04/07 16:35:25; > binding state free; > hardware ethernet 48:77:46:f9:5b:b0; > } > lease 207.55.34.26 { > starts 3 2021/04/07 16:36:26; > ends 3 2021/04/07 16:36:29; > tsfp 3 2021/04/07 16:36:29; > atsfp 3 2021/04/07 16:36:29; > binding state free; > hardware ethernet 48:77:46:f9:5b:b0; > } > lease 207.55.34.24 { > starts 4 2022/01/06 22:14:35; > ends 4 2022/01/06 22:19:35; > binding state free; > hardware ethernet d0:76:8f:6f:dc:15; > set vendor-string = "GS4220E.ONT.dslforum.org"; > } > lease 207.55.34.27 { > starts 6 2022/03/12 00:51:18; > ends 6 2022/03/12 00:56:18; > binding state free; > hardware ethernet 48:77:46:f9:5b:b0; > set vendor-string = "GS4220E.ONT.dslforum.org"; > } > > > From the log file: > > Aug 23 14:28:20 dhcp01-u dhcpd[3044108]: DHCPDISCOVER from > f8:85:f9:2b:87:19 via 207.55.34.17: network 207.55.34.16/28: no free > leases > > > -- > ALAN BATIE > Senior Systems Engineer > 541-754-7325 > [email protected] <mailto:[email protected]> > www.peakinternet.com <https://www.peakinternet.com> > > PEAK Internet Logo > Empowering people and improving quality of life. > > -- > ISC funds the development of this software with paid support > subscriptions. Contact us at https://www.isc.org/contact/ for more > information. > > dhcp-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/dhcp-users > -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/dhcp-users