Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to set a DHCP server on 13.10. I installed:

sudo apt-get install isc-dhcp-server

My configuration files look like this:




auto lo
iface lo inet loopback


ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;

subnet netmask

When I run sudo service isc-dhcp-server restart I get:

stop: Unknown instance: 
start: Job failed to start

My ipaddress details:

$ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:ca:3a:b6:b2:33  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::baca:3aff:feb6:b233/64 Scope:Link
          RX packets:627294 errors:0 dropped:0 overruns:0 frame:0
          TX packets:330047 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:536432668 (536.4 MB)  TX bytes:49746041 (49.7 MB)
          Interrupt:20 Memory:f7c00000-f7c20000 
lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:22009 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22009 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1851114 (1.8 MB)  TX bytes:1851114 (1.8 MB)
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether b8:ca:3a:b6:b2:33 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::baca:3aff:feb6:b233/64 scope link 
       valid_lft forever preferred_lft forever

What am I doing wrong here?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.