14 Feb 2020

  • February 14, 2020
  • Amitraj
Classes Of IP Addresses


TCP/IP defines five classes of IP addresses: class A, B, C, D, and E. Each class has a range of valid IP addresses. The value of the first octet determines the class. IP addresses from the first three classes (A, B and C) can be used for host addresses. The other two classes are used for other purposes – class D for multicast and class E for experimental purposes.


The system of IP address classes was developed for the purpose of Internet IP addresses assignment. The classes created were based on the network size.






Class A 

In a Class A network, the first eight bits, or the first dotted decimal, is the network part of the address, with the remaining part of the address being the host part of the address. There are 128 possible Class A networks.

0.0.0.0 to 127.0.0.0


However, any address that begins with 127. is considered a loopback address.

Example for a Class A IP address:

2.134.213.2




Class B

In a Class B network, the first 16 bits are the network part of the address. All Class B networks have their first bit set to 1 and the second bit set to 0. In dotted decimal notation, that makes 128.0.0.0 to 191.255.0.0 as Class B networks. There are 16,384 possible Class B networks.

Example for a Class B IP address:

135.58.24.17




Class C

In a Class C network, the first two bits are set to 1, and the third bit is set to 0. That makes the first 24 bits of the address the network address and the remainder as the host address. Class C network addresses range from 192.0.0.0 to 223.255.255.0. There are over 2 million possible Class C networks.

Example for a Class C IP address:

192.168.178.1




Class D

Class D addresses are used for multicasting applications. Unlike the previous classes, the Class D is not used for "normal" networking operations. Class D addresses have their first three bits set to “1” and their fourth bit set to “0”. Class D addresses are 32-bit network addresses, meaning that all the values within the range of 224.0.0.0 – 239.255.255.255 are used to uniquely identify multicast groups. There are no host addresses within the Class D address space, since all the hosts within a group share the group’s IP address for receiver purposes.

Example for a Class D IP address:

227.21.6.173




Class E

Class E networks are defined by having the first four network address bits as 1. That encompasses addresses from 240.0.0.0 to 255.255.255.255. While this class is reserved, its usage was never defined. As a result, most network implementations discard these addresses as illegal or undefined. The exception is 255.255.255.255, which is used as a broadcast address.

Example for a Class D IP address:


243.164.89.28

Related Posts:

  • Transmission Media : Guided, Unguided | Computer Network Transmission media -> Transmission media is a communication channel that carries the information from the sender to the receiver. Data is transmitted through the electromagnetic signals. -> The main functionality of… Read More
  • Bipolar Encoding Bipolar Encoding - Bipolar encoding is a type of return-to-zero (RZ) line code, where two nonzero values are used, so that the three values are +, −, and zero. -> There are three voltage levels positive, negative, and… Read More
  • What is Data Communication : Components, Purpose, Characterstics Data communication  Data communication refers to the exchange of data between a source and a receiver via form of transmission media such as a wire cable. Data communication is said to be local if communicating device… Read More
  • NRZ (non-return-to-zero) Encoding NRZ (non-return-to-zero) - NRZ is a commonly used method of encoding a data stream into a voltage waveform. In NRZ encoding, the binary zero is turned into a low voltage, and one is turned into a high voltage. -> In p… Read More
  • Data Encoding | Encoding Techniques | Computer Network Encoding is the process of converting the data or a given sequence of characters, symbols, alphabets etc., into a specified format, for the secured transmission of data. Decoding is the reverse process of encoding which is … Read More

Translate

Popular Posts