Re: Question: Gateway address == 0

From: Jan Bobrowski (jb@mohan.krakow.pl)
Date: Sun Apr 16 2000 - 14:22:50 EST


> > Kernel refuses to set gateway address to one having zeroed host part (ADDR
> > & ~MASK == 0). I can't find any RFC that forbids it.

On Sat, 8 Apr 2000, Simon Richter <Simon.Richter@phobos.fs.tum.de> wrote:
> An address with a zero host part is a network address. While no packets
> will ever be sent to such an address, they are required for routing. An
> appropriate RFC would be #1122 for example (while this RFC does not
> explicitly forbid zero host parts, some of the algorithms may fail).

Are you sure? If zero host part is not forbidden it is legal! If algoritms
may fail they are wrong. It should be explicitly specified somewhere that
some addresses are not allowed.

Linux allows to set host part of host address to zero. But gateways are
not allowed.

JB

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:11 EST