From owner-freebsd-questions Tue Sep 17 04:25:30 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA28111 for questions-outgoing; Tue, 17 Sep 1996 04:25:30 -0700 (PDT) Received: from norway.it.earthlink.net (norway-c.it.earthlink.net [204.119.177.49]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA28106 for ; Tue, 17 Sep 1996 04:25:28 -0700 (PDT) Received: from rivendell-one ([153.36.152.167]) by norway.it.earthlink.net (8.7.5/8.7.3) with SMTP id EAA02794 for ; Tue, 17 Sep 1996 04:18:16 -0700 (PDT) Received: by rivendell-one with Microsoft Mail id <01BBA461.1914D800@rivendell-one>; Tue, 17 Sep 1996 06:26:02 -0500 Message-ID: <01BBA461.1914D800@rivendell-one> From: "Stephen L. Palmer" To: "'questions-digest@freefall.freebsd.org'" Subject: FreeBSD as an IP masqarading gateway (Was:yet another PPP Question) Date: Tue, 17 Sep 1996 06:25:24 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Along this same line of thought. I am a semi-UN*X-literate user, and am trying to do a simialar thing. I have 2 PC's at home, connected with ne200 ethernet cards. I have assigned my FreeBSD box IP address 10.0.0.1, and my Win95 box 10.0.0.2. My BSD box has the modem, and a dialup PPP connection with dynamicly assigned IP address. My Goal: Let my wife start Netcape on the Win95 machine, the BSD box detects internet bound packets, and does the dial-on-demand PPP conection. (more on this later) After 5 to 10 minutes of non-use, the PPP link should consider itself non-used, and disconnect. Where I am: I can ping either box from the other (netmask 255.255.255.0) I can use PPP , then "dial" from the PPP> prompt to make the PPP Link on the BSD box. Then I can surf to my hearts content from the BSD box. I *can-not* reach the internet either via DNS, or numeric IP from the WIn95 box. I have enabled Gatewaying in the /etc/sysconfig. I have set my FreeBSD box as gateway and DNS server in Win95's TCP/IP config. What I lack: 1: I am aware that the 10.X.X.X sub-net is not internet-legal. How do I make the FreeBSD box "fake" or "mask" the address to allow traffic. 2: When I start "ppp -auto ", the ppp link starts, and works, however, it does not wait for an internet-bound packet to start, and after a timeout, it immediatley re-dials. 3: On a completely different tangent, is there a *free* NFS client for Win95? I have samba working, but want to play with NFS... :-) 4: If the answer to any of the above is RTFM, I apologize, but I've tried, so please point me to the appropriate manual or handbook pages :-) Thanks, Stephen L. Palmer elrond1@earthlink.net Doug White wrote in article <51d59l$gro@FreeBSD.csie.NCTU.edu.tw>... > On Thu, 12 Sep 1996, Tim Pushor wrote: ....stuff deleted... > > I am directly connected to the internet via cisco 1004. I have small > > subnet of 25 ip's. I want to be able to dial in remotely, access my > > network, and get out onto the internet. > > Please describe this "small subnet of 25 IPs". Are they valid Internet > addresses, or are they excluded addresses (10.x.x.x, etc.)? > > > I have kernel ppp setup and running. I can dial in and establish a > > connection. I can ping the FreeBSD box, but cannot ping outside that box.. > > either to the local subnet or to the internet. > > > > Note, I am unable to provide an IP for my dialup system that is outside > > the range of the 25 ip's that I have now. Some people say that is > > necessary, some say it isn't..... > > I don't think so. If the dialup machine has a valid IP within the LAN the > PPP server is in, packet forwarding should take care of it and an explicit > route on the server to make sure the packets to the dialup machine gets > routed down the pipe. > > > I know proxyarp is running, as I can ping the *remote* machine from > > another machine on my local network, but not vise versa. > > You're not running filtering, are you? > > > Is there anything funky that has to be done with netmasks? I believe my > > netmask for my dialup machine is 255.255.255.0 while the netmask for my > > local subnet is 255.255.255.224?? I really don't know whats going on here, > > as using Windows NT RAS, the subnet mask on the dialup client is not the > > same as the physical subnet on which it belongs.. Geez, I am so confused. > > The netmasks should ALL match. Otherwise the broadcast addresses (among > other things) get messed up. > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major > >