3Com 3c17300 Implementation Guide - Page 89

Dotted Decimal Notation, Network Portion, Class A address, Table 8

Page 89 highlights

IP Addresses 91 Dotted Decimal Notation The actual IP address is a 32-bit number that is stored in binary format. These 32 bits are segmented into 4 groups of 8 bits - each group is referred to as a field or an octet. Decimal notation converts the value of each field into a decimal number, and the fields are separated by dots. Figure 28 Dotted Decimal Notation for IP Addresses 10011110.01100101.00001010.00100000 = Binary notation 158.101.10.32 = Decimal notation The decimal value of an octet whose bits are all 1s is 255. Network Portion The location of the boundary between the network part and the host part depends on the class that the central agency assigns to your network. The three primary classes of IP addresses are as follows: ■ Class A address - Uses 8 bits for the network part and 24 bits for the host part. Although only a few Class A networks can be created, each can contain a very large number of hosts. ■ Class B address - Uses 16 bits for the network part and 16 bits for the host part. ■ Class C address - Uses 24 bits for the network part and 8 bits for the host part. Each Class C network can contain only 254 hosts, but many such networks can be created. The high-order bits of the network part of the address designate the IP network class. See Table 8. Table 8 How Address Class Corresponds to the Address Number Address Class A B C High-order Bits 0nnnnnnn 10nnnnnn 11nnnnnn Address Number (Decimal) 0-127 128-191 192-254

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105

IP Addresses
91
Dotted Decimal Notation
The actual IP address is a 32-bit number that is stored in binary format.
These 32 bits are segmented into 4 groups of 8 bits — each group is
referred to as a
field
or an
octet
. Decimal notation converts the value of
each field into a decimal number, and the fields are separated by dots.
Figure 28
Dotted Decimal Notation for IP Addresses
The decimal value of an octet whose bits are all 1s is 255.
Network Portion
The location of the boundary between the network part and the host
part depends on the class that the central agency assigns to your
network. The three primary classes of IP addresses are as follows:
Class A address
— Uses 8 bits for the network part and 24 bits for
the host part. Although only a few Class A networks can be created,
each can contain a very large number of hosts.
Class B address
— Uses 16 bits for the network part and 16 bits for
the host part.
Class C address
— Uses 24 bits for the network part and 8 bits for
the host part. Each Class C network can contain only 254 hosts, but
many such networks can be created.
The high-order bits of the network part of the address designate the IP
network class. See
Table 8
.
Table 8
How Address Class Corresponds to the Address Number
Address Class
High-order Bits
Address Number
(Decimal)
A
0nnnnnnn
0-127
B
10nnnnnn
128-191
C
11nnnnnn
192-254
158.101.10.32
10011110.01100101.00001010.00100000
= Binary notation
= Decimal notation