0% found this document useful (0 votes)
7 views4 pages

CN 03

The document explains Classful IP Addressing, which categorizes IP addresses into five classes (A, B, C, D, and E) for easier network management. It highlights the advantages, such as simplicity and clear network boundaries, as well as limitations like IP address wastage and lack of flexibility. Additionally, it provides a conclusion on the purpose of each class and suggests implementing a Java program to determine the class of a given IP address.

Uploaded by

0saqlainhaidar0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

CN 03

The document explains Classful IP Addressing, which categorizes IP addresses into five classes (A, B, C, D, and E) for easier network management. It highlights the advantages, such as simplicity and clear network boundaries, as well as limitations like IP address wastage and lack of flexibility. Additionally, it provides a conclusion on the purpose of each class and suggests implementing a Java program to determine the class of a given IP address.

Uploaded by

0saqlainhaidar0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Assignment : 03

 Familiarization with Classful IP Address:


IP Address:
An IP Address (Internet Protocol Address) is a unique identifier assigned to each device
connected to a computer network that uses the Internet Protocol (IP) for communication. It
serves two main purposes:

• Identification – Identifies the device on the network.


• Location Addressing – Specifies the device's location to facilitate
communication.

Example Scenario
• If your computer's IP address is 192.168.1.10 and you send a request to 172.217.160.78
(Google's IP), the routers direct the request using IP addresses to ensure the data reaches
the correct device.
Classful Addressing :
Classful addressing is a method of IP address allocation in which IP addresses are divided
into fixed-size classes (Class A, B, C, D, and E). Each class has predefined network and host
portions, making it easier to understand and implement.

Key Features of Classful Addressing


• IP addresses are divided into five classes: A, B, C, D, and E.

• Each class has a fixed subnet mask (e.g., 255.0.0.0 for Class A).

• There’s no requirement to specify a subnet mask since it's implied by the class itself.

• It uses the first octet's value to determine the class of the IP address.

Here's a table summarizing the IP address classes, their first octet


ranges (in both binary and decimal), and their respective network
and host ID details:
Advantages of Classful Addressing :
 Simplicity and Ease of Use
• Since each class has a predefined structure, configuring networks is straightforward.

• No need to manually assign subnet masks in most cases.

 Clear Network Boundaries


• The separation of network and host portions is distinct, reducing complexity in IP
management.

 Compatibility
• Older networking devices and protocols were built around classful addressing, ensuring
broad support.

 Automatic Routing Efficiency


• Routers can quickly identify the network portion without analyzing complex subnet masks.

Limitations of Classful Addressing :


 Wastage of IP Addresses
• Fixed-size classes lead to inefficient use of IP addresses. For example, assigning a Class A
address for a network requiring only a few hundred hosts wastes millions of addresses.

 Limited Flexibility
• Fixed boundaries make it difficult to create custom-sized networks.

 Scalability Issues
• As networks grew, classful addressing couldn’t efficiently allocate IP ranges, leading to the
adoption of Classless Inter-Domain Routing (CIDR).

 Inefficient Use of Address Space


• IP address distribution in fixed classes meant small companies often received more
addresses than they needed, while large companies might not get enough.

 No Support for Variable-Length Subnet Masking (VLSM)


• Classful addressing lacked flexibility to split networks into smaller or custom-sized
subnets.
• VLSM, introduced later with CIDR, enabled more efficient IP allocation.

Implement a Java Program to find the Class of user given


IPaddress of your System.
Program :
 Output :

Conclusion:
Determining the class of a user's system based on their IP address involves identifying
the IP address range and its corresponding class. IP addresses are categorized into five
classes (A, B, C, D, and E), each serving different networking purposes.
• Class A (1.0.0.0 to 126.0.0.0) is for large networks.
• Class B (128.0.0.0 to 191.255.0.0) is for medium-sized networks.
• Class C (192.0.0.0 to 223.255.255.0) is for small networks.
• Class D (224.0.0.0 to 239.255.255.255) is reserved for multicast groups.
• Class E (240.0.0.0 to 255.255.255.255) is reserved for research and future use.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy