0% found this document useful (0 votes)
2 views9 pages

CN - Lecture Notes 9 - Classfull IP Addressing

The lecture notes cover classful IP addressing, detailing the structure and range of Class A, B, C, D, and E addresses, including network and host ID sizes. It provides maximum possible networks and hosts for each class, along with case studies for network engineers to determine suitable classes based on organizational needs. The document is part of a Computer Networks course for B.Tech. students at Jamia Hamdard, New Delhi.

Uploaded by

fahadafaque18
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)
2 views9 pages

CN - Lecture Notes 9 - Classfull IP Addressing

The lecture notes cover classful IP addressing, detailing the structure and range of Class A, B, C, D, and E addresses, including network and host ID sizes. It provides maximum possible networks and hosts for each class, along with case studies for network engineers to determine suitable classes based on organizational needs. The document is part of a Computer Networks course for B.Tech. students at Jamia Hamdard, New Delhi.

Uploaded by

fahadafaque18
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/ 9

12 March 2025 Lecture Notes : 9

B.Tech. (CSE) 7th Semester – Section C, D and LE


Even Semester 2025

Computer Networks - BTCSE 603


Topics

Classful IP Addressing

Faculty :
Dr. Siddhartha Sankar Biswas
Department of Computer Science & Engineering
School of Engineering Sciences and Technology
Jamia Hamdard, New Delhi, INDIA 1
Leading Class A Addressing
Bit
Network ID
(net ID) Host ID

7 Bits 24 Bits

1st Octet 2nd Octet 3rd Octet 4th Octet


0 0 - 255 0 - 255 0 - 255
to
127 Range of Class A IP Addresses
0.0.0.0
Range of 1st Octet to
127.255.255.255
0 0 0 0 0 0 0 0 = 0
Max.No. of possible Networks
= 27
to = 128
Max. No. of possible Hosts per Network
0 1 1 1 1 1 1 1 = 127 = 224
= 16777216
12 March 2025 Dr. Siddhartha Sankar Biswas 2
Leading
Bits Class B Addressing
Network ID
(net ID) Host ID

14 Bits 16 Bits

1 0

1st Octet 2nd Octet 3rd Octet 4th Octet


128 - 191 0 - 255 0 - 255 0 - 255

Range of Class B IP Addresses


128.0.0.0
Range of 1st Octet to
191.255.255.255
1 0 0 0 0 0 0 0 = 128
Max. No. of possible Networks
= 214
to = 16384
Max No. of possible Hosts per Network
1 0 1 1 1 1 1 1 = 191 = 216
= 65536
12 March 2025 Dr. Siddhartha Sankar Biswas 3
Leading Class C Addressing
Bits
Network ID
(net ID) Host ID
21 Bits 8 Bits

1 1 0

1st Octet 2nd Octet 3rd Octet 4th Octet

192 - 223 0 - 255 0 - 255 0 - 255


Range of Class C IP Addresses
Range of 1st Octet 192.0.0.0
to
1 1 0 0 0 0 0 0 = 192 223.255.255.255
Max. No. of possible Networks
= 221
to = 2097152
Max No. of possible Hosts per Network
1 1 0 1 1 1 1 1 = 223 = 28
= 256
12 March 2025 Dr. Siddhartha Sankar Biswas 4
Leading Class D Addressing
Bits (used for Broadcasting)

28 Bits

1 1 1 0

1st Octet 2nd Octet 3rd Octet 4th Octet

224 - 239 0 - 255 0 - 255 0 - 255


Range of Class D IP Addresses
224.0.0.0
Range of 1st Octet to
239.255.255.255
1 1 1 0 0 0 0 0 = 224 Max. No. of possible Networks
= 20
to = 1
Max No. of possible Hosts
= 228
1 1 1 0 1 1 1 1 = 239 = 268435456

12 March 2025 Dr. Siddhartha Sankar Biswas 5


Leading Class E Addressing
Bits (Reserved for Future Use)

28 Bits
(To be defined in future)

1 1 1 1

1st Octet 2nd Octet 3rd Octet 4th Octet

240 - 255 0 - 255 0 - 255 0 - 255


Range of Class E IP Addresses
Range of 1st Octet 240.0.0.0
to
1 1 1 1 0 0 0 0 = 240 255.255.255.255

to Max. No. of possible Networks


and
Max No. of possible Hosts per Network
1 1 1 1 1 1 1 1 = 255
Not yet defined
12 March 2025 Dr. Siddhartha Sankar Biswas 6
Class Leadin N/W Host Max. No. Max. IP
g Bits ID ID of No.
Size Size N/W of Range
(Bits) (Bits) Hosts
per N/W

A 0 7 24 27 = 224 = 0.0.0.0
128 16777216 to
127.255.255.255

B 214 = 216 = 128.0.0.0


10 14 16
16384 65536 to
191.255.255.255

221 = 28 = 192.0.0.0
C 110 21 8
2097152 256 to
223.255.255.255
20 = 1 228 = 224.0.0.0
D 1110 0 28
268435456
Data is Multicast
to
to all Hosts 239.255.255.255

Reserved for Future Use. 224.0.0.0


E 1111 Parameters Still Not Defined. to Future
Use
239.255.255.255

12 March 2025 Dr. Siddhartha Sankar Biswas 7


E
D 6% Total IPv4 Addresses
6% (232 = 4294967296)
C
% of Let us find the number of
13% A IP addresses available in
addresses
in each 50% each class
Max. No.
class Max. No. of IP
B of hosts addresses
Max. No. per N/W possible
25%
of N/W

Class A = 128 x 16777216 = 2147483648


Class B = 16384 x 65536 = 1073741824
Class C = 2097152 x 256 = 536870912
Class D = 1 x 268435456 = 268435456
Class E = 268435456
12 March 2025 Dr. Siddhartha Sankar Biswas 8
Lets do some case study
What do you think , which Class of network would a network engineer
implement in a organization
Case 1:
If suppose there needs to be 110 sub-networks and each of them
would require to 50,000 to 60,000 hosts?
Ans: ClassA or ClassB
Case 2:
If suppose there needs to be 125 sub-networks and each of them
would require to 50,000 to 70,000 hosts?
Ans: Class A
Case 3:
If suppose there needs to be 200 sub-networks and each of them
would require to 50,000 to 60,000 hosts?
Ans: Class B
Case 4:
If suppose there needs to be 500 sub-networks and each of them
would require to 50,000 to 70,000 hosts?

?
Good Luck
12 March 2025 Dr. Siddhartha Sankar Biswas 9

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