SlideShare a Scribd company logo
Internet Protocol version 4
-By, Praveen PS
1KG18CS082
IP: Forwarding & Addressing in the Internet
 IP(Internet Protocol) is main protocol responsible for packetizing,
forwarding & delivery of a packet at network-layer.
 It is a connection-less & unreliable protocol.
i) Connection-less means there is no connection setup b/w the
sender and the receiver.
ii) Unreliable protocol means :
→ IP does not make any guarantee about delivery of the data.
→ Packets may get dropped during transmission.
 It provides a best-effort delivery service.
A look inside the Internet’s network-layer
 There are two versions of IP in
use today :
1) IP version 4 (IPv4) and
2) IP version 6 (IPv6)
IPv4 Datagram Format
 IP uses the packets called datagrams.
 A datagram consist of 2 parts :
1) Payload (or Data)
2) Header
 Payload (or Data) :
This field contains the data to be delivered
to the destination.
 Header :
Header contains information essential to
routing and delivery.
IPv4 Addressing
 IP address is a numeric identifier assigned to each machine on the internet.
 IP address consists of two parts: network ID(NID) and host ID(HID).
1) NID identifies the network to which the host is connected. All the hosts connected to the
same network have the same NID.
2) HID is used to uniquely identify a host on that network.
 HID is assigned by the network-administrator at the local site.
 NID for an organization may be assigned by the ISP (Internet Service Provider).
 IPv4 uses 32-bit addresses, i.e., approximately 4 billion addresses (232).
 IP addresses are usually written in dotted-decimal notation. The address is broken into four bytes.
 For example, an IP address of
10000000 10000111 01000100 00000101
is written as 128.135.68.5
 IP address can be classified as :
1) Classful IP addressing &
2) Classless IP addressing (CIDR - Classless Inter Domain Routing)
IPv4 Classful Addressing
 In classful addressing, the address space is divided into
five classes : A, B, C, D and E.
 IP address class is identified by MSBs in binary.
 Classes A, B and C are used for unicast addressing.
 Class D was designed for multicasting and class E is
reserved.
 Analysis :
 In classful addressing, a large part of the available
addresses were wasted, since Class A
and B were too large for most organizations.
 Class C is suited only for small organization and
reserved addresses were sparingly used.
Subnet Addressing
 Problem with classful addressing:
 It will be a huge task for the network-administrator to manage all
64,000 hosts.
 Solution: Use subnet addressing.
 Subnetting reduces the total number of network-numbers by
assigning a single network-number to many adjacent physical
networks.
 Each adjacent physical network is referred to as subnet.
 All nodes on a subnet are configured with a subnet mask. For
example: 255.255.255.0.
 The 1's in the subnet-mask represent the positions that refer to
the network or subnet-numbers.
 The 0's represent the positions that refer to the host part of the
address.
 The bitwise AND of IP address and its subnet mask gives the subnet
number.
Classless IP addressing
(CIDR - Classless Inter Domain Routing)
 Problem with classful IP addressing:
It results in inefficient usage of the available address-space.
 Solution: Use CIDR (Classless Inter Domain Routing).
A single IP address can be used to designate many unique IP addresses. This is called
supernetting.
 A CIDR IP address looks like a normal IP address except that :
→ the address ends with a slash followed by a number, called the IP network prefix.
For ex: 205.100.0.0/22
 CIDR addresses :
→ reduce the size of routing-tables and
→ make more IP addresses available within organizations.
Summary: IPv4
1) IPv4 addresses are 32 bit length.
2) Fragmentation is done by sender and forwarding routers.
3) Does not identify packet flow for QoS handling.
4) Includes Options up to 40 bytes.
5) Includes a checksum.
6) Address Resolution Protocol (ARP) is available to map IPv4 addresses to MAC addresses.
7) Broadcast messages are available.
8) Manual configuration (Static) of IP addresses or DHCP (Dynamic configuration) is required to configure IP
addresses.
9) IPSec is optional, external.

More Related Content

What's hot

IP Configuration
IP ConfigurationIP Configuration
IP ConfigurationStephen Raj
 
