Linux-kernel mailing list archive 2000-04,: Re: all zeroes/all ones used in host IP's...

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

Meelis Roos (mroos@linux.ee)
Sat, 29 Jan 2000 02:24:52 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Gert-jan Los: "Re: RFC: $(ARCH) in file"
- Previous message: Davide Libenzi: "Re: A different metric for scheduler optimisation"
- In reply to: Magnus Danielson: "Re: all zeroes/all ones used in host IP's..."
- Next in thread: Magnus Danielson: "Re: all zeroes/all ones used in host IP's..."
- Reply: Magnus Danielson: "Re: all zeroes/all ones used in host IP's..."

MD> Actually, if you read the RFC 1122 section 3.2.1.3 you would indeed find that
MD> for you example you get

MD> Host-number = 0x02
MD> Subnet-number = 0x0000
MD> Network-number = 0x17

How come? It reads:

Q> We now summarize the important special cases for Class A, B,
Q> and C IP addresses, using the following notation for an IP
Q> address:
Q>
Q>{ <Network-number>, <Host-number> }
Q>or
Q>{ <Network-number>, <Subnet-number>, <Host-number> }

No room for class number so the class number is contained in the netowrk
number. The following paragraph also says this indirectly:

Q> The <Network-number> is administratively assigned so that
Q> its value will be unique in the entire world.

So the can't be two 1's in different classes.

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

- Next message: Gert-jan Los: "Re: RFC: $(ARCH) in file"
- Previous message: Davide Libenzi: "Re: A different metric for scheduler optimisation"
- In reply to: Magnus Danielson: "Re: all zeroes/all ones used in host IP's..."
- Next in thread: Magnus Danielson: "Re: all zeroes/all ones used in host IP's..."
- Reply: Magnus Danielson: "Re: all zeroes/all ones used in host IP's..."