[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcpd,conf error - dhpcd won't start



On Wed, 14 Jan 2004 19:49:33 +0000
Anthony Campbell <ac@acampbell.org.uk> wrote:

> My /etc/dhcpd.conf is as follows:
> 
> --------------------------------
> # dhcpd.conf
> #
> subnet 192.168.0.20  netmask 255.255.255.0 {}
> -------------------------------------
> 
> This produces the following error in syslog:
> 
> ------------------------------------------------------
> No subnet declaration for eth0 (192.168.0.20).
> Jan 14 19:43:42 localhost dhcpd: Please write a subnet declaration in
> your dhcpd.conf file for the Jan 14 19:43:42 localhost dhcpd: network
> segment to which interface eth0 is attached. Jan 14 19:43:42 localhost
> dhcpd: exiting.-------------------------------------------------------
<snip>

Hello Anthony,

Here's the relevant portion from my dhcpd.conf file:

option subnet-mask              255.255.255.0;
option broadcast-address        192.168.0.255;
option routers                  192.168.0.1;
option domain-name-servers      192.168.0.1;
option domain-name              "domain.tld";

shared-network WORKSTATIONS {
        subnet 192.168.0.0 netmask 255.255.255.0 {
                range 192.168.0.100 192.168.0.200 ;
        }
}

HTH,
Jacob

----- 
GnuPG Key: 1024D/16377135

To segfault is human; to bluescreen moronic. 

Attachment: pgpfYTVfEA6gc.pgp
Description: PGP signature


Reply to: