SlideShare a Scribd company logo
IP Addresses:-
Classful Addressing
Presented by:-ANUSUA BASU
BCA_3rd_Semester
Roll_No:-1703
 Introduction
 Notations
 Classful addressing
 Class A
 Class B
 Class C
 Class D
 Class E
o Subnetting
o Disadvantages of classful addressing
Introduction
 IP address, or Internet Address
 32-bit binary address
 Uniquely and universally defines the connection of a host or a router to the
Internet
 Address Space
 Total number of addresses used by the protocol
 IPv4 uses 32-bit address and the address space is 2^32
 If a protocol uses N bits to define an address, the address space is 2^N
because each bit can have two different values (0 and 1) and N bits can have
2^N values.
 The address space of IPv4 is 2^32 or 4,294,967,296.
 Binary notation
 Dotted-decimal notation
 Hexadecimal notation
 01110101 10010101 00011101 11101010
1. The value of any segment (byte) is between 0 and 255 (both included).
2. There are no zeroes preceding the value in any segment (054 is wrong, 54 is
correct).
1703_anusua_basuclassful addressing_IP_Addressing
 Example 1:- Change the following IP address from dotted-decimal notation to
binary notation. 111.56.45.78
Solution:- 01101111 01101111 00111000 00101101
 Example 2:- Find the error, if any, in the following IP address: 111.56.045.78
Solution:- There are no leading zeroes in dotted-decimal notation (045).
 Example 3:- Find the error, if any, in the following IP address: 75.45.301.14
Solution:- In dotted-decimal notation, each number is less than or equal to 255;
301 is outside this range.
 Example 4:-Find the error, if any, in the following IP address: 11100010.23.14.67
Solution:- A mixture of binary notation and dotted decimal notation is not
allowed.
 The 32bit IP address space is divided into five classes: A, B, C, D, E
 Class A
 Class B
 Class C
 Class D
 Class E
 Each of these classes has a valid range of IP addresses. Classes D and E are
reserved for multicast and experimental purposes respectively. The order of bits
in the first octet determine the classes of IP address.
IPv4 address is divided into two parts:
• Network ID
• Host ID
 The class of IP address is used to determine the bits used for network ID and
host ID and the number of total networks and hosts possible in that particular
class. Each ISP or network administrator assigns IP address to each device
that is connected to its network.
 Note: IP addresses are globally managed by Internet Assigned Numbers
Authority(IANA) and regional Internet registries(RIR).
 Note: While finding the total number of host IP addresses, 2 IP addresses are not
counted and are therefore, decreased from the total count because the first IP
address of any network is the network number and whereas the last IP address is
reserved for broadcast IP.
IP address belonging to class A are assigned to the networks that
contain a large number of hosts.
•The network ID is 8 bits long.
•The host ID is 24 bits long.
The higher order bit of the first octet in class A is always set to 0.
The remaining 7 bits in first octet are used to determine network ID.
The 24 bits of host ID are used to determine the host in any
network. The default subnet mask for class A is 255.x.x.x.
Therefore, class A has a total of:
•2^7-2= 126 network ID(Here 2 address is subtracted because
0.0.0.0 and 127.x.y.z are special address. )
•2^24 – 2 = 16,777,214 host ID(2address is subtracted because
x.0.0.0 is used for Network id and x.255.255.255 is used for
broadcast address).
IP addresses belonging to class A ranges from 1.x.x.x – 126.x.x.x
 Given the address 23.56.7.91 and the default class A mask, find the beginning
address (network address).
Solution:-The default mask is 255.0.0.0, which means that only the first byte
is preserved and the other 3 bytes are set to 0s. The network address is 23.0.0.0.
 IP address belonging to class B are assigned to the networks that ranges from medium-sized to
large-sized networks.
• The network ID is 16 bits long.
• The host ID is 16 bits long.
 The higher order bits of the first octet of IP addresses of class B are always set to 10. The
remaining 14 bits are used to determine network ID. The 16 bits of host ID is used to determine
the host in any network. The default sub-net mask for class B is 255.255.x.x. Class B has a
total of:
• 2^14 = 16384 network address
• 2^16 – 2 = 65534 host address
 IP addresses belonging to class B ranges from 128.0.x.x – 191.255.x.x.
 Given the address 132.6.17.85 and the default class B mask, find the
beginning address (network address).
 Solution:- The default mask is 255.255.0.0, which means that the first 2 bytes
are preserved and the other 2 bytes are set to 0s. The network address is
132.6.0.0.
 IP address belonging to class C are assigned to small-sized networks.
• The network ID is 24 bits long.
• The host ID is 8 bits long.
 The higher order bits of the first octet of IP addresses of class C are always set to
110. The remaining 21 bits are used to determine network ID. The 8 bits of host ID
is used to determine the host in any network. The default sub-net mask for class C
is 255.255.255.x. Class C has a total of:
• 2^21 = 2097152 network address
• 2^8 – 2 = 254 host address
 IP addresses belonging to class C ranges from 192.0.0.x – 223.255.255.x.
 Given the address 201.180.56.5 and the class C default mask, find the
beginning address (network address).
 Solution:- The default mask is 255.255.255.0, which means that the first 3
bytes are preserved and the last byte is set to 0. The network address is
201.180.56.0.
 IP address belonging to class D are reserved for multi-casting. The higher order
bits of the first octet of IP addresses belonging to class D are always set to
1110. The remaining bits are for the address that interested hosts recognize.
 Class D does not posses any sub-net mask. IP addresses belonging to class D
ranges from 224.0.0.0 – 239.255.255.255.
 Reserved for multicasting or Group emailing.
 IP addresses belonging to class E are reserved for experimental and research
purposes. IP addresses of class E ranges from 240.0.0.0 – 255.255.255.254.
This class doesn’t have any sub-net mask. The higher order bits of first octet of
class E are always set to 1111.
 Reserved for military purpose.
1703_anusua_basuclassful addressing_IP_Addressing
 IP Address=201.20.30.40
i. Which class does it belong to?
 Class C(range 192-223)
i. Calculate the network id?
 201.20.30.0(Default mask for Class C 255.255.255.0)
i. Calculate the 4th host id?
 201.20.30.4
i. Calculate the last host id?
=> 201.20.30.254
 When a bigger network is divided into smaller networks, in order to maintain
security, then that is known as Subnetting. so, maintenance is easier for smaller
networks.
 Now, let’s talk about dividing a network into two parts:
so to divide a network into two parts, you need to choose one bit for each
Subnet from the host ID part.
 In the bellow diagram, there are two Subnets.
 Note: It is a class C IP so, there are 24 bits in the network id part and 8 bits in
the host id part.
 For Subnet-1:
The first bit which is chosen from the host id part is zero and the range will be from
(193.1.2.00000000 till you get all 1’s in the host ID part i.e, 193.1.2.01111111) except
for the first bit which is chosen zero for subnet id part.Thus, the range of subnet-1:
193.1.2.0 to 193.1.2.127(193.1.2.0 is used for Subn1_id & 193.1.2.255 is used for
Subn1_Broadcast id)
 For Subnet-2:
The first bit chosen from the host id part is one and the range will be from
(193.1.2.100000000 till you get all 1’s in the host ID part i.e,
193.1.2.11111111).Thus, the range of subnet-2:
193.1.2.128 to 193.1.2.255(193.1.2.128 is used for Subn2_id & 193.1.2.255 is
uses for Subn2_broadcast_id)
1. To divide a network into four (22) parts you need to choose two bits from host id part
for each subnet i.e, (00, 01, 10, 11).
2. To divide a network into eight (23) parts you need to choose three bits from host id
part for each subnet i.e, (000, 001, 010, 011, 100, 101, 110, 111) and so on.
1703_anusua_basuclassful addressing_IP_Addressing
 The problem with this classful addressing method is that millions of class A
address are wasted, many of the class B address are wasted, whereas, number
of addresses available in class C is so small that it cannot cater the needs of
organizations. Class D addresses are used for multicast routing and are
therefore available as a single block only. Class E addresses are reserved.
 Since there are these problems, Classful networking was replaced by Classless
Inter-Domain Routing (CIDR) in 1993.
 Geeksforgeeks
 Javatpoint
 Behrouz A. Forouzan
1703_anusua_basuclassful addressing_IP_Addressing

More Related Content

PPT
Ipaddressing
PPT
IP Subnetting
PPT
IP NETWORKING AND IP SUBNET MASKING
PPT
Addressing
PPTX
Subnetting made simple
PPT
Pjsmith ip addressing_&_subnetting_made_easy
PPTX
Subnet Mask
PPSX
CyberLab TCP/IP and IP Addressing & Subnetting
Ipaddressing
IP Subnetting
IP NETWORKING AND IP SUBNET MASKING
Addressing
Subnetting made simple
Pjsmith ip addressing_&_subnetting_made_easy
Subnet Mask
CyberLab TCP/IP and IP Addressing & Subnetting

What's hot (20)

PPT
Subneting
PPTX
NP - Unit 2 - Internet Addressing, ARP and RARP
PDF
Easy IP Addressing and Subnetting Manual for Starters
PPT
Subnetting Made Easy
PPT
Subnetting
PPTX
Subnet Masks
PPT
IP addressing
PPTX
Lec 5(Ip Addressing and Subnets)
DOCX
IP classes and subnetting.
PPTX
Subnetting Presentation
PPT
Computer Networking: Subnetting and IP Addressing
DOCX
Subnet Design
PPS
Lesson 2: Subnetting basics
PPT
Subnetting and routing
PPTX
Lecture 03 networking
PPTX
Subnetting Basics Tutorial
PPT
Subnetting
PPTX
Ramakant tyagi presentation on ip addressing
PPTX
IPv4 Addressing Architecture
PPT
How IP address works
Subneting
NP - Unit 2 - Internet Addressing, ARP and RARP
Easy IP Addressing and Subnetting Manual for Starters
Subnetting Made Easy
Subnetting
Subnet Masks
IP addressing
Lec 5(Ip Addressing and Subnets)
IP classes and subnetting.
Subnetting Presentation
Computer Networking: Subnetting and IP Addressing
Subnet Design
Lesson 2: Subnetting basics
Subnetting and routing
Lecture 03 networking
Subnetting Basics Tutorial
Subnetting
Ramakant tyagi presentation on ip addressing
IPv4 Addressing Architecture
How IP address works
Ad

Similar to 1703_anusua_basuclassful addressing_IP_Addressing (20)

PPT
Expl net fund_chapter_06_i_pv4_part_2
PDF
IP Address & Its Classes .pdf
PPTX
UnderstandIPv4 Addressing and Subnetting
PPTX
chapter 4.pptx
PDF
Basics of IP address ,IP-address classes, Subnet mask
PDF
CSE 3202-Lecture-1B.pdfvbccvbcvbcvbvcbvcbcvb
PPTX
Wipro telecom training i pv4 concepts
PPT
subnetting ipv4-Ipv4 subneeting methodologies
PDF
CSS L16 - IP ADDRESSING
PPT
IP address.pptsgjhdsrjdsdhhtrdfjjfrtuijyttju
PPTX
Ch7 IP addressing.pptx
PPT
453599812-Lecture24-25-Subnetting-ppt.ppt
PPT
453599812-Lecture24-25-Subnetting-ppt.ppt
PPTX
IPv4 addressing and subnetting
PPTX
Lecture_Network_Layer-IP Addressing.pptx
PPTX
IP subnetting Part II for network desig.pptx
PPTX
IP_ADDRESSING_AND_SUBNETTING.pptx
PPTX
lecture 33333222234555555555555555556.pptx
PDF
https://diplomasolutionstudents.blogspot.com/
PPTX
6-LEC- 6.pptx Network Layer. Addressing Subnetting Mask (default and subnet) ...
Expl net fund_chapter_06_i_pv4_part_2
IP Address & Its Classes .pdf
UnderstandIPv4 Addressing and Subnetting
chapter 4.pptx
Basics of IP address ,IP-address classes, Subnet mask
CSE 3202-Lecture-1B.pdfvbccvbcvbcvbvcbvcbcvb
Wipro telecom training i pv4 concepts
subnetting ipv4-Ipv4 subneeting methodologies
CSS L16 - IP ADDRESSING
IP address.pptsgjhdsrjdsdhhtrdfjjfrtuijyttju
Ch7 IP addressing.pptx
453599812-Lecture24-25-Subnetting-ppt.ppt
453599812-Lecture24-25-Subnetting-ppt.ppt
IPv4 addressing and subnetting
Lecture_Network_Layer-IP Addressing.pptx
IP subnetting Part II for network desig.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
lecture 33333222234555555555555555556.pptx
https://diplomasolutionstudents.blogspot.com/
6-LEC- 6.pptx Network Layer. Addressing Subnetting Mask (default and subnet) ...
Ad

More from AnusuaBasu (7)

PPTX
PPTX
PPTX
Transport layer
PPTX
Network layers forwarding.docx
PPTX
Smart home technology
PPTX
Robotics2
PPTX
routing algorithm
Transport layer
Network layers forwarding.docx
Smart home technology
Robotics2
routing algorithm

