From owner-freebsd-net@FreeBSD.ORG Tue Nov 23 13:37:35 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCBE91065670 for ; Tue, 23 Nov 2010 13:37:35 +0000 (UTC) (envelope-from "."@babolo.ru) Received: from smtp1.babolo.ru (smtp1.babolo.ru [195.9.14.139]) by mx1.freebsd.org (Postfix) with ESMTP id 4D99C8FC1D for ; Tue, 23 Nov 2010 13:37:35 +0000 (UTC) Received: from cicuta.babolo.ru ([194.58.246.5]) by smtp1.babolo.ru (8.14.2/8.14.2) with SMTP id oANDYcn7066408; Tue, 23 Nov 2010 16:34:46 +0300 (MSK) (envelope-from .@babolo.ru) Received: (nullmailer pid 36358 invoked by uid 136); Tue, 23 Nov 2010 13:38:20 -0000 Date: Tue, 23 Nov 2010 16:38:20 +0300 From: Aleksandr A Babaylov <.@babolo.ru> To: "Ronald F. Guilmette" Message-ID: <20101123133820.GA36224@babolo.ru> References: <4CEBAD46.2070301@acm.poly.edu> <42097.1290515742@tristatelogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42097.1290515742@tristatelogic.com> Cc: freebsd-net@freebsd.org Subject: Re: Configuring for 1 static and 1 DHCP interface ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 13:37:35 -0000 On Tue, Nov 23, 2010 at 04:35:42AM -0800, Ronald F. Guilmette wrote: > I should say however that even this is going to produce a slightly sub-optimal > result, because (I guess) the DHCP client is _still_ going to wipe out my > eisting /etc/resolve.con file and then write its own. Now that will at > least have the proper IP address in it _however_ there does not seem to > be any way to entice the DHCP client to place certain "options" into the > /etc/resolv.conf file. That's a pity, because I wanted one in there. > (Oh well, I guss I can append it from my /etc/rc.local file.) Does chflags schg /etc/resolve.conf helps?