From owner-freebsd-questions Fri Aug 11 18:28:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 6D8A837BCD3 for ; Fri, 11 Aug 2000 18:28:49 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (sol.cs.binghamton.edu [128.226.123.100]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id VAA02504; Fri, 11 Aug 2000 21:28:06 -0400 (EDT) Date: Fri, 11 Aug 2000 21:25:11 -0400 (EDT) From: Zhihui Zhang To: "Jonathan E. Lyons" Cc: freebsd-questions@freebsd.org Subject: Re: sharing a single PPP line In-Reply-To: <3.0.5.32.20000811140119.00b78490@midwest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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