I've confirmed my suspicion and provided a fix to my problem. I checked the isc-dhcp-server upstart configuration file:
/etc/init/isc-dhcp-server.conf
and it did not depend on any interface before starting. I changed the "on start" line in /etc/init/isc-dhcp-server.conf to look like this:
Code:
start on runlevel [2345] and net-device-up IFACE=eth1
I added the stuff after and including "and...". Now, after a reboot I get:
Code:
service isc-dhcp-server status
isc-dhcp-server start/running, process 2853
Now, please note that I'm running my DHCP server on eth1. Please adjust accordingly. Also note: it would be cleaner if the "on start" dependency automatically depended on any interfaces defined in /etc/default/isc-dhcp-server, but I'll leave that to ISC developers.
Bookmarks