Horje
How Can You Identify the IP Class of a Given IP Address?

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.



Reffered: https://www.geeksforgeeks.org


Computer Networks

Related
What are the Maximum Networks and Hosts in a Class A, B and C Network? What are the Maximum Networks and Hosts in a Class A, B and C Network?
How Parity Bit Detect Error? How Parity Bit Detect Error?
How To Calculate TCP Header? How To Calculate TCP Header?
How to identify unicast ip address? How to identify unicast ip address?
How domain name is transferred in IP address? How domain name is transferred in IP address?

Type:
Geek
Category:
Coding
Sub Category:
Tutorial
Uploaded by:
Admin
Views:
18