Re: Question: Gateway address == 0

From: Dominik Kubla (dominik.kubla@uni-mainz.de)
Date: Sat Apr 08 2000 - 13:39:47 EST


On Sun, Apr 16, 2000 at 09:22:50PM +0200, Jan Bobrowski wrote:
>
> 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.

Some older systems treat that as broadcast address. That's why you don't
want this.

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

And rightfully so: did you ever ping a "network address" in a real world
environment? You'll be surprised how many systems answer to that...

Setting the gateway address to the network base address is just as stupid
as setting it to the broadcast address.

Dominik Kubla

-- 
  Networking Group,  Hospital of Johannes Gutenberg-University                  
  Obere Zahlbacher Straße 69, 55101 Mainz, Germany                              
  Tel: +49 (0)6131 17-2482   FAX: +49 (0)6131 17-5521                           

- 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