Subject: Re: Basic networking help needed
To: Arto Huusko <arto.huusko@pp.qnet.fi>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 11/04/1998 10:12:48
On Wed, 4 Nov 1998, Arto Huusko wrote:
> That is, it seems to work but still no access to internet from the
> pentium. The IP-NAT howto did not tell what I have to do on the
> machines not connected to the internet. route add default 10.0.0.1
> perhaps? (10.0.0.1 is the address of the computer that IS connected
> to internet using ppp).
Yes (or put the amiga in the gateway= line in the pentium's rc.conf).
> With that I could see for example ping
> packets arriving to the amiga but it did nothing with them. I also
> tried ftp but that didn't work either... no access to internet,
> simply.
I had the same problem last week. Unfortunately, I did a lot of
things all at once, so I'm not sure exactly what fixed it!
> The addresses of the two machines are 10.0.0.1 and 10.0.0.2. 10.0.0.1
> is connected to internet via ppp0 and both machines are connected to
> each other using sl0. The real internet address is dynamic...
>
> this is what route show shows (roughly) on the amiga after pppd is up:
>
> destination gateway
> default 194.251.131.20 (this is always like this)
> 10.0.0.2 10.0.0.1
> localhost (the address issued to me from ISP)
> 194.251.131.20 (the address issued to me from ISP)
Try 'route add 10.0.0.1 localhost -interface' on the amiga. I got that
from running "perl /usr/share/examples/ipf/mkfilters".
> I tried several different configurations in the ipnat.conf but no help
> (for example 10.0.0.0/32, 10.0.0.2/8 and so on).
Yuch. If anything, try 10.0.0.2/32. BTW, when you add routes manually
with your class A ("10") network, you may need to be careful to get
the netmask right. With 192.168.N.n, there's a better chance that the
defaults will magically work.