Re: Question: Gateway address == 0

From: Carlos Morgado (chbm@hal.chbm.nu)
Date: Sat Apr 08 2000 - 13:38:37 EST


On Sun, Apr 16, 2000 at 09:10:06PM +0200, Jan Bobrowski wrote:
>
> > > Kernel refuses to set gateway address to one having zeroed host
> > > part (ADDR & ~MASK == 0). I can't find any RFC that forbids it.
> >
> > You're trying to use the network address as gateway.
> > That's not supposed to be done, so refusing it seems
> > a good default.
>
> There's no such thing as "network address" in classless world. If you use
yes there is

> netmasks you can't describe your network using single address.
you said ADDR & ~MASK == 0 yourself. that pretty well defines it.

> Do you know any RFC?
>
not personally.

-- 
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A 
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Law of Software Envelopment: 
   `Every program attempts to expand until it can read mail. Those programs 
    which cannot so expand are replaced by ones which can.'

- 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