Skip to main content

Special Addresses

There are five classes of IP addresses: Class A through Class E [119]. Of these, Class D and Class E addresses are reserved for experimental use. A gateway which is not participating in these experiments must ignore all datagrams with a Class D or Class E destination IP address. ICMP Destination Unreachable or ICMP Redirect messages must not result from receiving such datagrams.

There are certain special cases for IP addresses [11]. These special cases can be concisely summarized using the earlier notation for an IP address:

         IP-address ::=  { <Network-number>, <Host-number> }

or

IP-address ::= { <Network-number>, <Subnet-number>,
<Host-number> }

if we also use the notation "-1" to mean the field contains all 1 bits. Some common special cases are as follows:

  • {0, 0} — This host on this network. Can only be used as a source address (see note later).
  • {0, <Host-number>} — Specified host on this network. Can only be used as a source address.
  • { -1, -1} — Limited broadcast. Can only be used as a destination address, and a datagram with this address must never be forwarded outside the (sub-)net of the source.
  • {<Network-number>, -1} — Directed broadcast to specified network. Can only be used as a destination address.
  • {<Network-number>, <Subnet-number>, -1} — Directed broadcast to specified subnet. Can only be used as a destination address.
  • {<Network-number>, -1, -1} — Directed broadcast to all subnets of specified subnetted network. Can only be used as a destination address.
  • {127, <any>} — Internal host loopback address. Should never appear outside a host.