<div dir="ltr"><div>Hi,</div><div><br></div><div>not sure if this is the right place to ask. I recently installed isc-dhcp-server on a new computer. This computer runs Armbian 22.11.4 Jammy based on Ubuntu 22.04.1 LTS.</div><div>The isc-dhcp-server package version is 4.4.1-2.3ubuntu2.3.</div><div><br></div><div>My  /etc/default/isc-dhcp-server contains:</div><div>INTERFACESv4="eth0"</div><div><br></div><div>However on some boots, systemd fails to start the isc-dhcp-server service. Checking the logs I found:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>Feb 02 09:36:02 rock64 sh[1162]: No subnet declaration for eth0 (no IPv4 addresses).</div><div>Feb 02 09:36:02 rock64 sh[1162]: ** Ignoring requests on eth0.  If this is not what</div><div>Feb 02 09:36:02 rock64 sh[1162]:    you want, please write a subnet declaration</div><div>Feb 02 09:36:02 rock64 sh[1162]:    in your dhcpd.conf file for the network segment</div><div>Feb 02 09:36:02 rock64 sh[1162]:    to which interface eth0 is attached. **</div><div>Feb 02 09:36:02 rock64 sh[1162]: Not configured to listen on any interfaces!</div><div>Feb 02 09:36:02 rock64 sh[1162]: If you think you have received this message due to a bug rather</div><div>Feb 02 09:36:02 rock64 sh[1162]: than a configuration issue please read the section on submitting</div><div>Feb 02 09:36:02 rock64 sh[1162]: bugs on either our web page at <a href="http://www.isc.org">www.isc.org</a> or in the README file</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: No subnet declaration for eth0 (no IPv4 addresses).</div><div>Feb 02 09:36:02 rock64 sh[1162]: before submitting a bug.  These pages explain the proper</div><div>Feb 02 09:36:02 rock64 sh[1162]: process and the information we find helpful for debugging.</div><div>Feb 02 09:36:02 rock64 sh[1162]: exiting.</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: ** Ignoring requests on eth0.  If this is not what</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]:    you want, please write a subnet declaration</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]:    in your dhcpd.conf file for the network segment</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]:    to which interface eth0 is attached. **</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]:</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]:</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: Not configured to listen on any interfaces!</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]:</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: If you think you have received this message due to a bug rather</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: than a configuration issue please read the section on submitting</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: bugs on either our web page at <a href="http://www.isc.org">www.isc.org</a> or in the README file</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: before submitting a bug.  These pages explain the proper</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: process and the information we find helpful for debugging.</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]:</div><div>Feb 02 09:36:02 rock64 systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE</div><div>Feb 02 09:36:02 rock64 dhcpd[1162]: exiting.</div><div>Feb 02 09:36:02 rock64 systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.</div></blockquote><div><br></div><div>However when I check the interfaces right after boot:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>rock64:markus:# ip address</div><div>1: lo: [....]</div><div>2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000</div><div>    link/ether c2:48:08:12:53:18 brd ff:ff:ff:ff:ff:ff</div><div>    inet <a href="http://192.168.129.22/24">192.168.129.22/24</a> brd 192.168.129.255 scope global noprefixroute eth0</div><div>       valid_lft forever preferred_lft forever</div><div>    inet6 fe80::c048:8ff:fe12:5318/64 scope link</div><div>       valid_lft forever preferred_lft forever</div></blockquote><div><br></div><div>I have an ip address and subnet successfully statically set via my applied netplan (renderer: NetworkManager).</div><div><br></div><div>I double checked that network-online is a dependency for isc-dhcp-server so it doesn't try to start before the IP address is configured, but network-online is correctly already a dependency by default:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>rock64:markus:# systemctl list-dependencies isc-dhcp-server</div><div>isc-dhcp-server.service</div><div>● ├─-.mount</div><div>● ├─system.slice</div><div>● ├─network-online.target</div><div>● │ └─networking.service</div><div>● └─sysinit.target [...]</div></blockquote><div><br></div><div>Any idea what could be the problem?</div><div><br></div><div>Best regards</div><div>Markus</div></div>