Include a file from dhcpd.conf in ISC DHCPD

Glenn Satchell Glenn.Satchell at uniq.com.au
Wed Nov 29 10:53:30 UTC 2006


dhcp-2.0 is *very old* - about 5-6 years. It does not support the
include statement. Suggest you upgrade to dhcp-3.0.5 (the latest
stable) where include works very nicely.

regards,
-glenn

>To: dhcp-users at isc.org
>From: Santi Saez <santi at usansolo.net>
>Subject: Include a file from dhcpd.conf in ISC DHCPD
>Date: Wed, 29 Nov 2006 10:51:48 +0100
>
>Hello,
>
>I want to include a file from the main "dhcpd.conf" configuration  
>file, I have search some examples using this syntax:
>
>include "/etc/dhcpd/test.conf"
>
>But if a I put "include" directive I get this error on a server  
>running Debian Sarge and ISC DHPC 2.0pl5-19.1sarge2 (stable version):
>
>==> /var/log/daemon.log <==
>Nov 29 10:51:34 pxe dhcpd: /etc/dhcpd.conf line 39: expecting a  
>parameter or declaration.
>Nov 29 10:51:34 pxe dhcpd: include
>Nov 29 10:51:34 pxe dhcpd: ^
>Nov 29 10:51:34 pxe dhcpd: Configuration file errors encountered --  
>exiting
>Nov 29 10:51:34 pxe dhcpd: exiting.
>
>There are a lot of examples using "include" directive.. what's wrong?  
>Perhaps with a newer version of dhcpd will work? Thanks! :)
>
>Regards,
>
>--
>Santi Saez
>


More information about the dhcp-users mailing list