LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP Server on Fedora Core 3 (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-server-on-fedora-core-3-a-318972/)

bakersman 05-01-2005 03:52 AM

DHCP Server on Fedora Core 3
 
Hi,

Nice site and all.... Guys we have a "massive" problem. We cant get our fedora box to assign ip's through DHCP server. We have come down to the dhcpd.conf file as having problems.

We have tried all the options(that we know of) and still we cant get it to work.

When we log into terminal and run the 'dhcpd -f'' we get the following error :

[root@LinuxServer ~]# dhcpd -f
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
/etc/dhcpd.conf line 2: subnet 10.0.0.1 netmask 255.255.255.0: bad subnet number/mask combination.
subnet 10.0.0.1 netmask 255.255.255.0
^
Configuration file errors encountered -- exiting

The arrow pointing to the zero.

Here is our dhcpd.conf file

ddns-update-style ad-hoc;
subnet 10.0.0.1 netmask 255.255.255.10 {
range 10.10.0.128 10.10.0.254;
option subnet-mask 255.255.255.10;
option broadcast-address 192.168.100.255;
option routers 192.168.100.3;
option domain-name-servers 192.168.100.3;
option domain-name "mydomain.cxm";
option ip-forwarding on;
option netbios-node-type 8;
}

We know we making something elemental wrong but for the life of us we cant figure it out.

Please any help with this would be appreciated.

Thanks...

musicman_ace 05-01-2005 04:37 AM

Quote:

subnet 10.0.0.1 netmask 255.255.255.10
My guess is that 10.0.0.1 should be 10.0.0.0 as your saying a single IP address, not a complete network which would end with .0


All times are GMT -5. The time now is 02:38 AM.