Recently uploaded (20)

PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PPTX
additive manufacturing of ss316l using mig welding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
composite construction of structures.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Well-logging-methods_new................
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Sustainable Sites - Green Building Construction
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Structs to JSON How Go Powers REST APIs.pdf
Arduino robotics embedded978-1-4302-3184-4.pdf
Mechanical Engineering MATERIALS Selection
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
additive manufacturing of ss316l using mig welding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
composite construction of structures.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Well-logging-methods_new................
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Embodied AI: Ushering in the Next Era of Intelligent Systems
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Sustainable Sites - Green Building Construction
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Lesson 3_Tessellation.pptx finite Mathematics
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...

1703_anusua_basuclassful addressing_IP_Addressing

  • 1. IP Addresses:- Classful Addressing Presented by:-ANUSUA BASU BCA_3rd_Semester Roll_No:-1703
  • 2.  Introduction  Notations  Classful addressing  Class A  Class B  Class C  Class D  Class E o Subnetting o Disadvantages of classful addressing
  • 3. Introduction  IP address, or Internet Address  32-bit binary address  Uniquely and universally defines the connection of a host or a router to the Internet  Address Space  Total number of addresses used by the protocol  IPv4 uses 32-bit address and the address space is 2^32
  • 4.  If a protocol uses N bits to define an address, the address space is 2^N because each bit can have two different values (0 and 1) and N bits can have 2^N values.  The address space of IPv4 is 2^32 or 4,294,967,296.
  • 5.  Binary notation  Dotted-decimal notation  Hexadecimal notation
  • 6.  01110101 10010101 00011101 11101010
  • 7. 1. The value of any segment (byte) is between 0 and 255 (both included). 2. There are no zeroes preceding the value in any segment (054 is wrong, 54 is correct).
  • 9.  Example 1:- Change the following IP address from dotted-decimal notation to binary notation. 111.56.45.78 Solution:- 01101111 01101111 00111000 00101101  Example 2:- Find the error, if any, in the following IP address: 111.56.045.78 Solution:- There are no leading zeroes in dotted-decimal notation (045).  Example 3:- Find the error, if any, in the following IP address: 75.45.301.14 Solution:- In dotted-decimal notation, each number is less than or equal to 255; 301 is outside this range.  Example 4:-Find the error, if any, in the following IP address: 11100010.23.14.67 Solution:- A mixture of binary notation and dotted decimal notation is not allowed.
  • 10.  The 32bit IP address space is divided into five classes: A, B, C, D, E  Class A  Class B  Class C  Class D  Class E
  • 11.  Each of these classes has a valid range of IP addresses. Classes D and E are reserved for multicast and experimental purposes respectively. The order of bits in the first octet determine the classes of IP address. IPv4 address is divided into two parts: • Network ID • Host ID  The class of IP address is used to determine the bits used for network ID and host ID and the number of total networks and hosts possible in that particular class. Each ISP or network administrator assigns IP address to each device that is connected to its network.
  • 12.  Note: IP addresses are globally managed by Internet Assigned Numbers Authority(IANA) and regional Internet registries(RIR).  Note: While finding the total number of host IP addresses, 2 IP addresses are not counted and are therefore, decreased from the total count because the first IP address of any network is the network number and whereas the last IP address is reserved for broadcast IP.
  • 13. IP address belonging to class A are assigned to the networks that contain a large number of hosts. •The network ID is 8 bits long. •The host ID is 24 bits long. The higher order bit of the first octet in class A is always set to 0. The remaining 7 bits in first octet are used to determine network ID. The 24 bits of host ID are used to determine the host in any network. The default subnet mask for class A is 255.x.x.x. Therefore, class A has a total of: •2^7-2= 126 network ID(Here 2 address is subtracted because 0.0.0.0 and 127.x.y.z are special address. ) •2^24 – 2 = 16,777,214 host ID(2address is subtracted because x.0.0.0 is used for Network id and x.255.255.255 is used for broadcast address). IP addresses belonging to class A ranges from 1.x.x.x – 126.x.x.x
  • 14.  Given the address 23.56.7.91 and the default class A mask, find the beginning address (network address). Solution:-The default mask is 255.0.0.0, which means that only the first byte is preserved and the other 3 bytes are set to 0s. The network address is 23.0.0.0.
  • 15.  IP address belonging to class B are assigned to the networks that ranges from medium-sized to large-sized networks. • The network ID is 16 bits long. • The host ID is 16 bits long.  The higher order bits of the first octet of IP addresses of class B are always set to 10. The remaining 14 bits are used to determine network ID. The 16 bits of host ID is used to determine the host in any network. The default sub-net mask for class B is 255.255.x.x. Class B has a total of: • 2^14 = 16384 network address • 2^16 – 2 = 65534 host address  IP addresses belonging to class B ranges from 128.0.x.x – 191.255.x.x.
  • 16.  Given the address 132.6.17.85 and the default class B mask, find the beginning address (network address).  Solution:- The default mask is 255.255.0.0, which means that the first 2 bytes are preserved and the other 2 bytes are set to 0s. The network address is 132.6.0.0.
  • 17.  IP address belonging to class C are assigned to small-sized networks. • The network ID is 24 bits long. • The host ID is 8 bits long.  The higher order bits of the first octet of IP addresses of class C are always set to 110. The remaining 21 bits are used to determine network ID. The 8 bits of host ID is used to determine the host in any network. The default sub-net mask for class C is 255.255.255.x. Class C has a total of: • 2^21 = 2097152 network address • 2^8 – 2 = 254 host address  IP addresses belonging to class C ranges from 192.0.0.x – 223.255.255.x.
  • 18.  Given the address 201.180.56.5 and the class C default mask, find the beginning address (network address).  Solution:- The default mask is 255.255.255.0, which means that the first 3 bytes are preserved and the last byte is set to 0. The network address is 201.180.56.0.
  • 19.  IP address belonging to class D are reserved for multi-casting. The higher order bits of the first octet of IP addresses belonging to class D are always set to 1110. The remaining bits are for the address that interested hosts recognize.  Class D does not posses any sub-net mask. IP addresses belonging to class D ranges from 224.0.0.0 – 239.255.255.255.  Reserved for multicasting or Group emailing.
  • 20.  IP addresses belonging to class E are reserved for experimental and research purposes. IP addresses of class E ranges from 240.0.0.0 – 255.255.255.254. This class doesn’t have any sub-net mask. The higher order bits of first octet of class E are always set to 1111.  Reserved for military purpose.
  • 22.  IP Address=201.20.30.40 i. Which class does it belong to?  Class C(range 192-223) i. Calculate the network id?  201.20.30.0(Default mask for Class C 255.255.255.0) i. Calculate the 4th host id?  201.20.30.4 i. Calculate the last host id? => 201.20.30.254
  • 23.  When a bigger network is divided into smaller networks, in order to maintain security, then that is known as Subnetting. so, maintenance is easier for smaller networks.  Now, let’s talk about dividing a network into two parts: so to divide a network into two parts, you need to choose one bit for each Subnet from the host ID part.  In the bellow diagram, there are two Subnets.  Note: It is a class C IP so, there are 24 bits in the network id part and 8 bits in the host id part.
  • 24.  For Subnet-1: The first bit which is chosen from the host id part is zero and the range will be from (193.1.2.00000000 till you get all 1’s in the host ID part i.e, 193.1.2.01111111) except for the first bit which is chosen zero for subnet id part.Thus, the range of subnet-1: 193.1.2.0 to 193.1.2.127(193.1.2.0 is used for Subn1_id & 193.1.2.255 is used for Subn1_Broadcast id)  For Subnet-2: The first bit chosen from the host id part is one and the range will be from (193.1.2.100000000 till you get all 1’s in the host ID part i.e, 193.1.2.11111111).Thus, the range of subnet-2: 193.1.2.128 to 193.1.2.255(193.1.2.128 is used for Subn2_id & 193.1.2.255 is uses for Subn2_broadcast_id) 1. To divide a network into four (22) parts you need to choose two bits from host id part for each subnet i.e, (00, 01, 10, 11). 2. To divide a network into eight (23) parts you need to choose three bits from host id part for each subnet i.e, (000, 001, 010, 011, 100, 101, 110, 111) and so on.
  • 26.  The problem with this classful addressing method is that millions of class A address are wasted, many of the class B address are wasted, whereas, number of addresses available in class C is so small that it cannot cater the needs of organizations. Class D addresses are used for multicast routing and are therefore available as a single block only. Class E addresses are reserved.  Since there are these problems, Classful networking was replaced by Classless Inter-Domain Routing (CIDR) in 1993.