Ip Address divided into five classes, Class A, Class B, Class C, Class D, Class E. Only Class A, Class B, and Class C are used commonly, Class D is used for multi-casting and Class E is reserved for the further use and R&D purpose.
Class A IP Address:
In this class, the first one bit in the first octet always set to 0 (zero). The first octet ranges are from 1 to 127. IP Address range from 0.0.0.0 to 127.255.255.255 included into Class A.
Class B IP Address:
In this class, the first two bits of the first octet always set to 10. The first octet ranges are from 128 to 191. IP Address range from 128.0.0.0 to 191.255.255.255 are included in Class B.
Class C IP Address:
In this class, the first three bits of the first octet always set to 110. The first octet ranges are from 198 to 223. IP Address range from 192.0.0.0 to 223.255.255.255 are included in Class C.
Class D IP Address:
In this class, the first four bits of the first octet always set to 1110. The first octet ranges are from 224 to 239. IP Address range from 224.0.0.0 to 239.255.255.255 are included in Class D.
Class E IP Address:
All address under this class is reserved for further use and Research & Development purpose. The first octet ranges are from 128 to 191. IP Address range from 240.0.0.0 to 255.255.255.255 are included in Class E.
There is some reserved IP address which is used only in Local Area Network. Those addresses are not accessible on the internet.
For Example, IP Address range 127.0.0.0 to 127.255.255.255 are reserved for the loopback or localhost.