From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 16 13:58:11 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEBB016A41C for ; Thu, 16 Jun 2005 13:58:11 +0000 (GMT) (envelope-from rmcelhaney@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E64D43D48 for ; Thu, 16 Jun 2005 13:58:11 +0000 (GMT) (envelope-from rmcelhaney@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so486814wra for ; Thu, 16 Jun 2005 06:58:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=o1+mVRVdcM0ScYfjiHhAdZijwiWlcX0BxJLRIJ1sJBqjmZPG0uVqEiI2dWCHyaJDxoE+p44TKyJL9QZtKDXeflixazX48ej5d/qsf9KHzHotxFlN4uwWLqEcVxjnMf7/yFcsRiEE/R7ETZWPin4TD53I6ZmK4SsdzjM281sAUFs= Received: by 10.54.106.2 with SMTP id e2mr615066wrc; Thu, 16 Jun 2005 06:58:10 -0700 (PDT) Received: from ?170.63.135.162? ([170.63.135.162]) by mx.gmail.com with ESMTP id 27sm1809080wrl.2005.06.16.06.58.10; Thu, 16 Jun 2005 06:58:10 -0700 (PDT) Message-ID: <42B18506.8040307@gmail.com> Date: Thu, 16 Jun 2005 09:56:22 -0400 From: Robert McElhaney User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: The right way to connect to DHCP & static addressed networks. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rmcelhaney@gmail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 13:58:12 -0000 I'm currently running FreeBSD 5.3 on my Sony Vaio and I use the laptop in two different work environments. My home office uses DHCP to assign the ip address, default router, and name servers. My work office uses a company issued static ip address, company default router, and company name servers. Has anyone already done this and documented it somewhere? If not, should I try to solve it in dhclient, or should I just write some custom scripting to add to the rc startup scripts? Any recommendations would be most appreciated. Cheers, Robert