Skip to main content

Ipv4 addressing structure and classes example



Internet Protocol Version 4 (IPv4) is most used in the world of networking. In this article, all the information about the structure and classes of IPv4 addressing will be given, and its example will also be given.


Structure of IPv4:-

Internet Protocol Version 4 address is of 32 bits and 4 bytes, and it is represented in 4 parts of decimal. Each part is from 0 to 255. For example, 192. 168. 1.1 is a valid Internet Protocol Version 4 address.

Internet Protocol Version 4 address is divided into the following 2 parts:

1. Network Part - The network part does the work of finding out where the IP address is present in the network.

2. Host Part - It works to identify the necessary devices inside the network.

The main purpose of Internet Protocol Version 4 addressing is to send data packets to their correct place on the Internet or any other network. Every device that connects to the Internet has an IPv4 address. This way, data packets can travel to their intended device without any interruption.


Classes of IPv4 :-

IPv4 addressing is divided into the following five classes: A, B, C, D, and E. All classes are compatible with each type of network and divide a well-known part of the address space.


Class A :-

Range: Class A has a range of 1.0.0.0 to 126.0.0.0.

Network/Host Partition: Class A has a network/host partition 8-bit network and 24-bit host part.

Use: Class A is used for large-scale networks such as large organizations.

Example: Class A has an address of 10.0.0.0.

If Class A has 10.0.0.0. So the network part is 10, and the rest 24 bits are used for hosts. That means there are about 16 million hosts in network 10.

Class A works as addressing. Its first octet is used for the network. And the remaining three octets are used for hosts. Every class A network has more than 16 million hosts.


Class B :-

Range: The range of class B is from 128.0.0.0 to 191.255.0.0.

Network/Host Division: In class B, 16 bits are used for networks and 16 bits are used for hosts.

Use: Class B is used in medium area networks like in colleges.

Example: Its example is 172.16.0.0.

If the class B address is 172.16.0.0. So its network part will be 176.16, and the rest 16 bits are the host part. And network 176.16 has approximately 16,536 hosts.

In class B addressing, the first two octets are network and the remaining two octets are host. That is, every class B network has 65536 hosts.


Class C :-

Range: Class C ranges from 192.0.0.0 to 223.255.255.0.

Network/Host Partition: Class C range has a 24-bit network and a bit host part.

Use: Class C is used for small networks and home use.

Example: Its example is 192.168.1.0.

If the Class C address is 192.168.1.0, then its network part is 192.168.1, and the remaining 8 bytes are for the host part. That is, there are approximately 256 (2^8) hosts in the network 192.168.1.

In Class C addressing, the first three octets act as the network part. The remaining octets are the host part. That is, every Class C network has 256 (2^8) hosts.


Class D :-

Range: The range of Class D is from 224.0.0.0 to 239.255.255.255.

Use: Used to send data in a group for multitasking.

Class D addressing is used for multitasking. Which is used to send the same data packets to multiple hosts on multiple networks. There is no part of network/host division in it.


Class E :-

Range: Class E ranges from 240.0.0.0 to 255.255.255.255.

Use: It is used for research and development purposes.

Class E addressing is used for research and development purposes. It is commonly used for networking purposes.


Conclusion :-

IPv4 addressing structure and classes are used to send data over the Internet. Many classes meet the needs of different types of networks. Its job is to keep the network and hosts running properly.

Comments

Popular posts from this blog

Common network issues and solutions in computer networks

Common network issues and solutions in computer networks:- Computer networks are an important part of modern organizations. Data is sent and received using it. And it is used for communication and connecting resources. It is necessary to fix the problem of the network. So that the functionality of the network can be increased and made efficient. 1. Connectivity problems :- Problem: If a user is unable to connect to the network. Solution:- Reboot the computer and router: If the user is unable to connect to the network, then he can connect to the network by resetting the circuit first. Check the network cable and connection: if the user is unable to connect to the network. Then check the network cable to see if the network cable is connected correctly or not. And whether the network cable is broken or not. Check the settings of the network adapter: If the user is unable to connect to the network. Then check if the network adapter is connected correctly or not. Check IP address: If the ...

What are the troubleshooting methodologies

Network Troubleshooting Methodologies: Network Problem Solving Techniques :- Network problem solving is an important task whose purpose is to identify the network problems and fix them. Therefore, this process demands technical knowledge and use of the right tools. Network management, network engineers, and IT assistants are responsible for identifying and solving network problems. In this article, network troubleshooting and methods will be explained. Problem identification :- The first step in network problem solving is to identify the problem. Many steps have been taken for this: 1. Network monitoring: Any unusual activity occurring on the network can be identified using network monitoring tools. These tools monitor the availability, performance, and security of the network. 2. User reports: It evaluates the problems and complaints received from the users. Then it is known where the problem is occurring in the network. 3. Log File Analysis: Evaluates the log files of network devi...

What is a firewall

What is a firewall: An integral part of computer security :- In the context of computer and network security, a firewall is a special device that prevents unauthorized access and helps to secure data. And it restricts network traffic and only allows data coming from reputable sources. Therefore, through this article, the types of firewalls, definitions, benefits, and their functions and rules for implementing them will be explained. Definition of firewall (structure):- A firewall is a security system that has been created to keep the network safe. Its main goal is to block unauthorized traffic and allow only the traffic that comes with the right credentials. It filters network traffic and monitors the data coming and going in the network. Types of firewall :- There are two types of firewalls: software firewalls and hardware firewalls. Apart from this, there are other types of network security. 1. Software Firewall: A software firewall is a program that is applied to a computer or netwo...