SlideShare a Scribd company logo
4
Most read
16
Most read
18
Most read
Introduction to IP(Internet Protocol)
Addressing
PREPARED BY
SHETH KUSHAL (130510111011)
Index
History
Introduction
OSI Model V/S TCP/IP Model
IP addressing Basic class ful addressing
Various Classes of IP Address
Explanation of all classes
Limitation of Classful IP Addressing
Subnetting
Classless IP addressing (CIDR)
Brief Example of Classless IP Addressing
History
Computer network is getting connected in Late 60’s.
In 1978 ISO (International Standard Organization) proposed a new model for
networking for easy access and understanding. Which is of 7 layers and known as
OSI (Open System Interface) model.
As the updatation in OSI model TCP/IP (Transmission Control Protocol/ Internet
Protocol) is developed and merged in 1st January 1983 with APRANET (The
Advanced Research Projects Agency Network).
The TCP/IP model have 4 layers which strictly follow the 7 layers of OSI model.
Introduction
The IP (Internet Protocol) is basically a unique address of any device by which the
device can communicate with other devices or communicate world wide in terms of
Internet.
There are two basic Types of IP address.
◦ IPv4 (IP version 4) (Earlier technology still used by 70% devices)
◦ IPv6 (IP version 6) (Newer version as the addresses range is about to complete of IPv4)
IPv4 (The address is divided into four parts each having 8 bits and separated by dotted
decimal point and usually written in decimal for easy understanding)
*We are learning only about IPv4 addressing here.
OSI model V/S TCP/IP model
OSI Model TCP/IP Model
1. Application Layer 1. Application Layer
2. Presentation Layer Telnet FTP DNS
3.Session Layer
4. Transportation Layer 2. Transport Layer
TCP UDP
5. Network Layer 3. Internet Layer
IP
6. Data link Layer 4. Host to Host network
7. Physical Layer LAN X.25
IP addressing Basic class ful
addressing
An IP address basically a 32-bit address that uniquely universally defines
connection of host or a router to the Internet. IP address is unique.
Address space of IPv4 is 232.
Introduced by IANA (Internet Assigned Numbers Authority).
32 bit is divided into 4 equal parts of 8-8 bits separated by dotted decimal notation.
It is in the range of minimum 0.0.0.0 to 255.255.255.255.
Each 8 bit group is known by OCTET.
Various IP classes
IP has five different classes differentiated by characteristics.
◦ Class-A ranges from 0 to 127
◦ Class-B ranges from 128 to 191
◦ Class-C ranges from 192 to 223
◦ Class-D ranges from 224 to 239
◦ Class-E ranges from 240 to 255
First Octet is defines the class of particular IP e.g. - 128.11.3.31 is follow in class –B
127.0.0.0 to 127.255.255.255 is a range of look back IP.
IP Classes (Contd.)
Official Method to find the class of particular IP.
Check the first octet, Convert it to Binary, then
If, 1st bit is 0 then it comes to class A, If 1st bit is 1 and 2nd bit is 0 then it comes to class B, If 1st
two bit is 1 and 3rd bit is 0 then it comes to class C. If 1st three bits are 1and 4th bit is 0 then it
comes to class D and if all 4 bits are 1 then it comes to class E.
Class C network id host11 0
Network Prefix
24 bits
Host Number
8 bits
bit # 0 1 23 242 313
Class B 1 network id host
bit # 0 1 15 162
Network Prefix
16 bits
Host Number
16 bits
0
31
Class A 0
Network Prefix
8 bits
bit # 0 1 7 8
Host Number
24 bits
31
Class D multicast group id11 1
bit # 0 1 2 313
0
4
Class E (reserved for future use)11 1
bit # 0 1 2 313
1
4
0
5
Classes of IP addresses
Class-A
This IP ranges from 0 to 126 Decimal value in first octet. And 1st octet defines network part
and remaining three octet defines the Host part. It patterns like this NHHH (N-Network; H-
Host).
First 8bits defines network and remaining 24 bits defines host parts.
It has a highest nos. of address 231.which is about 16,277,216.
It is denoted by IP/8.
Private Network IP ranges from 10.0.0.0 to 10.255.255.255. in general formation of 10.0.0.0/8
Class B
This IP ranges from 128 to 191 Decimal value in first octet. And 1st two bit defines network
part and remaining two octet defines the Host part. It patterns like this NNHH (N-Network;
H-Host).
First 16 bits defines network and remaining 16 bits defines host parts.
It has a highest nos. of address 230.which is about 65,536.
It is denoted by IP/16.
Private Network IP ranges from 172.16.0.0 to 172.31.255.255. in general formation of
172.16.0.0/12
Class C
This IP ranges from 192 to 223 Decimal value in first octet. And 1st three bit defines network
part and remaining one octet defines the Host part. It patterns like this NNNH (N-Network;
H-Host).
First 24 bits defines network and remaining 8 bits defines host parts.
It has a highest nos. of address 229.which is about 256.
It is denoted by IP/24.
Private Network IP ranges from 192.168.0.0 to 192.168.255.255. in general formation of
192.168.0.0/16.
Class-D
This IP ranges from 224 to 239 Decimal value in first octet.
It is not usually use in general applications.
It is use in Special purpose applications known as Multicast.
Class-E
This IP ranges from 240 to 255 Decimal value in first octet.
It is not usually use in general applications.
It is reserved range of IP by R & D (Research and Development) department.
Usually, Class-A to C is supported by PC and Class-D and E is not supported.
Limitations of Classful IP Addressing
• Running out of address space soon
232 = 4,294,967,296 addresses
• Class boundaries did not foster
efficient allocation of address space
Lack of address class to support medium size company
Class B: 65534 hosts/network, too big!
-- Class C: 254 hosts/network, too small!
-- Use multiple class C addresses,
increase routing table!
Subnetting
Subnetting is the process to divide a Big network in some smaller networks for ease of access.
Ex.
University Network
Engineering
School
Medical
School
Library
Add another level of hierarchy to the IP addressing structure this is also called Subnetting.
Basic Idea of Subnetting
Split the host number portion of an IP address into a subnet number and a (smaller) host
number.
Result is a 3-layer hierarchy
Then:
◦ Subnets can be freely assigned within the organization
◦ Internally, subnets are treated as separate networks
◦ Subnet structure is not visible outside the organization
network prefix
host number
host number
network prefix
subnet number
Advantages of subnetting
With subnetting, IP addresses use a 3-layer hierarchy:
◦ Network
◦ Subnet
◦ Host
Improves efficiency of IP addresses by not consuming an entire address space for each
physical network.
Reduces router complexity. Since external routers do not know about subnetting, the
complexity of routing tables at external routers is reduced.
Note: Length of the subnet mask need not be identical at all sub networks.
Classless IP Addressing
The Process of give the classless IP is also called “CIDR ”
It is announced in 1996, allows an ISP to assign as few or as many IP addresses as requested.
Two terms often used in classless addressing
◦ Prefix – another name for the common part of the address range (netid)
◦ Prefix length – the length of the prefix
In classless addressing, the last address in the block does not necessarily end in 255.
In CIDR (Classless Inter Domain Routing) notation, the block granted is defined by the first
address and the prefix length.
When an organization is granted a block of addresses, it can create subnets to meet its needs.
The prefix length increases to define the subnet prefix length.
In fixed-length subnetting, the number of subnets is a power of 2.
Subnet Mask Table
The addresses in color are the default masks for classes A, B, and C.
Thus, classful addressing is a special case of classless addressing.
How classless IP Addressing helps??
Consider a network that contains 9 hosts
Only 4 bits of host suffix are needed to represent all possible host values.
However, a class C address has names for 256 hosts.
Classless addressing solves this problem by allowing an ISP to assign a prefix that is 28 bits
long and the suffix then is 4 bits long.
With 4 bits for the suffix, there are 16-2 = 14 host numbers
CIDR Block Example
If an ISP has two computers each with only 12 computers each, the ISP can use CIDR to
partition a class B IP address into three parts: two for each of the customers and the
remainder available for future use.
One customer can be assigned: 128.211.0.16/28
The other customer can be assigned: 128.211.0.32/28
Basics of IP Addressing
Basics of IP Addressing

