From owner-freebsd-questions@FreeBSD.ORG Sun Jan 15 12:13:03 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 AA71C16A41F for ; Sun, 15 Jan 2006 12:13:03 +0000 (GMT) (envelope-from muxas@mail.ru) Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8882F43D9B for ; Sun, 15 Jan 2006 12:12:47 +0000 (GMT) (envelope-from muxas@mail.ru) Received: from [80.243.73.118] (port=27760 helo=[80.243.73.118]) by mx3.mail.ru with asmtp id 1Ey6kX-0005z8-00; Sun, 15 Jan 2006 15:12:45 +0300 Message-ID: <43CAC8CD.5090903@mail.ru> Date: Sun, 15 Jan 2006 22:12:29 +0000 From: Maxim Vetrov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Erik_N=F8rgaard?= , freebsd-questions@FreeBSD.org References: <43C81E6D.5010702@mail.ru> <43C7B4A6.9040004@locolomo.org> <43C848CB.2020809@mail.ru> <43C904D3.1090001@locolomo.org> In-Reply-To: <43C904D3.1090001@locolomo.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: dhclient fixed leases X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2006 12:13:03 -0000 Erik Nørgaard wrote: > Maxim Vetrov wrote: > >> I'm on 6.0 release. The "default" will not help - I have several >> networks without dhcpd. So 'default option routers 10.0.1.5;' will >> work only for one and fail for others. > > > Well, in that case I have dificult seeing how fixed leases will help > you, how should dhclient choose which fixed lease to use? One fixed > lease or one default would work. > Hi, This is an excerpt from 'man dhclient.conf': "The DHCP client may decide after some period of time (see PROTOCOL TIMING) that it is not going to succeed in contacting a server. At that time, it consults its own database of old leases and tests each one that has not yet timed out by pinging the listed router for that lease to see if that lease could work. It is possible to define one or more fixed leases in the client configuration file for networks where there is no DHCP or BOOTP service, so that the client can still automatically config- ure its address..." I excluded other fixed lease declarations from my conf for clarity. Regards, Muxas