[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 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 |_______|
> 

I guess that IP Masqerading is the best thing you can use here.

> Now comes a bunch of questions:
> 
> 1. What IPs should I give the machines?  10.*?  None?

10.* is fine, though it's more popular to give them 192.168.* . Assign
192.168.10.1 to the Solaris and .2 to the Win95 box. Then set the gateway
in the Win95 TCP/IP configuration to 192.168.10.1. Then dial-up the ISP on
the Solaris, and use ipfwadm to start up the masqearding. The exact
command appears in the IP Masqerading mini-howto for Linux, I guess the
same should work for Solaris as well.

> 2. What network components should be installed on the Win?

The TCP/IP protocol in the Network control panel, in addition to the
network card's driver. I think that's all.

> 3. Should an address translation be installed on the Solaris?  How?

What do you mean?

> 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)?

You don't need a proxy if you are going to use masqerading.

> 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)?
>    How?  Automatically (by recognizing that the Solaris/gateway is not
>    there) or manually?

You should be able to. Install "Dial-Up Adapter" in the Network
control-panel, and you'll see two TCP/IP protocol entries there, one
poiting to the network card driver, and one pointing to the dial-up
adapter. Configure the network card's for the masquerading and the dial-up
adapter's for the ISP. (The only difference between the two configurations
should be the absense of a gateway address in the ISP configuration, I
think.)


  ----------------------------------------------------------------
    Alex Shnitman <alexsh@usa.net>  //  http://alexs.home.ml.org
  ----------------------------------------------------------------


Follow-Ups: References: