🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #59795

Re: LAN with Linux and Windows (HELP !!)

#59795
From: Del
Date: Thu, 23 Nov 1995 00:00
49 lines
2459 bytes
-*Binh*- (u922992@student.canberra.edu.au) wrote:

: G'day all..i got a few machines which i want to hook to the net at once, 
: here is my propose solution...and i wonder if anyone can details me on my 
: solution or perhap comment on my ideas and further my task :)...

: I have a linux box and several other machines running windows and windows 95.

: Now i want to setup linux as a gateway with a 28.8K modem hook to the 
: internet...and the rest of the machines hook to a little LAN and use linux 
: as a gateway to enter the net...

: Does anyone has a solution to this ?..

The best method is to pick up a recent 1.3.X kernel and turn on
IP_MASQUERADE.  If in doubt, read the source.  There is some
(but not very much) documentation in the kernel documentation
directory.

Alternatively, connect the Linux box to the internet using SLiRP
rather than a real PPP/SLIP link.  Then your Linux box will know
itself as 10.0.2.15, so you need to assign other addresses in
the 10.0.2.X range to your private LAN.

That works until the outside world starts sending packets in ...
then they don't get into your LAN.  You can't broadcast your
IP addresses to the world because you don't have any.

Alternatively, you can ask an ISP to assign you a bunch of IP
addresses (unlikely) or get your own class C (even more unlikely,
and somewhat wasteful).

: I can go about setup linux as a gateway but what about windows/windows95 how 
: do i go about setting it up as a little LAN with linux as gateway ?

There is very little to do on the Windows side (which is good because
the windows box isn't really capable of thinking and not really good
at doing gateways).

: does the work involve similar to setting up PPP connection on Win95 
: machine ?

No.

Del
--
-------------------------------+-------------------------------------
Del                            | del@babel.matra.com.au
-------------------------------+-------------------------------------
Technical Details
Message-ID: <1995Nov23.110723.349@babel.matra.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <Pine.SOL.3.91.951121172831.28989A-100000@student.canberra.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,b450bc5af75582f5,start
X-Google-Attributes: gid102983,public
From: del@babel.matra.com.au (Del)
Subject: Re: LAN with Linux and Windows (HELP !!)
Date: 1995/11/23
Message-ID: <1995Nov23.110723.349@babel.matra.com.au>
X-Deja-AN: 120146086
references: <Pine.SOL.3.91.951121172831.28989A-100000@student.canberra.edu.au>
organization: Matra Internetworks
newsgroups: aus.computers.linux