More Related Content

What's hot (20)

PPT
Ip address and subnetting
IGZ Software house
 
PPTX
IP Configuration
Stephen Raj
 
PPTX
Ip addressing
Tanvir Amin
 
PPTX
IP Address - IPv4 & IPv6
Adeel Rasheed
 
PPTX
Subnetting Presentation
Touhidul Fahim
 
PPS
Ip address
Amandeep Kaur
 
PPTX
Ipv4 presentation
shakeel khan
 
PPTX
Classes of ip addresses
NetProtocol Xpert
 
PPTX
Network address translation
Mohak Kaushik
 
PPTX
IPV6 ADDRESS
Jothi Lakshmi
 
PPTX
Subnetting
Fatima Qayyum
 
PPT
Nat pat
CYBERINTELLIGENTS
 
PPTX
Subnetting
Fredrick Hall
 
PPTX
IPv4
Dhiraj Mishra
 
PPT
Ip addressing
sid1322
 
PPTX
Unicast multicast & broadcast
NetProtocol Xpert
 
PPT
ipv6 ppt
Shiva Kumar
 
PPT
Subnetting
Gichelle Amon
 
PPTX
Internet protocol (ip) ppt
Dulith Kasun
 
PPT
Ip Addressing
vssnsarma
 
Ip address and subnetting
IGZ Software house
 
