hi,
I am try to build dhcp server in fedora 4 and have two network card
eth0 have ip address 192.168.0.2 other one is wirless network for internet
i install dhcp package copy dhcp.conf into /etc/ my dhcp.conf look like this
ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.0.2;
option subnet-mask 255.255.255.0;
# option nis-domain "domain.org";
option domain-name "mytrek.com";
option domain-name-servers 192.168.0.2;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range 192.168.0.5 192.168.0.128;
default-lease-time 180;
max-lease-time 300;
but i m not able to start dhcpd service with command
/usr/sbin/dhcpd start
the error is as under
No subnet declaration for start (0.0.0.0).
** Ignoring requests on start. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface start is attached. **
Not configured to listen on any interfaces!
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the
dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.