From owner-freebsd-questions@FreeBSD.ORG Thu Jan 1 16:55:42 2004 Return-Path: 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 D4CB116A4CE for ; Thu, 1 Jan 2004 16:55:42 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBCFD43D2F for ; Thu, 1 Jan 2004 16:55:41 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id 2683255; Thu, 1 Jan 2004 19:55:41 -0500 (EST) Sender: lowell@be-well.ilk.org To: stan References: <20040101220623.GC7730@teddy.fas.com> From: Lowell Gilbert Date: 01 Jan 2004 19:55:41 -0500 In-Reply-To: <20040101220623.GC7730@teddy.fas.com> Message-ID: <443cazw4mq.fsf@be-well.ilk.org> Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Free BSD Questions list Subject: Re: using multiple isc-dhcp servers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2004 00:55:42 -0000 stan writes: > I have set up the isc-dhcp port on 2 machines. and it is serving addresses, > but I notice that whichever machine gives the lease is the only one that > records the lease in it's leases file. Right. If you want them to know about each other, you need to configure that. See the descriptions of "failover" in the dhcpd.conf(5) manual. > This seems like a problem. Not unless both servers are serving addresses out of the same pool. Obviously, that *would* be a problem. If one hands out (for example) 10.0.0.3 through 10.0.0.127 and the other hands out 10.0.0.128 through 10.0.0.254, then there's no problem at all. You can have the second one respond more slowly by using the min-secs statement in its configuration. > How can I configure this package to avoid this problem? If you want the failover support, then you can set that up (I've never done it, but it looks reasonably simple when I read the manual). It's probably not worth setting up two servers, though. If you have a reasonable gap between the renew time (when the clients start looking for a new lease) and the end of the lease (when the clients have to stop using their old lease), then you have a fair amount of breathing time to get the server fixed. -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password "public"