IP Configuration
Stephen Raj
 
Ip addressing
Tanvir Amin
 
IP Address - IPv4 & IPv6
Adeel Rasheed
 
Subnetting Presentation
Touhidul Fahim
 
Ip address
Amandeep Kaur
 
Ipv4 presentation
shakeel khan
 
Classes of ip addresses
NetProtocol Xpert
 
Network address translation
Mohak Kaushik
 
IPV6 ADDRESS
Jothi Lakshmi
 
Subnetting
Fatima Qayyum
 
Subnetting
Fredrick Hall
 
Ip addressing
sid1322
 
Unicast multicast & broadcast
NetProtocol Xpert
 
ipv6 ppt
Shiva Kumar
 
Subnetting
Gichelle Amon
 
Internet protocol (ip) ppt
Dulith Kasun
 
Ip Addressing
vssnsarma
 

Similar to Basics of IP Addressing (20)

PPTX
1703_anusua_basuclassful addressing_IP_Addressing
AnusuaBasu
 
PPT
this is a presentationon ip and cidr.ppt
BlackHat41
 
PPTX
Classes, NetId and HostId in Classful Addressing
Sance Shaji
 
DOCX
Subnet Design
Bibhu Prasad Sahu
 
PPTX
network-addressing.pptx
FidaBaloch8
 
PPTX
UnderstandIPv4 Addressing and Subnetting
insiakhan202
 
PPTX
Ip address and subnet masking final
NeerajBhardwaj57
 
PPT
TCP IP Addressing
Ritul Sonania
 
PDF
Basics of IP address ,IP-address classes, Subnet mask
SrElsin
 
PPTX
Internet Protocol
Jayesh Chauhan
 
PDF
IP Address & Its Classes .pdf
nandiaditi2010
 
PDF
Network layer logical addressing
Sri Manakula Vinayagar Engineering College
 
PPTX
03 coms 525 tcpip - ip address
Palanivel Kuppusamy
 
PDF
CSE 3202-Lecture-1B.pdfvbccvbcvbcvbvcbvcbcvb
rakibcse20210204027
 
PPT
Introduction to IP Addressing for Networking.ppt
Muhammad54342
 
DOCX
Classful and classless addressing
Sourav Jyoti Das
 
PDF
Ip address
tanvirahmed638
 
PPT
module03-ipaddr ipv6 addressing in net.ppt
ubaidullah75790
 
PPTX
5 configuring TCP/IP
Hameda Hurmat
 
1703_anusua_basuclassful addressing_IP_Addressing
AnusuaBasu
 
this is a presentationon ip and cidr.ppt
BlackHat41
 
Classes, NetId and HostId in Classful Addressing
Sance Shaji
 
Subnet Design
Bibhu Prasad Sahu
 
network-addressing.pptx
FidaBaloch8
 
UnderstandIPv4 Addressing and Subnetting
insiakhan202
 
Ip address and subnet masking final
NeerajBhardwaj57
 
TCP IP Addressing
Ritul Sonania
 
Basics of IP address ,IP-address classes, Subnet mask
SrElsin
 
Internet Protocol
Jayesh Chauhan
 
IP Address & Its Classes .pdf
nandiaditi2010
 
Network layer logical addressing
Sri Manakula Vinayagar Engineering College
 
03 coms 525 tcpip - ip address
Palanivel Kuppusamy
 
