From Fedora Project Wiki

[root@rahul ~] # cat /etc/dhcpd.conf

ddns-update-style interim;

allow booting;
allow bootp;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers          192.168.1.5;
option subnet-mask      255.255.255.0;
range dynamic-bootp     192.168.1.100 192.168.1.254;
filename                "/pxelinux.0";
default-lease-time      21600;
max-lease-time          43200;
next-server             rahul.csb;
}


cat /etc/cobbler/dhcp.template

#
#

ddns-update-style interim;

allow booting;
allow bootp;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

subnet 192.168.1.0 netmask 255.255.255.0 {
option routers          192.168.1.5;
option subnet-mask      255.255.255.0;
range dynamic-bootp     192.168.1.100 192.168.1.254;
filename                "/pxelinux.0";
default-lease-time      21600;
max-lease-time          43200;
next-server             $next_server;
}

$insert_cobbler_system_definitions

= /var/log/messages =



dhcpd shutdown succeeded
Oct 17 10:21:21 rahul dhcpd: Internet Systems Consortium DHCP Server V3.0.5-RedHat
Oct 17 10:21:21 rahul dhcpd: Copyright 2004-2006 Internet Systems Consortium.
Oct 17 10:21:21 rahul dhcpd: All rights reserved.
Oct 17 10:21:21 rahul dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Oct 17 10:21:21 rahul dhcpd: Wrote 0 leases to leases file.
Oct 17 10:21:21 rahul dhcpd:
Oct 17 10:21:21 rahul dhcpd: No subnet declaration for eth0 (10.65.6.75).
Oct 17 10:21:21 rahul dhcpd: ** Ignoring requests on eth0.  If this is not what
Oct 17 10:21:21 rahul dhcpd:    you want, please write a subnet declaration
Oct 17 10:21:21 rahul dhcpd:    in your dhcpd.conf file for the network segment
Oct 17 10:21:21 rahul dhcpd:    to which interface eth0 is attached. **
Oct 17 10:21:21 rahul dhcpd:
Oct 17 10:21:21 rahul dhcpd:
Oct 17 10:21:21 rahul dhcpd: Not configured to listen on any interfaces!
Oct 17 10:21:21 rahul dhcpd:
Oct 17 10:21:21 rahul dhcpd: If you did not get this software from ftp.isc.org, please
Oct 17 10:21:21 rahul dhcpd: get the latest from ftp.isc.org and install that before
Oct 17 10:21:21 rahul dhcpd: requesting help.
Oct 17 10:21:21 rahul dhcpd:
Oct 17 10:21:21 rahul dhcpd: If you did get this software from ftp.isc.org and have not
Oct 17 10:21:21 rahul dhcpd: yet read the README, please read it before requesting help.
Oct 17 10:21:21 rahul dhcpd: If you intend to request help from the dhcp-server@isc.org
Oct 17 10:21:21 rahul dhcpd: mailing list, please read the section on the README about
Oct 17 10:21:21 rahul dhcpd: submitting bug reports and requests for help.
Oct 17 10:21:21 rahul dhcpd:
Oct 17 10:21:21 rahul dhcpd: Please do not under any circumstances send requests for
Oct 17 10:21:21 rahul dhcpd: help directly to the authors of this software - please
Oct 17 10:21:21 rahul dhcpd: send them to the appropriate mailing list as described in
Oct 17 10:21:21 rahul dhcpd: the README file.
Oct 17 10:21:21 rahul dhcpd:
Oct 17 10:21:21 rahul dhcpd: exiting.
Oct 17 10:21:21 rahul dhcpd: dhcpd startup failed