From owner-freebsd-questions@FreeBSD.ORG Sat Jul 22 18:23:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 806D616A4DF for ; Sat, 22 Jul 2006 18:23:13 +0000 (UTC) (envelope-from glists@comcast.net) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.192.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 157A443D46 for ; Sat, 22 Jul 2006 18:23:12 +0000 (GMT) (envelope-from glists@comcast.net) Received: from [172.16.2.5] (c-24-5-139-226.hsd1.ca.comcast.net[24.5.139.226]) by comcast.net (rwcrmhc11) with ESMTP id <20060722182312m1100ra6gje>; Sat, 22 Jul 2006 18:23:12 +0000 From: Serban Giuroiu To: freebsd-questions@freebsd.org Date: Sat, 22 Jul 2006 11:23:11 -0700 User-Agent: KMail/1.9.1 References: <200607220005.54412.glists@comcast.net> <44C1F34A.8080203@locolomo.org> In-Reply-To: <44C1F34A.8080203@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200607221123.11978.glists@comcast.net> Subject: Re: DHCPd Will Not Listen on the Correct Interface X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gyzmobro@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 18:23:13 -0000 On Saturday 22 July 2006 02:43, Erik N=F8rgaard wrote: > Do you have a particular reason to run two daemons separately? > > In your dhcpd.conf you can specify multiple subnets and just start the > daemon, dhcpd will send a reply matching the subnet of the interface a > request was received on. It won't send replys on subnets it have no > configuration for. I didn't think of that! I condensed my configuration into one file, and DHC= Pd=20 is now happily serving both subnets. It's still listening on all interfaces= ,=20 but a little PF magic will ensure that isn't a problem. Thanks for your help, =2D-Serban Giuroiu