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

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



Here is an article which I wanted to sent but apparaently was not received. That IP stuff is called "IP mascarading" as I found from other reply articles.


I have heard about a way to use one IP for more than one computers. They all basically share the same IP on one server and probably connect with one another using a different protocol than TCP/IP. I think it is called IP multi-parting or something like that. (can anybody help me on this?)

Theoratically you can code something similiar by yourself. The Solaris will host a NetBIOS client that will serve a special hand-coded version of WINSOCK.DLL (WSOCK32.DLL actually) that will connect to it via NetBIOS mailslots. The DLL will issue all the standard TCP/IP commands by transferring an appropriate command message to the server on the solaris and the server will issue them using the standard Berkeley sockets API. When the server receives data on a connected socket it will forward it to the client.

As you can probably realize it will require a lot of work although it is based on pretty basic material (on the Windows part; I have never programmed NetBIOS on UNIX. It can also be done using IPX/SPX which is supported by Linux, but I don't know about Solaris).

Let me note something, you have no way to assign an IP for the Windows machine( unless the service provider allocates one for you, or you can get two IPs and then change the Windows IP every time you want to use the Internet). If you just pick up your own IP, the ISP's routers or servers will not route the IP packets that are sent to the Win machine to it, because they didn't verify its location.

As for question No. 5: yes you can as long as the Win computer has a modem. You'll have to configure a Dial-up Networking connection with all the standard TCP/IP parameters, and then connect using it. 

----------
From: 	Eli Marmor[SMTP:marmor@elmar.co.il]
Sent: 	Monday, May 05, 1997 1:56 PM
To: 	linux-il@linux.org.il
Subject: 	Connecting a LAN to the Internet Through a Dial-Up PPP

Hi!

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 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?
2. What network components should be installed on the Win?
3. Should an address translation be installed on the Solaris?  How?
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)?
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?

Thanks in advance,
-- 
Eli Marmor
***************************************************************
 *   ___ _  __ ___  __    _ |__ _ _    marmor@elmar.co.il      *
  *     | | | \   | | \    |  / |\/     El-Mar Software Ltd.    *
   *    | | | _)  | | _)     /  | \      Tel.: 972-50-237338     *
    *    ___________________________      Fax: 972-9-7484279      *
     *   \_________________________ \      http://www.elmar.co.il  *
      *    _________  __  ____     \ \____  __    _                 *
       *   \_______ \ \_\|  _ \  __ \____ \ \ \  | |                 *
        *          \ \   | | \ \ \_\     \ \ \ \ | |                *
         *          \ \  | | _\ \         ) ) \ \ \_\_             *
          *          \ \ |_| \___)       (_/   \_\  \_\           *
           *          \ \_______________________________         *
            *          \________________________________\       *
             *                                                 *
              *************************************************