SlideShare a Scribd company logo
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

Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
IGZ Software house
 
Classes of ip addresses
Classes of ip addressesClasses of ip addresses
Classes of ip addresses
NetProtocol Xpert
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
vssnsarma
 
Ip address
Ip address Ip address
Ip address
Yash Bansal
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
TheGodfather HA
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
SangeethaSasi1
 
Ip address
Ip addressIp address
Ip address
MdAnikKhan
 
MAC & IP addresses
MAC & IP addressesMAC & IP addresses
MAC & IP addresses
NetProtocol Xpert
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
Ritu Ranjan Shrivastwa
 
Subnetting
SubnettingSubnetting
Subnetting
selvakumar_b1985
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)
junnubabu
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masksswascher
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
Jothi Lakshmi
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
Rishav Bhurtel
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
NetProtocol Xpert
 

What's hot (20)

Subnetting
SubnettingSubnetting
Subnetting
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Classes of ip addresses
Classes of ip addressesClasses of ip addresses
Classes of ip addresses
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
IP Address
IP AddressIP Address
IP Address
 
Ip address
Ip addressIp address
Ip address
 
ipv6 ppt
ipv6 pptipv6 ppt
ipv6 ppt
 
Ip address
Ip address Ip address
Ip address
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
Ip address
Ip addressIp address
Ip address
 
MAC & IP addresses
MAC & IP addressesMAC & IP addresses
MAC & IP addresses
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
Subnetting
SubnettingSubnetting
Subnetting
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 

Similar to Basics of IP Addressing

Ip address and subnet masking final
Ip address and subnet masking finalIp address and subnet masking final
Ip address and subnet masking final
NeerajBhardwaj57
 
ipv4 (internet protocol version 4)
  ipv4 (internet protocol version 4)     ipv4 (internet protocol version 4)
ipv4 (internet protocol version 4)
sanchitachandrakar94
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
SintayehuBeyene2
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
Mustafa Salam
 
chapter 6.pptx
chapter 6.pptxchapter 6.pptx
chapter 6.pptx
MelkamtseganewTigabi1
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
Hameda Hurmat
 
IP classes
IP classesIP classes
IP classes
Meenakshi Paul
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/
Rathodpradip1
 
ETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.pptETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.ppt
ListonKiwoli1
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccnarobertoxe
 
IP Address
IP AddressIP Address
IP Address
Netwax Lab
 
IP Address & Its Classes .pdf
IP    Address   &   Its    Classes  .pdfIP    Address   &   Its    Classes  .pdf
IP Address & Its Classes .pdf
nandiaditi2010
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
Rohit Saini
 
IP and MAC Address
IP and MAC AddressIP and MAC Address
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
gamerchan1
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
Johnson Ubah
 
Vlsm
VlsmVlsm
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
Debasis Dwibedy
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
Jayesh Chauhan
 

Similar to Basics of IP Addressing (20)

Ip address and subnet masking final
Ip address and subnet masking finalIp address and subnet masking final
Ip address and subnet masking final
 
ipv4 (internet protocol version 4)
  ipv4 (internet protocol version 4)     ipv4 (internet protocol version 4)
ipv4 (internet protocol version 4)
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
chapter 6.pptx
chapter 6.pptxchapter 6.pptx
chapter 6.pptx
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
 
IP classes
IP classesIP classes
IP classes
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/
 
ETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.pptETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.ppt
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccna
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccna
 
IP Address
IP AddressIP Address
IP Address
 
IP Address & Its Classes .pdf
IP    Address   &   Its    Classes  .pdfIP    Address   &   Its    Classes  .pdf
IP Address & Its Classes .pdf
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
 
IP and MAC Address
IP and MAC AddressIP and MAC Address
IP and MAC Address
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Vlsm
VlsmVlsm
Vlsm
 
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 

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