Chapter 5. Configuring IP
The Internet Protocol (IP) is a
This section describes how to configure the Internet Protocol (IP).
Configuring IP Addressing
A number of tasks are associated with configuring IP. A basic and required task for configuring IP is to assign IP addresses to network interfaces. Doing so enables the interfaces and allows communication with hosts on those interfaces using IP. Associated with this task are decisions about subnetting and masking the IP addresses.
5.1 Assign IP Addresses to Network Interfaces
An IP address is a location to and from which IP datagrams can be sent. IP addresses were traditionally divided into three classes. The Class A Internet address format allocated the highest eight bits to the network field and set the
The table below lists the traditional classes and ranges of IP addresses, and their status.
Class | Address or Range | Status |
|
|
|
A | 0.0.0.0 | Reserved |
| 1.0.0.0 to 126.0.0.0 | Available |
| 127.0.0.0 | Reserved |
|
|
|
B | 128.0.0.0 to 191.254.0.0 | Available |
| 191.255.0.0 | Reserved |
|
|
|
C | 192.0.0.0 | Reserved |
| 192.0.1.0 to 223.255.254 | Available |
| 223.255.255.0 | Reserved |
|
|
|
D | 224.0.0.0 to 239.255.255.255 | Multicast group addresses |
|
|
|
E | 240.0.0.0 to 255.255.255.254 | Reserved |
| 255.255.255.255 | Broadcast |
|
|
|
With the rapid expansion of networks being connected to the Internet, critical problems were seen with the traditional classified addressing scheme. It was possible that IP addresses would run out, and routing tables would be overwhelmed. Thus, the Classless
CIDR replaces the older process of assigning IP addresses with general prefixes of 8, 16, or 24 bits. CIDR uses prefixes of 13 to 27 bits. A CIDR address includes the standard
40