Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 07:52:55 -0500 (EST)
From:      Patrick Gardella <patrick@cre8tivegroup.com>
To:        Frank Griffith <frankg@idfw.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Networking
Message-ID:  <XFMail.980121080051.patrick@cre8tivegroup.com>
In-Reply-To: <01BD25CB.31F0DEE0@dal29-24.ppp.iadfw.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 20-Jan-98 Frank Griffith wrote:
>I have installed FreeBSD 2.2.5 on a 486-66 system. Its running
>smoothly and I have gone through setting up the ethernet NIC,
>and followed the steps in the tutorial for setting up PPP. I have
>also edited the C:\WINDOWS\hosts file on the Win95 units as
>detailed in the tutorial, section 3.4.
>
>Okay, so far I can make the following happen with this unit:
>
>       1. Make a PPP connection with my ISP
>       2. Login successfully
>       3. Conduct FTP and Telnet sessions
>       4. Ping the other Win95 computers NIC
>       5. Ping the FreeBSD NIC from the Win95 units
>       6. Ping the FreeBSD machine from itself, both with
>           its IP Address and using localhost or its name (curly).
>
>I want to use my now functioning FreeBSD machine as a getway to
>the internet for some Windows 95 machines which are hooked up
>to it via ethernet cards and some BNC cable. So, if I go to the
>FreeBSD box and make a PPP connection with my ISP, can
>I now go to the Windows 95 machine and set the Internet
>browser to use 192.168.0.1 (my FreeBSD unit's IP) as the 
>proxy server? That seem oversimplified now that I spell it
>out. But can it be that simple?

YOu will enable -alias when you start ppp.  This allows the computers on the
internal network to be seen outside.  Your FreeBSD machine will act as the
gateway, not proxy, server.  So go to Win95's Network Settings and add the
Gateway (192.168.0.1) to the Gateway Tab to the TCP/IP protocol for your NIC.

You should be able to ping your NIC in your FreeBSD box if you have networking
setup right.  Can you? If not, send the results of netstat -rn and we'll see
what is happening.  What does FreeBSD identify your NIC as (ed0?, de0?, lnc0?
etc.)

If you can ping yourself, try pinging the Windows 95 machines (try with IPs
first).  You will probably need to reverse hosts and bind in /etc/host.conf to
keep it from searching for the IP outside. Adding the IPs and hostnames in
/etc/hosts will allow for name pinging.

Once that is set, you should be good to go.  Invoke ppp -auto -alias ISPname,
where ISPname is the name you have set up in /etc/ppp/ppp.conf.

Let me know if you have other questions!

Patrick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980121080051.patrick>