From owner-freebsd-questions@FreeBSD.ORG Sat Jan 14 14:04:08 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 F211B16A41F for ; Sat, 14 Jan 2006 14:04:07 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0837043D48 for ; Sat, 14 Jan 2006 14:04:06 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.16.2.1] (unknown [172.16.2.1]) by strange.daemonsecurity.com (Postfix) with ESMTP id A08622E0A7; Sat, 14 Jan 2006 15:04:05 +0100 (CET) Message-ID: <43C904D3.1090001@locolomo.org> Date: Sat, 14 Jan 2006 15:04:03 +0100 From: =?ISO-8859-15?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050909) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Vetrov References: <43C81E6D.5010702@mail.ru> <43C7B4A6.9040004@locolomo.org> <43C848CB.2020809@mail.ru> In-Reply-To: <43C848CB.2020809@mail.ru> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org 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: Sat, 14 Jan 2006 14:04:08 -0000 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. Otherwise, it seems that you should create a script that interactively lets you log on a particular network, and start dhclient if needed or configure your nic with a fixed ip using ifconfig. Regards, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2