Re: all zeroes/all ones used in host IP's...

From: Carlos Morgado (chbm@chbm.nu)
Date: Fri Jan 28 2000 - 18:21:50 EST


On Fri, Jan 28, 2000 at 12:44:51PM -0500, Mike A. Harris wrote:
> On another mailing list I'm on there is a small discussion about
> using "0's" in IP addresses. Nobody could categorically say
> wether or not they are allowed or not including myself, so I
> hunted down RFC 1123, and found the relevant section.
>
> Here it is:
>
> 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
> bits long.
>

it means you can't have a 0.0.10.10/16 or 10.10.10.0/32 or a 255.0.0.1/8 or
a 10.10.1.255/32.

Look at the proper definitions for *-number. That paragraph protects network
and broadcast adresses from being used for hosts or networks.

-- 
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

Broadcast message from root .... system going down imediatly ....

- 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 : Mon Jan 31 2000 - 21:00:22 EST