What you have to do depends on the IP addresses in use on your LAN.
If you have real IP addresses for all the hosts, then you just need to set
up your Linux host as a router. Assuming the kernel supports IP forwarding
(most do, these days - if yours is an exception, you'll need to recompile
with that option on), this means adding a second physical interface to the
Linux host, so it has:
-- an Ethernet interface (typically eth0) to the LAN
-- an appropriate interface to your ISP (a ppp interface over
a modem? an Ethernet card to a DSL TA? you don't say).
You'll then tell your other hosts to use the Linux host as a gateway (not
sure how to do this in Win95, but I think it's part of the TCP/IP setup
dialog), and your Linux host to treat the interface to the ISP as its
default route (how you do this depends on the interface type).
Depending on the interface type to the ISP, you may need to set up demand
dialing using diald or an equivalent - if you need more help on this part,
write again telling us how you plan to connect to the ISP.
There are also options to use the Linux host as a firewall &/or proxy
server. Read the apropriate HowTos to get an overview of the possibilities here.
All that assumes that the hosts each have a real IP address. If, instead,
they are using restricted addresses (10.x.x.x, 192.168.x.x, or the
corresponding Class B block - which I can never remember), you'll also need
to have the Linux host do NAT (Network Address Translation). Linux does that
through a facility called IP Masquerading. If you need to implement this,
start by reading the HowTo.
At 05:36 PM 6/8/99 +0200, Klaus Drechsler wrote:
>I want to use my linux server as an "internet server" so I can access the
>internet from every computer connected to the LAN (actually I have 3
>computers in my LAN: 2 WIN95 workstations and 1 Linux server).
>
>My question is: what do I have to do ?
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
762 Garland Drive
Palo Alto, CA 94303-3603
650.328.4219 voice [EMAIL PROTECTED]
----------------------------------------------------------------