Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. No free leases (Alan Batie) 2. Re: No free leases (Greg Sloop <gr...@sloop.net>) ---------------------------------------------------------------------- Message: 1 Date: Tue, 23 Aug 2022 14:39:22 -0700 From: Alan Batie <a...@peak.org> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: No free leases Message-ID: <3e6172de-385b-46e2-a8a6-857093660...@peak.org> Content-Type: text/plain; charset="utf-8"; Format="flowed" 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 alan.ba...@peakinternet.com <mailto:alan.ba...@peakinternet.com> www.peakinternet.com <https://www.peakinternet.com> PEAK Internet Logo Empowering people and improving quality of life. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3987 bytes Desc: S/MIME Cryptographic Signature URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220823/a74e15c8/attachment-0001.bin> ------------------------------ Message: 2 Date: Tue, 23 Aug 2022 14:46:33 -0700 From: "Greg Sloop <gr...@sloop.net>" <gr...@sloop.net> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: No free leases Message-ID: <caajorqu73l0f7mxrtgrufqwkw7yt62sz1mmnd+w+vaihq_y...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 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 <a...@peak.org> 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 > alan.ba...@peakinternet.com <mailto:alan.ba...@peakinternet.com> > 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 > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20220823/cad8f25b/attachment-0001.htm> ------------------------------ Subject: Digest Footer _______________________________________________ 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 dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 166, Issue 9 ******************************************