From owner-freebsd-questions Mon Apr 30 8: 9:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from schmoo.tclme.org (schmoo.tclme.org [208.24.53.96]) by hub.freebsd.org (Postfix) with SMTP id 744EE37B422 for ; Mon, 30 Apr 2001 08:09:19 -0700 (PDT) (envelope-from rgreene@tclme.org) Received: (qmail 6832 invoked by uid 1014); 30 Apr 2001 15:08:18 -0000 Received: from dinky.tclme.org (HELO tclme.org) (rgreene@208.24.53.107) by mail.tclme.org with SMTP; 30 Apr 2001 15:08:18 -0000 Message-ID: <3AED8262.CD07BFC1@tclme.org> Date: Mon, 30 Apr 2001 10:18:58 -0500 From: Bob Greene Organization: tclme.org X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: "~/.signature" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: setting up laptop for both static/dynamic ip'ss References: <200104301357.f3UDvjn76168@fac13.ds.psu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "~/.signature" wrote: > > bob bubbled, > > > "Richard E. Hawkins" wrote: > > > > My laptop arrives on Tuesday (we think). It will need to use > > > a static IP when at my desk, and dynamic when dialing in. Is > > > there a way to make this automatic--perhaps so that if it finds > > > the network on boot, it uses the static, and if not, it waits for > > > ppp to be launched? > > > Why don't you just down the ethernet interface in your ppp script? > > Is it really that easy? :) > > There's something in the back of my mind telling me that the routing > information and the IP address in rc.conf caused problems doing this, > but maybe I'm just confusing this with the lack of a "swapoff" command > . . . > Since I don't have complete information on your intended usage, I can't speak to every possible outcome, but I do this every day. I don't host services on the laptop, I just use it as a client. -- Bob Greene rgreene@TclMe.org Pull my finger for my public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message