From owner-freebsd-questions Thu Sep 11 14:33:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA22020 for questions-outgoing; Thu, 11 Sep 1997 14:33:56 -0700 (PDT) Received: from curly.GlobalEyes.net ([209.60.64.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA21983 for ; Thu, 11 Sep 1997 14:33:48 -0700 (PDT) Received: from parrothd.globaleys.net ([209.60.64.59]) by curly.GlobalEyes.net (Netscape Mail Server v2.02) with SMTP id AAA170; Thu, 11 Sep 1997 16:39:47 -0500 Message-Id: <3.0.3.32.19970911163010.006bf830@midwest.net> X-Sender: parrothd@midwest.net X-Mailer: QUALCOMM Windows Eudora Pro Demo Version 3.0.3 (32) Date: Thu, 11 Sep 1997 16:30:10 -0500 To: Antonio Bemfica , freebsd-questions@FreeBSD.ORG From: "Jonathan E. Lyons" Subject: Re: FreeBSD box as a router using ppp In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id OAA22004 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Check out http://www.freebsd.org/tutorials/ppp/ppp.html it has all the info you need. At 10:28 PM 9/10/97 -0300, Antonio Bemfica wrote: >I have a FreeBSD box at home which connects via user ppp to the net. It >all works fine, I can reach and be reached. I use a fixed IP for dialing >out. > >I also have a Win95 machine at home, and I would like to have it use the >FreeBSD box to access the net. I got network cards for both PC's and they >can ping eachother, I can telnet to the Unix side from the Windows PC. > >I understand that I have to set gateway_enable="YES" on the FreeBSD side, >and also set: > >ifconfig_ed1="inet A.B.C.D netmask 255.255.255.0" >ifconfig_lo0="inet 127.0.0.1" >ifconfig_tun0="inet X.Y.W.Z X.Y.W.1 netmask 0xffffff00" > >On the Windows side I would set the IP to A.B.C.E and set the Gateway to >be the IP I assigned for ed1, A.B.C.D - the problem is I don't have two IP >addresses on a different network. I read the FAQ and the handbook but >couldn't figure how to do it. Any help would be appreciated. > >Antonio >-- -------------------------------------------------------------------------- >Antonio Bemfica, DalTech, Dalhousie U. | Hay épocas hechas para diezmar los >=> Support free software, use FreeBSD | rebaños, confundir las lenguas >=> http://www.FreeBSD.org | y dispersar las tribus. A.C. > > > >