setup dhcp server - "Job failed to start"

Posted by jdicarreira on Ask Ubuntu See other posts from Ask Ubuntu or by jdicarreira
Published on 2012-12-11T21:38:27Z Indexed on 2012/12/13 23:20 UTC
Read the original article Hit count: 264

Filed under:
|

I have an eth0 and eth1, eth0 has dynamic ip and on eth1 i setup static ip:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 10.10.0.1  
netmask 255.0.0.0   
gateway 10.10.0.1

` and then i setup the "isc-dhcp-server" with the fowling command:

INTERFACES="eth1"

Finally... I went to this one "dhcpd.conf", with the fowling comand:

default-lease-time 650;

max-lease-time 79520;

option subnet-mask 255.0.0.0;
option broadcast-address 10.10.0.255;
option routers 10.10.0.2;

subnet 10.10.0.0 netmask 255.0.0.0

{

range 10.10.0.10 10.10.0.250;

}

When I try to "sudo /etc/init.d/isc-dhcp-server start", I get "start: Job failed to start"

Anyone knows whats wrong? :/

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about dhcp