Subject: Re: Gateway Problems
To: src <steve@scurvy.spc.uchicago.edu>
From: Ari Yrjola <ayrjola@letku.hut.fi>
List: netbsd-users
Date: 09/14/1995 15:43:29
On Wed, 13 Sep 1995, src wrote:
> I trying to set up an Amiga 3000 running 1.0 as a gateway to a
> subnet, but having extreme difficulty. I'm not sure if the problem is
> with the way I am configuring things, or a problem with netbsd (or the routed
> that comes with netbsd).
>
> The gateway has an ethernet interface (128.135.252.227) on the
> subnet (128.135.252.224) with a netmask of 255.255.255.240. When needed,
> I also add the SLIP link to the rest of the world, interface sl0, IP
> 128.135.252.225, dest 128.135.252.10, netmask 255.255.255.0.
Your sl0 and eth0 IP addresses are on the same subnet, can't work.
With that configuration your ethernet interface subnet has addresses
from 128.135.252.224 to 128.135.252.239, and your slip interface
netmask overlaps with that, as it has addresses from 128.135.252.0
to 128.135.252.255.
I don't think you should use routed at all, as netbsd supports
kernel routing. I haven't tried with SLIP, but I guess there
is similar functionality with sliplogin or slattach as with pppd,
which informs kernel about new route when it starts and removes
the routing entry when it stops.