Subject: Re: "Router" question...
To: None <netbsd-help@netbsd.org>
From: None <seebs@plethora.net>
List: netbsd-help
Date: 10/29/1999 18:57:04
In message <19991029195159.P438@acheron.middleboro.ma.us>, Mason Loring Bliss w
rites:
>ep0 = 10.0.0.250 netmask 255.255.255.0   broadcast 10.0.0.251
>ep1 = 10.0.0.253 netmask 255.255.255.252 broadcast 10.0.0.255

This looks wrong.  The netmask you have for the first block includes the
second block.  This can't be right.  :)

I don't think you can have a subnet that isn't representable as an even
division of the whole IP address into network and host, and there's no
contiguous set of bits you can mask with that will mask out 253 and not
mask out 250...

>Is there something wrong with my assumptions about how this is supposed to
>work? It seems like the box is ignoring packets sent to it that are destined
>for other machines. I thought that such packets were supposed to be forwarded
>from interface to interface, but I may well be missing something.

Well, for one thing, the other systems would have to know this is a gateway,
but the other thing is, I don't think it'll do what you want if it says "oh,
but the person you're sending that packet to is already on your network"

-s