This article constitutes section 1, part C, chapter 5 of the CIW Website design manager course briefly covers: Internet Addressing
To ensure that each host on the Internet has a unique IP address, a central authority called the International Corporation of Assigned Names and Numbers (ICANN) issues all Internet addresses.
Most Internet addresses contain a network portion and a host portion. The network portion precedes the host portion. Internet addresses are specified as four fields seperated by full stops. These are typically written in dotted decimal notation. Each field has a value from 0 to 255.208.156.21.110
In this example the network portion is 208.158.21 and the host portion is 110. The network portion is determined by the class of the address.
Internet Addressing Classes
Internet addresses are divided into five classes: A, B, C, D and E to provide structure. These classes are shown below:
IP Internet Addressing Rules
Internet addresses must follow several guideline to function correctly. Not all addresses within the above ranges may be used.
The loopback address 127. This is often assigned the name localhost. An Internet address cannot use the loopback address. This address allows a client and server on the same host to communicate with each other. This is ideal for testing and troubleshooting.
The broadcast address is 255. All network hosts can receive messages from this address. The address 255.255.255.255 is known as a limited broadcast and is used for configuration at boot up. In the earlier IP example 220.127.116.11 will broadcast to all hosts on the local network.
Reserved IP Addressing
ICANN has reserved three blocks of IP addresses for private networks:
- 10.0.0.0 to 10.255.255.255
- 172.16.0.0 to 172.31.255.255
- 192.168.0.0 to 192.168.255.255
Networks normally isolated from the Internet may use reserved addresses.
A subnet mask is a 32-bit number (like an IP address) with a one-to-one correlation to each bit of the IP address.
The subnet mask server two main purposes:
- Distinguish the network and host portions of an IP address
- Specify whether a destination address is local or remote
The following shows the default subnet masks for the first three classes:
Class D and E do not have hosts, and therefore do not need subnet masks.
This section on Internet Addressing is like the rest of the course, in that, it only provides a brief overview of each element to give the webmaster a working knowledge of the technology.
Much of this section focuses on the terminology used in the field of internet addressing. And familiarity with the wording and context are important in understanding how it all pieces together.