lkml.org 
[lkml]   [2000]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: all zeroes/all ones used in host IP's...
    MAH> using "0's" in IP addresses.  Nobody could categorically say
    MAH> wether or not they are allowed or not including myself, so I
    MAH> hunted down RFC 1123, and found the relevant section.

    It's really 1122 :)

    MAH> IP addresses are not permitted to have the value 0 or -1 for
    MAH> any of the <Host-number>, <Network-number>, or <Subnet-
    MHA> number> fields (except in the special cases listed above).
    MAH> This implies that each of these fields will be at least two
    MAH> bits long.

    MAH> I interpret the above as meaning that it is not legal to have a
    MAH> network like this:

    MAH> 192.168.0.0/24 or 23.0.0.0/24

    MAH> with hosts 192.168.0.1 through 192.168.0.254 or with hosts
    MAH> 23.0.0.1 through 23.0.0.254.

    Why? 192.168.0.0 is a C class address, so it has the network number
    192.168.0 which is not 0. As 23.0 is not equal to 0. So they are
    allowed.

    --
    Meelis Roos (mroos@tartu.cyber.ee)

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

    \
     
     \ /
      Last update: 2005-03-22 13:56    [W:4.077 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site