Skip to main content

Special Addresses

There are five classes of IP addresses: Class A through Class E [119]. Of these, Class E addresses are reserved for experimental use. A gateway which is not participating in these experiments must ignore all datagrams with a 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:

         (a)   {0, 0}

This host on this network. Can only be used as a source
address (see note later).

(b) {0, <Host-number>}

Specified host on this network. Can only be used as a
source address.

(c) { -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.

(d) {<Network-number>, -1}

Directed broadcast to specified network. Can only be used
as a destination address.

(e) {<Network-number>, <Subnet-number>, -1}

Directed broadcast to specified subnet. Can only be used as
a destination address.



(f) {<Network-number>, -1, -1}

Directed broadcast to all subnets of specified subnetted
network. Can only be used as a destination address.

(g) {127, <any>}

Internal host loopback address. Should never appear outside
a host.