Ip address presentation
Ip address presentationIp address presentation
Ip address presentation
muhammad amir
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
urooj ehsan
 
IP Address
IP AddressIP Address
IP Address
Rahul P
 
Ip addressing
Ip addressingIp addressing
Ip addressing
sid1322
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
Smriti Rastogi
 
ipv4 (internet protocol version 4)
  ipv4 (internet protocol version 4)     ipv4 (internet protocol version 4)
ipv4 (internet protocol version 4)
sanchitachandrakar94
 
Ip addresses
Ip addressesIp addresses
Ip addressesAsif
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
Shashank Asthana
 
IPv4
IPv4IPv4
Ip address
Ip addressIp address
Ip address
TapashRoy16
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
SangeethaSasi1
 
Logical addressing
Logical  addressingLogical  addressing
Logical addressing
Avinash Gautam
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classes
mail2rajeev10
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
Kinza Razzaq
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
Rishav Bhurtel
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
Johnson Ubah
 
Staitic IP addresing
Staitic IP addresingStaitic IP addresing
Staitic IP addresing
GAURAV KUMAR MAURYA
 

What's hot (20)

IP Configuration
IP ConfigurationIP Configuration
IP Configuration
 
Ip address presentation
Ip address presentationIp address presentation
Ip address presentation
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
IP Address
IP AddressIP Address
IP Address
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
 
IP Address
IP AddressIP Address
IP Address
 
ipv4 (internet protocol version 4)
  ipv4 (internet protocol version 4)     ipv4 (internet protocol version 4)
ipv4 (internet protocol version 4)
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
IPv4
IPv4IPv4
IPv4
 
Ip address
Ip addressIp address
Ip address
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
Ip address
Ip addressIp address
Ip address
 
Logical addressing
Logical  addressingLogical  addressing
Logical addressing
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classes
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Staitic IP addresing
Staitic IP addresingStaitic IP addresing
Staitic IP addresing
 

Similar to IPv4- Internet Protocol version 4

IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
TheGodfather HA
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
Mustafa Salam
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
Hameda Hurmat
 
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
 
chapter 6.pptx
chapter 6.pptxchapter 6.pptx
chapter 6.pptx
MelkamtseganewTigabi1
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
gamerchan1
 
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
Debasis Dwibedy
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
SintayehuBeyene2
 
Ramakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressingRamakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressing
Bharat Sanchar Nigam Limited
 
Index
IndexIndex
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
shakeel khan
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
vssnsarma
 
Ip seminar
Ip seminarIp seminar
Ip seminar
YonasMegersa1
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
Rohit Saini
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/
Rathodpradip1
 
IPv4-ADDRESSING.pptx
IPv4-ADDRESSING.pptxIPv4-ADDRESSING.pptx
IPv4-ADDRESSING.pptx
micayaseloisa
 
Ip address and subnet masking final
Ip address and subnet masking finalIp address and subnet masking final
Ip address and subnet masking final
NeerajBhardwaj57
 
Classless Inter-Domain Routing : Notes
Classless Inter-Domain Routing : NotesClassless Inter-Domain Routing : Notes
Classless Inter-Domain Routing : Notes
Subhajit Sahu
 
Unit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptxUnit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptx
DESTROYER39
 

Similar to IPv4- Internet Protocol version 4 (20)

IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
 
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
 
chapter 6.pptx
chapter 6.pptxchapter 6.pptx
chapter 6.pptx
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
Ramakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressingRamakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressing
 
Index
IndexIndex
Index
 
Index
IndexIndex
Index
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
Ip seminar
Ip seminarIp seminar
Ip seminar
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/
 
IPv4-ADDRESSING.pptx
IPv4-ADDRESSING.pptxIPv4-ADDRESSING.pptx
IPv4-ADDRESSING.pptx
 
Ip address and subnet masking final
Ip address and subnet masking finalIp address and subnet masking final
Ip address and subnet masking final
 
Classless Inter-Domain Routing : Notes
Classless Inter-Domain Routing : NotesClassless Inter-Domain Routing : Notes
Classless Inter-Domain Routing : Notes
 
