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

From: H. Peter Anvin (hpa@transmeta.com)
Date: Fri Jan 28 2000 - 19:04:41 EST


Magnus Danielson wrote:
>
> From: hpa@transmeta.com (H. Peter Anvin)
> Subject: Re: all zeroes/all ones used in host IP's...
> Date: 28 Jan 2000 11:55:20 -0800
>
> > You are, indeed, completely wrong. There rules are that neither the
> > *entire* network portion or the *entire* host portion of the address
> > can be all 0 or all 1.
>
> No, he is correct if you go by RFC 1122. However, if you are running CIDR you
> are right. It seems most posts on this topic actually misses the pre/post CIDR
> conditions and you really have to read the full section of RFC 1122 and think
> of what class the address at hand has in order to fully interprent the
> paragraph that he quoted correctly.
>

No, he's not; he claimed there was something magic about each *octet*.
That has never been true, although people have, in the past, been keen
on putting the barriers at octet boundaries.

However, RFC 1122 is obsolete. Everyone uses CIDR these days, and once
you have that, you have the rules I gave. CIDR is Best Current Practice
per RFC 2050.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

- 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:23 EST