From owner-freebsd-questions@FreeBSD.ORG Wed Jun 16 07:45:26 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 A324616A4CE for ; Wed, 16 Jun 2004 07:45:26 +0000 (GMT) Received: from pursued-with.net (adsl-66-125-9-244.dsl.sndg02.pacbell.net [66.125.9.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D4F43D41 for ; Wed, 16 Jun 2004 07:45:26 +0000 (GMT) (envelope-from freebsd@pursued-with.net) Received: from [10.0.0.42] (babelfish.pursued-with.net [10.0.0.42]) by pursued-with.net (Postfix) with ESMTP id 837D4193F55 for ; Wed, 16 Jun 2004 00:45:36 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <20040615235429.P687@metafocus.net> References: <20040615235429.P687@metafocus.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2786A158-BF69-11D8-A84D-000A95D7C3C6@pursued-with.net> Content-Transfer-Encoding: 7bit From: Kevin Stevens Date: Wed, 16 Jun 2004 00:45:36 -0700 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.618) Subject: Re: DHCP: keep a lease forever? 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: Wed, 16 Jun 2004 07:45:26 -0000 On Jun 16, 2004, at 00:02, Dave wrote: > > Let's say I wanted to be 192.168.1.170 for argument's sake. I turn > everything off (router + computers). Set my 'starting IP' to 170. > Fire > the FreeBSD machine up first, let it get 170. Then I turn the dumb > winboxes on, and who cares what they have they arn't important. Like a > couple of days later, I'll type "ifconfig" and suddely I got 172 on my > FreeBSD box (192.168.1.172) instead of 170. I could turn DHCP off, but > then my dhclient takes really really really long to find the network > (but > it does find it, eventually). How can I setup a more static system > here > without the long wait for dhclient? Anything in dhclient.conf I can > put > in there? I want to disable dhcp, but I need to figure out how to > efficiently get the connection going on, and basically, I havn't owned > FreeBSD in the pre-dhcp era, so I wouldn't know how. Another poster replied with how to switch to static addressing. Note that to do that, you need to assign the static address OUTSIDE the range (scope) that your DHCP server (Linksys router) is offering to clients, or it will get stepped on. The other way to accomplish what you want is to set up a DHCP lease reservation. You configure the DHCP server to associate a specific MAC address with a specific IP address in the scope. The server will then only assign that IP address to a DHCP request from the client with that specific MAC. Either approach requires configuration of the DHCP server. My Linksys router supports both settings. KeS