Class C addresses
A Class C address consists of a 24-bit network address and an 8-bit local host address.
The first three bits in the network address indicate the network class, leaving 21 bits for the actual network address. Therefore, there are 2,097,152 possible network addresses and 256 possible local host addresses. In a Class C address, the highest order bits are set to 1-1-0.
In other words, the first octet of a Class C address is in the range 192 to 223.
When deciding which network address class to use, you must consider how many local hosts there will be on the network and how many subnetworks will be in the organization. If the organization is small and the network will have fewer than 256 hosts, a Class C address is probably sufficient. If the organization is large, then a Class B or Class A address might be more appropriate.
Machines read addresses in binary code. The conventional notation for Internet host addresses is the dotted decimal, which divides the 32-bit address into four 8-bit fields. The following binary value:
0001010 00000010 00000000 00110100
can be expressed as:
010.002.000.052
or 10.2.0.52
where the value of each field is specified as a decimal number and the fields are separated by periods.
TCP/IP requires a unique Internet address for each network interface (adapter) on a network. These addresses are determined by entries in the configuration database, which must agree with entries in the /etc/hosts file or the named database if the network is using a name server.