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

Re: DSL with several PCs



This one time, at band camp, Axel Schlicht said:
> Hi *
> 
> Currently I am setting up a small network trying and connecting all my
> old PCs. It's partly just to see how to do stuff, partly it's needed.
> 
> The needed part is (the stuff that has to work soon):
> An old P I 233 with two network cards, both running OK
> A not so old P III 650 with one network card
> My new laptop with one network card
> A switch for 8 boxes.
> 
> The "for fun part" consists of:
> A Japanese Macintosh Performa 5270
> A very old Amiga 4000
> 
> So what we have is:
>         +---------+      +---------+  
> DSL-----+ P 1 233 +------+ Switch  |
>         +---------+      +-+-+-+-+-+
>                           | | | |        +-------+
>         +---------+       | | | +--------+ Apple | (Japanese Macintosh
> Performa 5270)
>         | P III   +-------+ | |          +-------+ 
>         +---------+         | | 
>                             | |          +-------+
>         +---------+         | +----------+ Amiga | (planned, don't know
> if it will work)
>         | Laptop  +---------+            +-------+ 
>         +---------+         
> 
> What I want to do is:
> All Boxes should be able to access the web through the P I which shall
> act as a gateway.
> My ISP would allow me to have several boxes accessing the net, but I
> only want one box at a time. Of course, the P III and Laptop will
> occasionally run windows, as many of the apps I have to use will only
> run under Windows and have need to connect to the net.
> 
> The Apple part is not so important right now, the Amiga part is just for
> playing with the possibilities. (Still looking for a network card.)
> 
> So where do I start and what do I have to do.
> 
> Any pointers / help will be most gratefully accepted.
> 
> Thanks in advance.
> 
> Axel Schlicht
> 
> P.S. Should debian-isp be the better group for this, please feel free to
> set a follow-up.

Right list.  This is pretty easy to do, and what I have set up.  The PI
shoul run ipchains/iptables, and do MASQ or NAT for the LAN.  Set up the
ADSL connection on PI normally (static, DHCP, PPPOE, whatever your ISP
uses), and then set that box up to MASQ for the LAN.  There are several
good howto's available on the subject.  eth1 (the internal NIC) should
be set up with a static 192.168.x.x address (not x.x.x.0 or x.x.x.255,
though), and all the other boxes will use that address as their gateway.

Works pretty transparently here.  If that's not enough info, write back.
There are packages available for this in the archive, IIRC, ipmasq and
such.

HTH,
Steve
-- 
Q:	What is the difference between Texas and yogurt?
A:	Yogurt has culture.

Attachment: pgpjqZfvJKiOE.pgp
Description: PGP signature


Reply to: