DHCP server not starting
Posted
by
Bruce
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Bruce
Published on 2013-04-07T07:19:53Z
Indexed on
2013/10/18
4:13 UTC
Read the original article
Hit count: 348
I'm trying to set a DHCP server on 12.04. I installed:
sudo apt-get install isc-dhcp-server
My configuration files look like this:
/etc/default/isc-dhcp-server
INTERFACES="eth0"
/etc/network/interfaces
auto lo
iface lo inet loopback
/etc/dhcp/dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.235 192.168.1.240;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
default-lease-time 100000;
max-lease-time 100000;
}
When I run sudo service isc-dhcp-server restart
I get:
stop: Unknown instance:
isc-dhcp-server start/running, process 15384
After this if I run sudo service isc-dhcp-server status
it shows that its stopped:
isc-dhcp-server stop/waiting
What am I doing wrong here?
© Ask Ubuntu or respective owner