Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-13-2010, 07:28 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 5

Rep: Reputation: 0
Debian Squeeze - isc-dhcp3-server failed to start (subnet problem?)

Hi there,

I'm now trying since a week to configure my system. I have one ethernet card eth0 which i use for pppoe and like to use as a dhcp server. So the point is really to have other pcs to get an ip from my debian server. I have uninstalled the netword daemon from debian, but I have installed dnsmasq and pppoeconf. Internet is working but not the dhcp server.

Here is my network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
iface eth0 inet dhcp

auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider

auto eth0:1
iface eth0:1 inet static
Here is the output of ifconfig
addr: ::1/128 Scope:Host
RX packets:70 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4744 (4.6 KiB) TX bytes:4744 (4.6 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr: P-t-P: Mask:
RX packets:4105 errors:0 dropped:0 overruns:0 frame:0
TX packets:4356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:3261928 (3.1 MiB) TX bytes:630045 (615.2 KiB)

Here is my dhcpd.conf cat /etc/dhcp/dhcpd.conf
cat /etc/dhcp/dhcpd.conf
# Sample configuration file for ISC dhcpd for Debian

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;

# option definitions common to all supported networks...
option domain-name "";
option domain-name-servers,;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;


subnet netmask {
option domain-name "mylan";

option domain-name-servers;
option routers;

option subnet-mask;


And here is the error I get:
/etc/init.d/isc-dhcp-server restart
Stopping ISC DHCP server: dhcpd failed!
Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed!


And here is the /var/log/syslog
Nov 13 14:23:38 ion dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1
Nov 13 14:23:38 ion dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Nov 13 14:23:38 ion dhcpd: All rights reserved.
Nov 13 14:23:38 ion dhcpd: For info, please visit
Nov 13 14:23:38 ion dhcpd: Wrote 0 leases to leases file.
Nov 13 14:23:38 ion dhcpd:
Nov 13 14:23:38 ion dhcpd: No subnet declaration for eth0:1 (no IPv4 addresses).
Nov 13 14:23:38 ion dhcpd: ** Ignoring requests on eth0:1. If this is not what
Nov 13 14:23:38 ion dhcpd: you want, please write a subnet declaration
Nov 13 14:23:38 ion dhcpd: in your dhcpd.conf file for the network segment
Nov 13 14:23:38 ion dhcpd: to which interface eth0:1 is attached. **
Nov 13 14:23:38 ion dhcpd:
Nov 13 14:23:38 ion dhcpd:
Nov 13 14:23:38 ion dhcpd: Not configured to listen on any interfaces!

And here is my isc-dhcp-server

# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

# This is a POSIX shell fragment

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".


Additionally it seems that pppoe overwrites my /etc/resolv.conf. I have uninstalled resolvconf.

I do not know what to do any more. Any ideas?


Last edited by uezelbruezel2000; 11-13-2010 at 07:35 AM.
Old 11-15-2010, 09:03 PM   #2
Registered: Aug 2004
Location: Tucson, AZ
Distribution: Ubuntu 9.04 & 10.10, RHEL 4 & 5
Posts: 48
Blog Entries: 3

Rep: Reputation: 16
INTERFACES="eth0:1" is incorrect.
This should read:
INTERFACES="eth0 eth1" for two interfaces
Old 11-16-2010, 01:55 AM   #3
LQ Newbie
Registered: Nov 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks. Indeed that was the problem. Additionally I did the iptables with the option -o ppp.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
red5 streaming server installation on debian squeeze failed. tkmsr Linux - Software 0 04-28-2010 06:26 AM
X Server won't start, /dev/fb0 not found, clean install of Debian Squeeze frumpus Linux - Hardware 12 02-26-2010 03:27 PM
debian etch dhcp3 server problem after upgrade rotezecke Linux - Newbie 14 12-16-2008 08:47 PM
ISC dhcp3 (ver. 3.04) vlan setup giving out of improper subnet addresses Valkyr1e Linux - Server 1 07-26-2008 11:15 AM
DHCP - Multiple range in 1 subnet??? - Debian Sarge 3.1, DHCP3.0 kenwoodgt Linux - Networking 1 01-24-2008 03:23 PM

All times are GMT -5. The time now is 06:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration