LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DHCP server with fedora 14 (https://www.linuxquestions.org/questions/linux-newbie-8/dhcp-server-with-fedora-14-a-891735/)

mleppelman 07-14-2011 11:01 AM

DHCP server with fedora 14
 
I am trying to set up a DHCP server for a network that does not go on the internet using fedora 14. I have tried several site and every one I look at has a different dhcpd.conf file. I have tried many and every time I try to start the service they fail. Like I said it does not go on the internet. No matter what I do when I try to start the dhcpd service it fails

[root@pcrepair ~]# service dhcpd start
Starting dhcpd: [FAILED]


here is my current config file


# specify domain name

option domain-name
"server.world";


# specify DNS's hostname or IP address

#option domain-name-servers
#dlp.server.world;


# default lease time

default-lease-time 600;

# max lease time

max-lease-time 7200;

# this DHCP server to be declared valid

authoritative;

# specify network address and subnet mask

subnet 10.1.5.0 netmask 255.255.255.0 {

# specify the range of lease IP address

range dynamic-bootp 10.1.5.200 10.1.5.254;

# specify broadcast address

option broadcast-address 10.1.5.255;

# specify default gateway

option routers 10.1.5.1;

}

wpeckham 07-14-2011 11:50 AM

DHCP
 
Try using DNSMASQ instead. It is FAAR easier to set up and get going.


All times are GMT -5. The time now is 07:35 PM.