Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    All non-specified leases show "no subnet" in log

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TangoOverswayT
      TangoOversway
      last edited by

      I got into this because somehow pfSense stopped showing up in my LAN when I started using pfSense as the DHCP and DNS. While I'm treating that as a separate issue, I'm mentioning it in case it has some relation to this. When I had trouble with it showing up, I looked over my DHCP logs and found one system on my LAN was requesting 172.16.7.235 as an IP address. In my old DHCP, that address was not in the pool, but it is now. So I temporarily changed the address pool range and got the "no subnet" error on a number of log entries.

      I changed my address pool to cover the 172.16.7.200 - 172.16.7.240 range and now I'm getting a number of log entries in that range that are saying "No subnet:"

      Jun 3 03:13:14 dhcpd lease 172.16.7.239: no subnet.
      Jun 3 03:13:14 dhcpd lease 172.16.7.231: no subnet.
      Jun 3 03:13:14 dhcpd lease 172.16.7.221: no subnet.
      Jun 3 03:13:14 dhcpd lease 172.16.7.226: no subnet.
      Jun 3 03:13:14 dhcpd lease 172.16.7.238: no subnet.
      Jun 3 03:13:14 dhcpd lease 172.16.7.222: no subnet.
      Jun 3 03:13:14 dhcpd lease 172.16.7.203: no subnet.
      Jun 3 03:13:14 dhcpd lease 172.16.7.224: no subnet.

      It goes on and lists 40 addresses (out of 41 - 200 through 240) in the pool. Also, when I check leases, a number of devices that did not have assigned IPs in the DHCP configuration are not showing up in the list of leases. These are devices like Sonos speakers, printers, and so on. But I know a lot of the listed addresses are not in use.

      This is what, in the log, precedes the "no subnet" entries:

      Jun 3 03:11:59 dhcpd Copyright 2004-2018 Internet Systems Consortium.
      Jun 3 03:11:59 dhcpd All rights reserved.
      Jun 3 03:11:59 dhcpd For info, please visit https://www.isc.org/software/dhcp/
      Jun 3 03:11:59 dhcpd Wrote 0 deleted host decls to leases file.
      Jun 3 03:11:59 dhcpd Wrote 0 new dynamic host decls to leases file.
      Jun 3 03:11:59 dhcpd Wrote 51 leases to leases file.
      Jun 3 03:11:59 dhcpd Listening on BPF/mvneta0.4091/f0:ad:4e:0d:25:f5/172.16.7.0/24
      Jun 3 03:11:59 dhcpd Sending on BPF/mvneta0.4091/f0:ad:4e:0d:25:f5/172.16.7.0/24
      Jun 3 03:11:59 dhcpd Sending on Socket/fallback/fallback-net
      Jun 3 03:11:59 dhcpd Server starting service.
      Jun 3 03:11:59 dhcpleases Sending HUP signal to dns daemon(13864)
      Jun 3 03:11:59 dhcpleases Sending HUP signal to dns daemon(13864)
      Jun 3 03:13:11 dhcpleases /etc/hosts changed size from original!
      Jun 3 03:13:12 dhcpleases Sending HUP signal to dns daemon(13864)
      Jun 3 03:13:12 dhcpleases Could not deliver signal HUP to process because its pidfile (/var/run/unbound.pid) does not exist, No such process.
      Jun 3 03:13:13 dhcpleases kqueue error: unknown
      Jun 3 03:13:13 dhcpleases Sending HUP signal to dns daemon(62661)
      Jun 3 03:13:14 dhcpd Internet Systems Consortium DHCP Server 4.3.6-P1
      Jun 3 03:13:14 dhcpd Copyright 2004-2018 Internet Systems Consortium.
      Jun 3 03:13:14 dhcpd All rights reserved.
      Jun 3 03:13:14 dhcpd For info, please visit https://www.isc.org/software/dhcp/
      Jun 3 03:13:14 dhcpd Config file: /etc/dhcpd.conf
      Jun 3 03:13:14 dhcpd Database file: /var/db/dhcpd.leases
      Jun 3 03:13:14 dhcpd PID file: /var/run/dhcpd.pid
      Jun 3 03:13:14 dhcpd Internet Systems Consortium DHCP Server 4.3.6-P1
      Jun 3 03:13:14 dhcpd Copyright 2004-2018 Internet Systems Consortium.
      Jun 3 03:13:14 dhcpd All rights reserved.
      Jun 3 03:13:14 dhcpd For info, please visit https://www.isc.org/software/dhcp/

      What do I need to change to fix this?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.