I tried to set up a simple DHCP server on my brand new Fedora 11 installation via Webmin. I’d put in all the relevant information, but I kept getting a dhcpd start fail.
When I tried starting the dhcpd
$ sudo /usr/sbin/dhcpd
it returned an error that looks something like:
No subnet declaration for eth0
** Ignoring requests for eth0
What I found out is that webmin looks for the dhcpd.conf file in /etc/dhcpd.conf while Fedora 11 places it in /etc/dhcp/dhcpd.conf.
To fix this:
- In webmin, click on the Module Config link on the top left corner of the DHCP Server webmin page.
- In the DHCP server config file text box, change the value to /etc/dhcp/dhcpd.conf then save.
- Reconfigure the DHCP Server configuration.
- Click ‘Start Server’ when you’re done.
It should work now.
Thanks to this post