From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 05:46:25 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 1535016A4CE for ; Sun, 18 Apr 2004 05:46:25 -0700 (PDT) Received: from auk2.snu.ac.kr (auk2.snu.ac.kr [147.46.100.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C7D443D2F for ; Sun, 18 Apr 2004 05:46:24 -0700 (PDT) (envelope-from nospam@users.sourceforge.net) Received: from [147.47.254.184] (nospam@users.sourceforge.net) by auk2.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004041821:39:08:575629.28674.2955406256 for ; Sun, 18 Apr 2004 21:39:08 +0900 (KST) Message-ID: <4082789B.50009@users.sourceforge.net> Date: Sun, 18 Apr 2004 21:46:19 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040316 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Seaman , freebsd-questions@freebsd.org References: <4081CC49.6070603@users.sourceforge.net> <20040418095724.GA96910@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040418095724.GA96910@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:13.54) (by Terrace) Subject: Re: base system vs. isc-dhcp : dhclient conflicts? 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: Sun, 18 Apr 2004 12:46:25 -0000 Matthew Seaman wrote: > On Sun, Apr 18, 2004 at 09:31:05AM +0900, Rob wrote: > > >>I have isc-dhcp3 port installed on my 4.9-Stable PC. >>I need that as I want to configure this machine as >>both, a DHCP client and server. > > > Making a machine use itself as a DHCP server is somewhat odd -- there > will be a boot time problem where the machine is trying to find a DHCP > server, so that it can configure it's interface, so that it can start > up all the servers it usually runs, including the DHCP server it > needs... Which isn't to say that it's completely impossible to make > the machine be both client and server, but that you're going to have > exert significant effort and some slightly baroque programming in > order to make it work. It's an awful lot easier just to give the DHCP > server a fixed address. Ah, didn't realize you could read my statement this way. No, it's not like this. My ISP runs a DHCP server, so my computer at home needs to be the DHCP client for the initial network connection at boot up. This computer also is the router of my home network and will provide the DHCP server for the rest of the home network (I have choosen for the latter for various, not so relevant reasons). I suppose this setup will not cause the chicken-egg problem as you expected :). Or will it? >>I notice, that I have two versions of dhclient related >>files (see below). Is this a problem and reason for >>possible conflicts? What can I do to avoid multiple >>versions of dhclient related files? > > > These should be pretty similar, as they both come from the ISC dhcpd > distribution. Ah, I solved the problem my self already. The router is an old Pentium-1 (150 MHz). I installed plain 4.9 release with corresponding ports, without bothering updating the ports, since I only installed precompiled packages. Meanwhile the old isc-dhcp3 port has been split in a server and a client port. So I can install the server from ports without overlap with the client stuff in the base system. Thanks for your considerations. Regards, Rob.