Unit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptxUnit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptx
 

Recently uploaded

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 

IPv4- Internet Protocol version 4

  • 1. Internet Protocol version 4 -By, Praveen PS 1KG18CS082
  • 2. IP: Forwarding & Addressing in the Internet  IP(Internet Protocol) is main protocol responsible for packetizing, forwarding & delivery of a packet at network-layer.  It is a connection-less & unreliable protocol. i) Connection-less means there is no connection setup b/w the sender and the receiver. ii) Unreliable protocol means : → IP does not make any guarantee about delivery of the data. → Packets may get dropped during transmission.  It provides a best-effort delivery service.
  • 3. A look inside the Internet’s network-layer  There are two versions of IP in use today : 1) IP version 4 (IPv4) and 2) IP version 6 (IPv6)
  • 4. IPv4 Datagram Format  IP uses the packets called datagrams.  A datagram consist of 2 parts : 1) Payload (or Data) 2) Header  Payload (or Data) : This field contains the data to be delivered to the destination.  Header : Header contains information essential to routing and delivery.
  • 5. IPv4 Addressing  IP address is a numeric identifier assigned to each machine on the internet.  IP address consists of two parts: network ID(NID) and host ID(HID). 1) NID identifies the network to which the host is connected. All the hosts connected to the same network have the same NID. 2) HID is used to uniquely identify a host on that network.  HID is assigned by the network-administrator at the local site.  NID for an organization may be assigned by the ISP (Internet Service Provider).  IPv4 uses 32-bit addresses, i.e., approximately 4 billion addresses (232).  IP addresses are usually written in dotted-decimal notation. The address is broken into four bytes.  For example, an IP address of 10000000 10000111 01000100 00000101 is written as 128.135.68.5  IP address can be classified as : 1) Classful IP addressing & 2) Classless IP addressing (CIDR - Classless Inter Domain Routing)
  • 6. IPv4 Classful Addressing  In classful addressing, the address space is divided into five classes : A, B, C, D and E.  IP address class is identified by MSBs in binary.  Classes A, B and C are used for unicast addressing.  Class D was designed for multicasting and class E is reserved.  Analysis :  In classful addressing, a large part of the available addresses were wasted, since Class A and B were too large for most organizations.  Class C is suited only for small organization and reserved addresses were sparingly used.
  • 7. Subnet Addressing  Problem with classful addressing:  It will be a huge task for the network-administrator to manage all 64,000 hosts.  Solution: Use subnet addressing.  Subnetting reduces the total number of network-numbers by assigning a single network-number to many adjacent physical networks.  Each adjacent physical network is referred to as subnet.  All nodes on a subnet are configured with a subnet mask. For example: 255.255.255.0.  The 1's in the subnet-mask represent the positions that refer to the network or subnet-numbers.  The 0's represent the positions that refer to the host part of the address.  The bitwise AND of IP address and its subnet mask gives the subnet number.
  • 8. Classless IP addressing (CIDR - Classless Inter Domain Routing)  Problem with classful IP addressing: It results in inefficient usage of the available address-space.  Solution: Use CIDR (Classless Inter Domain Routing). A single IP address can be used to designate many unique IP addresses. This is called supernetting.  A CIDR IP address looks like a normal IP address except that : → the address ends with a slash followed by a number, called the IP network prefix. For ex: 205.100.0.0/22  CIDR addresses : → reduce the size of routing-tables and → make more IP addresses available within organizations.
  • 9. Summary: IPv4 1) IPv4 addresses are 32 bit length. 2) Fragmentation is done by sender and forwarding routers. 3) Does not identify packet flow for QoS handling. 4) Includes Options up to 40 bytes. 5) Includes a checksum. 6) Address Resolution Protocol (ARP) is available to map IPv4 addresses to MAC addresses. 7) Broadcast messages are available. 8) Manual configuration (Static) of IP addresses or DHCP (Dynamic configuration) is required to configure IP addresses. 9) IPSec is optional, external.