From owner-freebsd-questions Sat Aug 2 02:11:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA12160 for questions-outgoing; Sat, 2 Aug 1997 02:11:32 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA12152 for ; Sat, 2 Aug 1997 02:11:27 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id KAA12652; Sat, 2 Aug 1997 10:02:52 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id KAA11519; Sat, 2 Aug 1997 10:02:52 +0100 (BST) Message-Id: <199708020902.KAA11519@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: Doug White cc: Jerry Kelley , freebsd-questions Subject: Re: Changing network identities on the fly In-reply-to: Your message of "Thu, 31 Jul 1997 19:49:03 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 02 Aug 1997 10:02:52 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Wed, 30 Jul 1997, Jerry Kelley wrote: > > > I currently have two PPP connections that I make: one to work; and > > one to my ISP. Now, my system spends more time connected to my ISP > > than to work so I initially configured it to use the hostname used > > in my ISP link. I'm also running routed and have an entry in > > /etc/resolv.conf to point to my ISP's name server. > > > > The obvious question that I'm coming to is this: is there a "good" > > or clean way to go back and forth between network identities? I'm > > using user-mode ppp and have entries for work and my ISP. > > Not really. BSD is pretty single-minded when it comes to network > configuration. Not to say that it won't work (PPP could care less what > the local IP/name is since it configures it's own interface, and the DNS > will still work as long as it isn't firewalled), but it's not as easy as > say MS with their PPP `extensions'. I would think the best way to overcome the resolver stuff is to config your own nameserver and put all of the work/ISP nameservers in as forwarders (you probably want "options forward-only" too. I'm not sure how this works in real life though (do you still get a horrible timeout while it figures out that the first DNS isn't reachable). The alternative is a ppp.linkup script that sets up resolv.conf. > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > Spam routed to /dev/null by Procmail | Death to Cyberpromo > -- Brian , Don't _EVER_ lose your sense of humour....