Types of IP Adresses

 


Types of IP Addresses:

There are two main types of IP addresses:

IPv4 (Internet Protocol version 4): This is the most widely used type of IP address, and it uses a 32-bit address space, allowing for approximately 4.3 billion unique addresses. IPv6 (Internet Protocol version 6): This is a newer type of IP address that uses a 128-bit address space, allowing for an almost unlimited number of unique addresses. IPv6 addresses are slowly being adopted as the world runs out of IPv4 addresses.

Classes of IP Address

The classes of IP addresses are a way of dividing the IP address space into different ranges to help manage and allocate IP addresses. There are five classes of IP addresses: Class A: The first octet (8 bits) identifies the network, while the remaining three octets (24 bits) identify hosts. Class A addresses start with the binary value 0 in the first octet and have a range from 1.0.0.0 to 126.255.255.255. Class B: The first two octets (16 bits) identify the network, while the remaining two octets (16 bits) identify hosts. Class B addresses start with the binary value 10 in the first octet and have a range from 128.0.0.0 to 191.255.255.255. Class C: The first three octets (24 bits) identify the network, while the remaining octet (8 bits) identify hosts. Class C addresses start with the binary value 110 in the first octet and have a range from 192.0.0.0 to 223.255.255.255. Class D: Class D addresses are used for multicast traffic and have a range from 224.0.0.0 to 239.255.255.255. Class E: Class E addresses are reserved for future use and have a range from 240.0.0.0 to 255.255.255.255.