From owner-freebsd-questions Tue Jul 13 4:49:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by hub.freebsd.org (Postfix) with ESMTP id DE69914CA1 for ; Tue, 13 Jul 1999 04:49:22 -0700 (PDT) (envelope-from thomas.uhrfelt@plymovent.se) Received: from d1o68.telia.com (root@d1o68.telia.com [62.20.138.241]) by mailg.telia.com (8.8.5/8.8.8) with ESMTP id NAA11039; Tue, 13 Jul 1999 13:47:13 +0200 (CEST) Received: from polaris (t3o68p41.telia.com [62.20.139.41]) by d1o68.telia.com (8.8.8/8.8.5) with SMTP id NAA15407; Tue, 13 Jul 1999 13:47:11 +0200 (CEST) Received: by localhost with Microsoft MAPI; Tue, 13 Jul 1999 13:46:10 +0200 Message-ID: <01BECD36.10954A60.thomas.uhrfelt@plymovent.se> From: Thomas Uhrfelt Reply-To: "thomas.uhrfelt@plymovent.se" To: "'MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com'" Cc: "'freebsd-questions@freebsd.org'" Subject: SV: PPP and client gateway Date: Tue, 13 Jul 1999 13:44:38 +0200 Organization: PlymoVent AB X-Mailer: Microsoft Internet-e-post/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas Uhrfelt thomas.uhrfelt@plymovent.se Computer Technician PlymoVent AB F=F6reningsgatan 37 211 52 Malmoe Sweden http://www.plymovent.com The problem is that this is via a dialup.. so my clients use the RAS = feature=20 in windows 95 to dial up the freebsd modem, and they get dns and ip = entries=20 from the freebsd box (you can't enter gateway in the RAS setup), so = there has=20 to be a way to submit the GW to them aswell.. or atleast to get it to = point=20 to the FreeBSD box, right now on the win machines it defaults to the ip = I=20 assign them, so if I give the ppp connection ip 62.10.10.1, their = gateway=20 gets set to that aswell (checked with winipcfg) -----Ursprungligt meddelande----- Fr=E5n: MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com=20 [SMTP:MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com] Skickat: den 13 juli 1999 13:41 Till: thomas.uhrfelt@plymovent.se Kopia: freebsd-questions@freebsd.org =C4mne: RE: PPP and client gateway Normally you would set the gateway in /etc/rc.conf (not in ppp.conf) but not in your case becasue I guess that would lead to your server pointing to itself. You need to set the gateway on the clients to point to the server somewhere in Windows network config. Michael -----Original Message----- From: thomas.uhrfelt@plymovent.se [mailto:thomas.uhrfelt@plymovent.se] Sent: Tuesday, July 13, 1999 12:59 PM To: freebsd-questions@FreeBSD.ORG Cc: thomas.uhrfelt@plymovent.se Subject: PPP and client gateway I have succesfully ( well sort of ! ) installed userland PPP as a = server. it (together with mgetty) allows users (win95) to connect via modem and = surf the web, or atleast that was the thought. It seems that everything is just fine with the clients except that they get assigned their own IP as gateway. DNS is correct and IP gets assigned to them as I specify, but when they run winipcfg the gateway is the same as their assigned IP. How do I fix = this.. just tried I longshot in ppp.conf and specified 'gateway x.x.x.x', but = of course as you all probably know that didnt work (illegal command :) ).. Regards, Thomas Uhrfelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message