[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connecting a LAN to the Internet Through a Dial-Up PPP



On Mon, 5 May 1997, Eli Marmor wrote:

> I don't know if this is the correct place for this question, but I am
> sure that someone here will know the answer. 

I can tell you things that will be true for almost any platform, but I
don't know Sloaris (yet).

no, I don't think it's off topic, this mailing list is too quiet as it is
:-)

> I have a Solaris (on a notebook) connected to the Internet through a PPP
> dial-up modem. It has a dynamic IP that is given temporarily by the ISP.
> I have another machine with Win'95, connected to the Solaris by Ethernet
> (cross 10BaseT). I want the Win to access the Internet:
>  _____                      _______      _________           _______
> |     |                    |       |    |         |  cross  |       |
> | ISP |----(phone-line)----| modem |----| Solaris |----X----| Win95 |
> |_____|                    |_______|    |_________| 10BaseT |_______|
> 
> Now comes a bunch of questions:
> 
> 1. What IPs should I give the machines?10.*?  None?
10.0.0.1 is good...

> 2. What network components should be installed on the Win?
TCP/IP and the NIC, no need for anything else unless you also need SMB
etc.

> 3. Should an address translation be installed on the Solaris? 
that could be cool, but socks5 and some ftp/http proxy (proxycache?)
should do the trick too.

> How?
in Linux I would have told you to compile IP masquarading in the kernel,
but on Sloaris: you're on your own :-)

> 4. Can Proxy (on the Solaris) solve my problem?  Will it allow programs
>  to contact external servers (e.g. Java applets that communicate with
>  external servers)?

if they contact through the standard HTTP protocol and ports, yes the
proxy will solve it.

> 5. Let's assume that everything was solved. Can I still tell the Win to
>  call the ISP explicitly (for example, when the notebook is not
> there)?
yes, you also install a dial-up adapter on the win machine, the IP
addresses set up on the NIC and for the adapter are separate, you'll only
have to remember to disable the proxies for Netscape when changing the
route...

>  How?  Automatically (by recognizing that theSolaris/gateway is not
>  there) or manually?

you're the programmer :-)

you can also use an auto-proxy script, that will change automagically
depending on weather the sloaris is there or not (batch file that checks
on windows start and copies the right file etc)

   -------------------------------------------------------------
   Ira Abramov          <ira@scso.com>        Scalable Solutions
   POBox 3600, Jerusalem 91035, Israel       Tel (972)2-642-6822
   http://www.scso.com/~ira   Check out: http://www.linux.org.il


References: