Special IP Addressing Rules

As you've seen, certain IP addresses and address ranges have special uses:

  • The addresses 127.0.0.0 through 127.255.255.255 are reserved for local loopback.

  • The addresses 10.0.0.0 through 10.255.255.255, 172.16.0.0 through 172.31.255.255, and 192.168.0.0 through 192.168.255.255 are designated as private and as such are nonroutable.

  • On classful networks, the Class A addresses w.255.255.255, Class B addresses w.x.255.255, and Class C addresses w.x.y.255 are reserved for broadcasts.

  • On nonclassful networks, the broadcast address is the last IP address in the range of IP addresses for the associated subnet.

Note

Certain IP addresses are also reserved for other purposes as well. For example, the IP addresses 169.254.0.1 to 169.254.255.254 are used for Automatic Private IP Addressing (APIPA) as discussed in the section entitled "Configuring TCP/IP Networking" later in this chapter.

On classful networks, all the bits in the network ID cannot be set to 0 because this expression is reserved to indicate a host on a local network. Similarly, on a classful network all the bits in the host ID cannot be set to 0 because this is reserved to indicate the IP network number.

Table 24-1 lists the ranges of network numbers based on address classes. You cannot assign the network number to a network interface. The network number is common for all network interfaces attached to the same logical network. On a nonclassful network, the network number is the first IP address in the range of IP addresses for the associated subnet—as specified in RFC 1812.

Table 24-1. Network IDs for Classful Networks

Address Class

First Network Number

Last Network Number

Class A

1.0.0.0

126.0.0.0

Class B

128.0.0.0

191.255.0.0

Class C

192.0.0.0

233.255.255.0

When you apply all the rules for IP addresses, you find that many IP addresses cannot be used by hosts on a network. This means the first available host ID and last available host ID are different from the range of available IP addresses. Table 24-2 shows how these rules apply to classful networks. On a nonclassful network, the same rules apply—you lose the first and last available host ID from the range of available IP addresses.

Table 24-2. Available Host IDs on Classful Networks

Address Class

First Host ID

Last Host ID

Class A

w.0.0.1

w.255.255.254

Class B

w.x.0.1

w.x.255.254

Class C

w.x.y.1

w.x.y.254

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset