Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 1997 10:02:52 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        Jerry Kelley <jerryk@iquest.net>, freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Changing network identities on the fly 
Message-ID:  <199708020902.KAA11519@awfulhak.org>
In-Reply-To: Your message of "Thu, 31 Jul 1997 19:49:03 PDT." <Pine.BSF.3.96.970731194639.11158D-100000@localhost> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708020902.KAA11519>