From owner-freebsd-net@FreeBSD.ORG Tue Nov 23 21:36:44 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 7998D1065674 for ; Tue, 23 Nov 2010 21:36:44 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 016978FC18 for ; Tue, 23 Nov 2010 21:36:43 +0000 (UTC) Received: (qmail 21934 invoked by uid 399); 23 Nov 2010 21:36:43 -0000 Received: from localhost (HELO doug-optiplex.ka9q.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 23 Nov 2010 21:36:43 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4CEC33EA.8040004@FreeBSD.org> Date: Tue, 23 Nov 2010 13:36:42 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101028 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <20101123155323.GA51348@laptop.levsha.me> <45858.1290545572@tristatelogic.com> <20101123212148.GB4910@laptop.levsha.me> In-Reply-To: <20101123212148.GB4910@laptop.levsha.me> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 21:36:44 -0000 While hacking dhclient-script gets you '1337 points, it's generally a better idea to use dhclient.conf to accomplish the same goals whenever possible. It's also a really bad idea to chflags /etc/resolv.conf (note, it's resolv.conf, not resolve.conf) because that can cause dhclient-script to loop. Perhaps the OP can re-post a description of the problem they are trying to solve at a higher level, rather than focusing on the solutions? Doug