12
IP Addressing
Overview
IP Address Classes
IP A
DDRESSING
When assigning IP addresses to interfaces on your device, go to these sections for
information you are interested in:
"IP Addressing Overview" on page 121
■
"Configuring IP Addresses" on page 123
■
"Displaying and Maintaining IP Addressing" on page 126
■
This section covers these topics:
"IP Address Classes" on page 121
■
"Special Case IP Addresses" on page 122
■
"Subnetting and Masking" on page 122
■
IP addressing uses a 32-bit address to identify each host on a network. An
example is 01010000100000001000000010000000 in binary. To make IP
addresses in 32-bit form easier to read, they are written in dotted decimal
notation, each being four octets in length, for example, 10.1.1.1 for the address
just mentioned.
Each IP address breaks down into two parts:
Net-id: First several bits of the IP address defining a network, also known as
■
class bits.
Host-id: Identifies a host on a network.
■
For administration sake, IP addresses are divided into five classes. Which class an IP
address belongs to depends on the first one to four bits of the net-id, as shown in
the following figure (in which the blue parts represent the address class).
Figure 35 IP address classes
0
7
Class A
0 Net-id
Class B
1
0
Net-id
Class C
1
1
0
Class D
1
1
1
0
Class E
1
1
1
1
C
ONFIGURATION
15
23
Host-id
Host-id
Net-id
Host-id
Multicast address
Reserved
31