Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I have a DHCP server on a CentOS 5.5 box and I have a couple of questions: 1) The dhcpd.conf file is in etc. I'd like to move ...
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Posts
    1

    DHCP include config files

    Hi all,

    I have a DHCP server on a CentOS 5.5 box and I have a couple of questions:

    1) The dhcpd.conf file is in etc. I'd like to move it to a folder I've created in etc labeled "dhcpd." How can I do this and keep the service functioning?

    2) I've tried to use the line 'include "/etc/dhdpd/conf/subnet2.conf"' as an include in dhcpd.conf. It's not working. The dhcpd service will not start after after the line is added to the dhcpd.conf file. How can I add includes to the dhcpd.conf file?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Start dhcpd with the option "-cf cfgfilepath". Read the dhcpd manpage for more information. You are trying too hard...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...