2009-12-22, Tue

dhcpd quirks in Fedora 11 with webmin

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:

  1. In webmin, click on the Module Config link on the top left corner of the DHCP Server webmin page.
  2. In the DHCP server config file text box, change the value to /etc/dhcp/dhcpd.conf then save.
  3. Reconfigure the DHCP Server configuration.
  4. Click ‘Start Server’ when you’re done.

It should work now.

Thanks to this post

Isaac Su

tags: dhcpd dhcpd.conf fedora-11 webmin

---

Comment

Commenting is closed for this article.

---