From owner-freebsd-hackers Thu Dec 6 0:48:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from services.webwarrior.net (overlord-host99.dsl.visi.com [209.98.86.99]) by hub.freebsd.org (Postfix) with ESMTP id 2AC1E37B41A for ; Thu, 6 Dec 2001 00:48:17 -0800 (PST) Received: from twincat.vladsempire.net (hutch-167.hutchtel.net [206.10.67.67]) by services.webwarrior.net (Postfix) with ESMTP id 6F15C432 for ; Thu, 6 Dec 2001 02:47:59 -0600 (CST) Received: by twincat.vladsempire.net (Postfix, from userid 1001) id 790743861; Thu, 6 Dec 2001 02:48:18 +0000 (GMT) Date: Thu, 6 Dec 2001 02:48:18 +0000 From: Josh Paetzel To: Mike D Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: dhcpd problem Message-ID: <20011206024818.F446@twincat.vladsempire.net> References: <20011206075714.KVCG10846.mta07-svc.ntlworld.com@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011206075714.KVCG10846.mta07-svc.ntlworld.com@there>; from d01f1n@yahoo.com on Thu, Dec 06, 2001 at 07:57:02AM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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