[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Questions concerning the new MiNT-
Hi, Jo Even, and all.
On Wed, 21 Jul 1999, Jo Even Skarstein wrote:
> On Tue, 20 Jul 1999 17:26:26 +0200, Torsten Lang wrote:
>
> > it's not a day since release and I receive the first questions. Since there are
> > things that ARE explained in the documentation (which I also updated!) do read
>
> OK, here's another: How do I get masquerading to work??
>
> I have three computers in a network (plip), my TT with address
> 192.168.1.3, my Falcon (192.168.1.2) and Palm (192.168.1.1). The
> network-address is 192.168.1 (is this sensible? I have no idea), and
> I have not set any non-standard netmasks in etc/netmasks.
>
> How do I enable masquerading? On which machine+ And with what
> parameters? I've been playing around (and reading the README...), but
> so far without success...
>
As I write this down, aftp on the TT is downloading at 40-50Kb/sec via
plip from the Hades. Working very nice :) I don't quite understand what
you mean, 3 computers in a network with plip? You mean one of your
machines have two paralell ports? Anyway, all I did was this;
TT = 192.168.0.11
Hades = 192.168.0.10 (also the masquerading machine)
I have setup my network to be 192.168.0.0 (netmask 255.255.0.0)
On the Hades I have in rc.net;
ifconfig pl0 addr 192.168.0.10 dstaddr 192.168.0.11 up
route add 192.168.0.11 pl0
masqconf address 192.168.0.0 netmask 255.255.0.0 set ENABLED
On the TT, I have this;
ifconfig pl0 addr 192.168.0.11 dstaddr 192.168.0.10 up
route add 192.168.0.10 pl0
route add default pl0 gw 192.168.0.10
That's it :) Now I can connect to the Internet whenever I want, and the
local network (not so big yet, but a falcon, TT, Sun SparcStation 2 and a
PC is to be added) is up all of the time. Sometimes, when I power up the
machines, I notice that they both hang (i.e., freeze) When that happends I
just unplug the plip cable in one of the machiens, then reconnect again. I
think this is because of some unsynchronization or something, but as long
as the machines are up running, there are no problems at all :) Btw,
thanks to Mario for bringing masquerading to MiNTnet, and to Torsten for
all the other fixes/maintaining of it ;-)
I'm happy now :)
Odd Skancke - ozk@atari.org