CSE 3202-Lecture-1B.pdfvbccvbcvbcvbvcbvcbcvb
rakibcse20210204027
 
Introduction to IP Addressing for Networking.ppt
Muhammad54342
 
Classful and classless addressing
Sourav Jyoti Das
 
Ip address
tanvirahmed638
 
module03-ipaddr ipv6 addressing in net.ppt
ubaidullah75790
 
5 configuring TCP/IP
Hameda Hurmat
 
Ad

Recently uploaded (20)

PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Python basic programing language for automation
DanialHabibi2
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
Ad

Basics of IP Addressing

  • 1. Introduction to IP(Internet Protocol) Addressing PREPARED BY SHETH KUSHAL (130510111011)
  • 2. Index History Introduction OSI Model V/S TCP/IP Model IP addressing Basic class ful addressing Various Classes of IP Address Explanation of all classes Limitation of Classful IP Addressing Subnetting Classless IP addressing (CIDR) Brief Example of Classless IP Addressing
  • 3. History Computer network is getting connected in Late 60’s. In 1978 ISO (International Standard Organization) proposed a new model for networking for easy access and understanding. Which is of 7 layers and known as OSI (Open System Interface) model. As the updatation in OSI model TCP/IP (Transmission Control Protocol/ Internet Protocol) is developed and merged in 1st January 1983 with APRANET (The Advanced Research Projects Agency Network). The TCP/IP model have 4 layers which strictly follow the 7 layers of OSI model.
  • 4. Introduction The IP (Internet Protocol) is basically a unique address of any device by which the device can communicate with other devices or communicate world wide in terms of Internet. There are two basic Types of IP address. ◦ IPv4 (IP version 4) (Earlier technology still used by 70% devices) ◦ IPv6 (IP version 6) (Newer version as the addresses range is about to complete of IPv4) IPv4 (The address is divided into four parts each having 8 bits and separated by dotted decimal point and usually written in decimal for easy understanding) *We are learning only about IPv4 addressing here.
  • 5. OSI model V/S TCP/IP model OSI Model TCP/IP Model 1. Application Layer 1. Application Layer 2. Presentation Layer Telnet FTP DNS 3.Session Layer 4. Transportation Layer 2. Transport Layer TCP UDP 5. Network Layer 3. Internet Layer IP 6. Data link Layer 4. Host to Host network 7. Physical Layer LAN X.25
  • 6. IP addressing Basic class ful addressing An IP address basically a 32-bit address that uniquely universally defines connection of host or a router to the Internet. IP address is unique. Address space of IPv4 is 232. Introduced by IANA (Internet Assigned Numbers Authority). 32 bit is divided into 4 equal parts of 8-8 bits separated by dotted decimal notation. It is in the range of minimum 0.0.0.0 to 255.255.255.255. Each 8 bit group is known by OCTET.
  • 7. Various IP classes IP has five different classes differentiated by characteristics. ◦ Class-A ranges from 0 to 127 ◦ Class-B ranges from 128 to 191 ◦ Class-C ranges from 192 to 223 ◦ Class-D ranges from 224 to 239 ◦ Class-E ranges from 240 to 255 First Octet is defines the class of particular IP e.g. - 128.11.3.31 is follow in class –B 127.0.0.0 to 127.255.255.255 is a range of look back IP.
  • 8. IP Classes (Contd.) Official Method to find the class of particular IP. Check the first octet, Convert it to Binary, then If, 1st bit is 0 then it comes to class A, If 1st bit is 1 and 2nd bit is 0 then it comes to class B, If 1st two bit is 1 and 3rd bit is 0 then it comes to class C. If 1st three bits are 1and 4th bit is 0 then it comes to class D and if all 4 bits are 1 then it comes to class E. Class C network id host11 0 Network Prefix 24 bits Host Number 8 bits bit # 0 1 23 242 313 Class B 1 network id host bit # 0 1 15 162 Network Prefix 16 bits Host Number 16 bits 0 31 Class A 0 Network Prefix 8 bits bit # 0 1 7 8 Host Number 24 bits 31 Class D multicast group id11 1 bit # 0 1 2 313 0 4 Class E (reserved for future use)11 1 bit # 0 1 2 313 1 4 0 5
  • 9. Classes of IP addresses Class-A This IP ranges from 0 to 126 Decimal value in first octet. And 1st octet defines network part and remaining three octet defines the Host part. It patterns like this NHHH (N-Network; H- Host). First 8bits defines network and remaining 24 bits defines host parts. It has a highest nos. of address 231.which is about 16,277,216. It is denoted by IP/8. Private Network IP ranges from 10.0.0.0 to 10.255.255.255. in general formation of 10.0.0.0/8
  • 10. Class B This IP ranges from 128 to 191 Decimal value in first octet. And 1st two bit defines network part and remaining two octet defines the Host part. It patterns like this NNHH (N-Network; H-Host). First 16 bits defines network and remaining 16 bits defines host parts. It has a highest nos. of address 230.which is about 65,536. It is denoted by IP/16. Private Network IP ranges from 172.16.0.0 to 172.31.255.255. in general formation of 172.16.0.0/12
  • 11. Class C This IP ranges from 192 to 223 Decimal value in first octet. And 1st three bit defines network part and remaining one octet defines the Host part. It patterns like this NNNH (N-Network; H-Host). First 24 bits defines network and remaining 8 bits defines host parts. It has a highest nos. of address 229.which is about 256. It is denoted by IP/24. Private Network IP ranges from 192.168.0.0 to 192.168.255.255. in general formation of 192.168.0.0/16.
  • 12. Class-D This IP ranges from 224 to 239 Decimal value in first octet. It is not usually use in general applications. It is use in Special purpose applications known as Multicast.
  • 13. Class-E This IP ranges from 240 to 255 Decimal value in first octet. It is not usually use in general applications. It is reserved range of IP by R & D (Research and Development) department. Usually, Class-A to C is supported by PC and Class-D and E is not supported.
  • 14. Limitations of Classful IP Addressing • Running out of address space soon 232 = 4,294,967,296 addresses • Class boundaries did not foster efficient allocation of address space Lack of address class to support medium size company Class B: 65534 hosts/network, too big! -- Class C: 254 hosts/network, too small! -- Use multiple class C addresses, increase routing table!
  • 15. Subnetting Subnetting is the process to divide a Big network in some smaller networks for ease of access. Ex. University Network Engineering School Medical School Library Add another level of hierarchy to the IP addressing structure this is also called Subnetting.
  • 16. Basic Idea of Subnetting Split the host number portion of an IP address into a subnet number and a (smaller) host number. Result is a 3-layer hierarchy Then: ◦ Subnets can be freely assigned within the organization ◦ Internally, subnets are treated as separate networks ◦ Subnet structure is not visible outside the organization network prefix host number host number network prefix subnet number
  • 17. Advantages of subnetting With subnetting, IP addresses use a 3-layer hierarchy: ◦ Network ◦ Subnet ◦ Host Improves efficiency of IP addresses by not consuming an entire address space for each physical network. Reduces router complexity. Since external routers do not know about subnetting, the complexity of routing tables at external routers is reduced. Note: Length of the subnet mask need not be identical at all sub networks.
  • 18. Classless IP Addressing The Process of give the classless IP is also called “CIDR ” It is announced in 1996, allows an ISP to assign as few or as many IP addresses as requested. Two terms often used in classless addressing ◦ Prefix – another name for the common part of the address range (netid) ◦ Prefix length – the length of the prefix In classless addressing, the last address in the block does not necessarily end in 255. In CIDR (Classless Inter Domain Routing) notation, the block granted is defined by the first address and the prefix length. When an organization is granted a block of addresses, it can create subnets to meet its needs. The prefix length increases to define the subnet prefix length. In fixed-length subnetting, the number of subnets is a power of 2.
  • 19. Subnet Mask Table The addresses in color are the default masks for classes A, B, and C. Thus, classful addressing is a special case of classless addressing.
  • 20. How classless IP Addressing helps?? Consider a network that contains 9 hosts Only 4 bits of host suffix are needed to represent all possible host values. However, a class C address has names for 256 hosts. Classless addressing solves this problem by allowing an ISP to assign a prefix that is 28 bits long and the suffix then is 4 bits long. With 4 bits for the suffix, there are 16-2 = 14 host numbers
  • 21. CIDR Block Example If an ISP has two computers each with only 12 computers each, the ISP can use CIDR to partition a class B IP address into three parts: two for each of the customers and the remainder available for future use. One customer can be assigned: 128.211.0.16/28 The other customer can be assigned: 128.211.0.32/28