> 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.
Zero host part _is_ forbidden. RFC1122, section 22.214.171.124:
IP addresses are not permitted to have the value 0 or -1 for
any of the <Host-number>, <Network-number>, or <Subnet-
number> fields (except in the special cases listed above).
This implies that each of these fields will be at least two
This implies that a gateway address, being a regular IP address used
by a router, may not have the value 0 for "Host-number" (the part
after the network mask). Nothing to argue at all.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:12 EST