Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2001 02:48:18 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Mike D <d01f1n@yahoo.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: dhcpd problem
Message-ID:  <20011206024818.F446@twincat.vladsempire.net>
In-Reply-To: <20011206075714.KVCG10846.mta07-svc.ntlworld.com@there>; from d01f1n@yahoo.com on Thu, Dec 06, 2001 at 07:57:02AM %2B0000
References:  <20011206075714.KVCG10846.mta07-svc.ntlworld.com@there>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 06, 2001 at 07:57:02AM +0000, Mike D wrote:
> I'm having trouble configuring my dhcpd.
> 
> This is the config file I've nocked up:
> 
> -------- start config file --------------
> default-lease-time 3600;
> max-lease-time 99999;
> ddns-update-style ad-hoc;
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.10.10.255;
> option domain-name-servers 194.168.8.100,194.168.4.100;
> option domain-name dolphintime;
> -------- end config file --------------
> 
> When I try to start dhcpd (by running "/usr/local/etc/rc.d/dhcpd") I get the 
> following error:
> 
> -------- start error message --------------
> No subnet declaration for xl1 (80.x.x.x).
> ** Ignoring requests on xl1.  If this is not what
>    you want, please write a subnet declaration
>    in your dhcpd.conf file for the network segment
>    to which interface xl1 is attached. **
> 
> No subnet declaration for xl0 (192.10.10.4).
> ** Ignoring requests on xl0.  If this is not what
>    you want, please write a subnet declaration
>    in your dhcpd.conf file for the network segment
>    to which interface xl0 is attached. **
> 
> Not configured to listen on any interfaces!
> -------- end error message --------------

DHCPD wants to know about your subnets.  The way to tell it about them 
is with a section like this:

subnet 192.10.10.0 netmask 255.255.255.0 {
  range 192.10.10.10 192.10.10.90;
}

There's more you can do than that, but I think seeing this will ring 
your bell, especially if you are looking in the man pages.

Josh

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011206024818.F446>