How Can You Identify the IP Class of a Given IP Address? Last Updated : 09 Apr, 2024 Improve Improve Like Article Like Save Share Report Answer: To identify the IP class of a given IP address we check the first octet of the IP address. Every class of IP address have specified range of first octet of IP address. So, for the given IP check the first octet of IP falls under which class range and accordingly identify the class of given IP address. Range of Class of IP Address Below table represents the table for the range of the different class of IP address. Class of IP Range of First Octet Class A 0-127 Class B 127-191 Class C 192-223 Class D 224-239 Class E 240-255 Steps to Identify the IP Class of a Given IP Address First, get the first octet of the given IP address. Check the first octet of given IP address with the range of class of IP address table. The range of class in which the first octet belongs to is the class of the given IP address. Like Article Suggest improvement Next How to get IP Address of clients machine in PHP ? Share your thoughts in the comments Add Your Comment Please Login to comment...