Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 21:25:11 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        "Jonathan E. Lyons" <parrothd@midwest.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sharing a single PPP line
Message-ID:  <Pine.SOL.4.21.0008112122210.7621-100000@sol.cs.binghamton.edu>
In-Reply-To: <3.0.5.32.20000811140119.00b78490@midwest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Aug 2000, Jonathan E. Lyons wrote:

> 
> Add the -nat option to ppp, and add gateway_enable="YES" in rc.conf, and
> add an entry in resolv.conf and set the default route to Box A on box B.. :)

I add the following line in file /etc/resolv.conf on box B:

nameserver 192.168.1.1

and it works (192.168.1.1 is the address of box A).  Thanks!


> At 02:41 PM 8/11/00 -0400, you wrote:
> >
> >I have configured a user PPP according to instructions on page 480 of Grey
> >Lehey's book.  I have another freebsd box. The two are connected via a
> >parallel cable running IP over it. Can I share the same PPP line among two
> >machines?  If so, how?
> >
> > ------  Parallel Cable    -----  PPP
> > | B  | -------------------| A  | ------
> > -----                     -----  
> >
> >As shown above, A can go to net via PPP. A and B are connected.  Can B
> >share the PPP with A?  I want to run netscape and telnet on B as well.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0008112122210.7621-100000>