Re: isc-dhcp-server ignoring requests because there are no IPv4 addresses configured

Simon <[email protected]> Tue, 14 Feb 2023 17:38:42 +0000
Newsgroups gmane.network.dhcp.isc.dhcp-server
Message-ID <[email protected]>
Markus Krainz <[email protected]> wrote:

> No, I don't have an explicit subnet declaration for the 192.168.129.x network in /etc/dhcpd.conf.
> I would like this information to come from the configured network mask / address on the interface.

Even if you do not serve client directly connected to the interface, you should still have a matching subnet declared. So for the interface with address  192.168.129.22/24, you should have a subnet declaration :
subnet 192.168.129.22 255.255.255.0 {
}

This will satisfy the error checks on startup (you probably have a warning issued on startup without it), but as there is nothing defined (no pools) within it, no direct requests will be served. If there were any directly connected clients, then you’d see “no free leases” in the logs.


Simon

-- 
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