identification when communicating with the rest of the world. This address is different from the interface name mentioned previously; if you compare an interface to a door, the address is like the nameplate pinned on it.
Other device parameters may be set, like the maximum size of datagrams that can be processed by a particular piece of hardware, which is referred to as
IP Addresses
As mentioned in Chapter 1, Introduction to Networking, the IP networking protocol understands addresses as 32-bit numbers. Each machine must be assigned a number unique to the networking environment.[13] If you are running a local network that does not have TCP/IP traffic with other networks, you may assign these numbers according to your personal preferences. There are some IP address ranges that have been reserved for such private networks. These ranges are listed in Table 2.1. However, for sites on the Internet, numbers are assigned by a central authority, the
IP addresses are split up into four eight-bit numbers called
Another reason for this notation is that IP addresses are split into a
The size of the host part depends on the size of the network. To accommodate different needs, several classes of networks, defining different places to split IP addresses, have been defined. The class networks are described here:
Class A
Class A comprises networks
Class B
Class B contains networks
Class C
Class C networks range from
Classes D, E, and F
Addresses falling into the range of
If we go back to the example in Chapter 1, we find that
You may have noticed that not all possible values in the previous list were allowed for each octet in the host part. This is because octets
A number of network addresses are reserved for special purposes.
Network
Some address ranges from each of the network classes have been set aside and designated 'reserved' or 'private' address ranges. These addresses are reserved for use by private networks and are not routed on the Internet. They are commonly used by organizations building their own intranet, but even small networks often find them useful. The reserved network addresses appear in Table 2.1.
Table 2.1: IP Address Ranges Reserved for Private Use
Class | Networks |
---|---|
A | 10.0.0.0 through 10.255.255.255 |
B | 172.16.0.0 through 172.31.0.0 |
C | 192.168.0.0 through 192.168.255.0 |
Address Resolution
Now that you've seen how IP addresses are composed, you may be wondering how they are used on an Ethernet or Token Ring network to address different hosts. After all, these protocols have their own addresses to identify hosts that have absolutely nothing in common with an IP address, don't they? Right.
A mechanism is needed to map IP addresses onto the addresses of the underlying network. The