SlideShare a Scribd company logo
1 of 17
IPv4 & IPv6
Course Name: Computer Networking
Department: Information Technology
Table of Contents
1. INTRODUCTION
2. IPV4
1. Class A
2. Class B
3. Class C
4. Class D
5. Class E
3. IPV5
4. IPV6
5. DIFFERENCE
6. CONCLUSION
2
i Please use google docs to view this document.
INTRODUCTION
1
IP ADDRESSING
3
● An IP addresses an identifier for a particular machine on a particular network.
○ IP stands for Internet Protocol.
○ IP works at network layer of OSI model.
● The network portion of the IP Address is allocated by the internet service provider(ISP) under authority
of the Internet Assigned Number Authority(IANA).
○ There are two main types of IP Addresses.
■ IPv4
■ IPv6
● Which section of the IP Addresses represent the network and which section represent the machine will
depend on what ‘class’ of the ip address is assigned to a network.
○ Without IP Address devices on different networks will not be able to communicate.
○ Every device needs an IP address in order to communicate(connect) to the internet.
INTRODUCTION
1
ADDRESSING
PHYSICAL
LOGICAL
MAC ADDR
IPv4 IPv6
Public IP Private IP
4
Static IP Addr
Dynamic IP Addr
IPV4
2
● Internet Protocol version 4.
● 32 bit Logical address is divided into five sub-classes.
These are:
● 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
IP Address Network ID Host ID
5
4 OCTETS
8 bits 8 bits 8 bits 8 bits
6
IPV4
Class A addresses are for networks with large number of total hosts. Class A allows for
126 networks by using the first octet for the network ID. The first bit in this octet, is always
zero. The remaining seven bits in this octet complete the network ID. The 24 bits in the
remaining three octets represent the hosts ID and allows for approximately 17 million
hosts per network. Class A network number values begin at 1 and end at 127.
If the 32 bit binary address starts with a bit 0, then IP Address belongs to class A. Class A
binary address format is 0NNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH
● Public IP Range: 1.0.0.0 to 127.0.0.0
○ First octet value range from 1 to 127
● Private IP Range: 10.0.0.0 to 10.255.255.255
● Subnet Mask: 255.0.0.0 (8 bits)
● Number of Networks: 126
● Number of Hosts per Network: 16,777,214
More info...
NET ID
(Starting with 0)
32 bit
8 bit 24 bit
Host ID
2
CLASS A
2.1
1 0 0 0
4 OCTETS
8 bits 8 bits 8 bits 8 bits
127 0 0 0
NETWORK ID
HOST ID
COLOR
CODING
● If the 32 bit binary address starts with bits 10, then IP Address belongs to class B. And If
the 32 bit address is written in decimal than it starts with decimal 128.
● Class B binary address format is: 10NNNNNN.NNNNNNNN.HHHHHHHH.HHHHHHHH
In class B IP Address
● The first 16 bits are used for the Network ID. The remaining 16 bits are used for the Host ID.
● Public IP Range: 128.0.0.0 to 191.255.0.0
○ First octet value range from 128 to 191
● Private IP Range: 172.16.0.0 to 172.31.255.255
● Subnet Mask: 255.255.0.0 (16 bits)
● Number of Networks: 16,382
● Number of Hosts per Network: 65,534
Use
● Class B is used by organizations requiring medium size networks like IRCTC, banks etc.
More info...
7
IPV4
2
CLASS B
2.2
32 bit
16 bit 16 bit
Host ID
NETWORK ID
128 0 0 0
4 OCTETS
8 bits 8 bits 8 bits 8 bits
191 225 0 0
8
IPV4
2
CLASS C
2.2
32 bit
24 bit 8 bit
Host ID
NETWORK ID
● If the 32 bit binary address starts with bits 110, then IP Address belongs to class C. And
If the 32 bit address is written in decimal than it starts with decimal 192.
● Class B binary address format is: 110NNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH
In class C IP Address
● The first 24 bits are used for the Network ID. The remaining 8 bits are used for the Host
ID.
● Public IP Range: 192.0.0.0 to 223.255.255.0
○ First octet value range from 192 to 223
● Private IP Range: 192.168.0.0 to 192.168.255.255
● Special IP Range: 127.0.0.1 to 127.255.255.255
● Subnet Mask: 255.255.255.0 (24 bits)
● Number of Networks: 2,097,150
● Number of Hosts per Network: 254
Use
● Class C is used by organizations requiring small to medium size networks.
● For example- engineering colleges, small universities, small offices etc.
More info...
192 0 0 0
4 OCTETS
8 bits 8 bits 8 bits 8 bits
223 225 225 0
9
IPV4
2
CLASS D
2.2
32 bit
NETWORK ID
● If the 32 bit binary address starts with bits 1110, then IP Address belongs to class D.
And If the 32 bit address is written in decimal than it starts with decimal 224.
● Class B binary address format is: 1110NNNN.NNNNNNNN.NNNNNNNN.NNNNNNNN
In class D IP Address
● Class D is not divided into Network ID and Host ID.
● Range: 224.0.0.0 to 239.255.255.255
○ First octet value range from 224 to 239
● Number of Networks: N/A
● Number of Hosts per Network: Multicasting
○ In multicasting data is not destined for a particular host, that is why there is no need to extract host address from
the IP address, and Class D does not have any subnet mask.
Use
● Class D is reserved for multicasting.
● In multicasting, there is no need to extract host address from the IP Address.
● This is because data is not destined for a particular host.
More info...
224 0 0 0
4 OCTETS
8 bits 8 bits 8 bits 8 bits
239 225 225 225
10
IPV4
2
CLASS E
2.2
32 bit
NETWORK ID
● If the 32 bit binary address starts with bits 1111, then IP Address belongs to
class E. And If the 32 bit address is written in decimal than it starts with decimal
240.
● Class B binary address format is:
1111NNNN.NNNNNNNN.NNNNNNNN.NNNNNNNN
In class D IP Address
● Class E IP addresses are not allocated to hosts and are not available for
general use. These are reserved for research purposes.
● Range: 240.0.0.0 to 255.255.255.255
○ First octet value range from 240 to 255
● Number of Networks: N/A
● Number of Hosts per Network: Research/Reserved/Experimental
Use
● Class E is reserved for future or experimental and research purposes.
More info...
240 0 0 0
4 OCTETS
8 bits 8 bits 8 bits 8 bits
255 225 225 225
IPV5
3
● Internet Protocol version 5.
Q. If there is IPv4 & IPv6 than where is IPv5?
○ IPv5 never became an official protocol. What is known as IPv5 started
out under a different name: ​Internet Stream Protocol, or simply ST.
○ The ST/IPv5 internet protocol was developed as a means of streaming
video and voice data by Apple, NeXT, and Sun Microsystems, and it
was experimental. ST was effective at transferring data packets on
specific frequencies while maintaining communication.
○ It would eventually serve as a foundation for the development of
technologies like Voice over IP, or VoIP, which is used for voice
communications over the internet.
more info... 11
IPV6
3
● Internet Protocol version 6.
○ The IP Address 6 is made of 128 bits, divided into
Eight 16 bits Segments or Blocks.
○ To solve the addressing limitation, the commercial
deployment of this new internet protocol began in 2006
it provides more IP addresses.
● The format of IPv6 is a series of eight 4-character
hexadecimal numbers; each of these represents 16 bits,
for a total of 128 bits. The characters in an IPv6 address
are numbers from 0 to 9 and letters from A to F.
IPv6 uses 128-bit (2128) addresses, allowing 3.4 x 1038 unique IP
addresses. This is equal to 340 trillion trillion trillion IP addresses.
To be exact, it's
340,282,366,920,938,463,463,374,607,431,768,211,456 (340
undecillion, 282 decillion, 366 nonillion, 920 octillion, 938 septillion, .
. ., 607 trillion, 431 billion, 768 million, 211 thousand and 456.
And there is no classes in IPv6.
12
8 SEGMENTS(BLOCKS)
16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits
DIFFERENCE B/W IPv4 & IPv6
4
13
IPv4 IPv6
IPv4 has a 32-bit address length IPv6 has a 128-bit address length
It Supports Manual and DHCP address configuration It supports Auto and renumbering address configuration
In IPv4 end to end, connection integrity is
Unachievable
In IPv6 end to end, connection integrity is Achievable
It can generate 4.29×109 address space Address space of IPv6 is quite large it can produce 3.4×1038
address space
The Security feature is dependent on application IPSEC is an inbuilt security feature in the IPv6 protocol
Address representation of IPv4 is in decimal Address Representation of IPv6 is in hexadecimal
Fragmentation performed by Sender and forwarding
routers
In IPv6 fragmentation performed only by the sender
DIFFERENCE B/W IPv4 & IPv6
4
14
IPv4
In IPv4 Packet flow identification is not available
IPv6
In IPv6 packet flow identification are Available and uses the
flow label field in the header
In IPv4 checksum field is available In IPv6 checksum field is not available
It has broadcast Message Transmission Scheme In IPv6 multicast and anycast message transmission scheme is
available
In IPv4 Encryption and Authentication facility not
provided
In IPv6 Encryption and Authentication are provided
IPv4 has a header of 20-60 bytes. IPv6 has header of 40 bytes fixed
Conclusion
● IPv4 was reliable solution until the explosion of technology started.
● IPv6 seems reliable also, however we cannot stay until we test and deploy.
● In our opinion in the coming years of internet should have shift from IPv4 to
IPv6 due to the high demand of the internet devices especially mobile
phones and IoT Devices.
5
15
NETWORKS
COMPUTER
16
Questions
NETWORKS
COMPUTER
~/Mukesh
17

More Related Content

Similar to IPv4 & IPv6 .pptx (20)

IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
Ramakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressingRamakant tyagi presentation on ip addressing
Ramakant tyagi presentation on ip addressing
 
Ip seminar
Ip seminarIp seminar
Ip seminar
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Lesson 4
Lesson 4Lesson 4
Lesson 4
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
IPV6
IPV6IPV6
IPV6
 
3 ip address
3 ip address3 ip address
3 ip address
 
IP & MAC Addressing
IP & MAC Addressing IP & MAC Addressing
IP & MAC Addressing
 
Note 4
Note 4Note 4
Note 4
 
Networking Brush Up for Amazon AWS Administrators
Networking Brush Up for Amazon AWS AdministratorsNetworking Brush Up for Amazon AWS Administrators
Networking Brush Up for Amazon AWS Administrators
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Ip address
Ip address Ip address
Ip address
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
ip versions.pdf
ip versions.pdfip versions.pdf
ip versions.pdf
 
IP VERSIONS.pdf
IP VERSIONS.pdfIP VERSIONS.pdf
IP VERSIONS.pdf
 

Recently uploaded

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Recently uploaded (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 

IPv4 & IPv6 .pptx

  • 1. IPv4 & IPv6 Course Name: Computer Networking Department: Information Technology
  • 2. Table of Contents 1. INTRODUCTION 2. IPV4 1. Class A 2. Class B 3. Class C 4. Class D 5. Class E 3. IPV5 4. IPV6 5. DIFFERENCE 6. CONCLUSION 2 i Please use google docs to view this document.
  • 3. INTRODUCTION 1 IP ADDRESSING 3 ● An IP addresses an identifier for a particular machine on a particular network. ○ IP stands for Internet Protocol. ○ IP works at network layer of OSI model. ● The network portion of the IP Address is allocated by the internet service provider(ISP) under authority of the Internet Assigned Number Authority(IANA). ○ There are two main types of IP Addresses. ■ IPv4 ■ IPv6 ● Which section of the IP Addresses represent the network and which section represent the machine will depend on what ‘class’ of the ip address is assigned to a network. ○ Without IP Address devices on different networks will not be able to communicate. ○ Every device needs an IP address in order to communicate(connect) to the internet.
  • 4. INTRODUCTION 1 ADDRESSING PHYSICAL LOGICAL MAC ADDR IPv4 IPv6 Public IP Private IP 4 Static IP Addr Dynamic IP Addr
  • 5. IPV4 2 ● Internet Protocol version 4. ● 32 bit Logical address is divided into five sub-classes. These are: ● 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 IP Address Network ID Host ID 5 4 OCTETS 8 bits 8 bits 8 bits 8 bits
  • 6. 6 IPV4 Class A addresses are for networks with large number of total hosts. Class A allows for 126 networks by using the first octet for the network ID. The first bit in this octet, is always zero. The remaining seven bits in this octet complete the network ID. The 24 bits in the remaining three octets represent the hosts ID and allows for approximately 17 million hosts per network. Class A network number values begin at 1 and end at 127. If the 32 bit binary address starts with a bit 0, then IP Address belongs to class A. Class A binary address format is 0NNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH ● Public IP Range: 1.0.0.0 to 127.0.0.0 ○ First octet value range from 1 to 127 ● Private IP Range: 10.0.0.0 to 10.255.255.255 ● Subnet Mask: 255.0.0.0 (8 bits) ● Number of Networks: 126 ● Number of Hosts per Network: 16,777,214 More info... NET ID (Starting with 0) 32 bit 8 bit 24 bit Host ID 2 CLASS A 2.1 1 0 0 0 4 OCTETS 8 bits 8 bits 8 bits 8 bits 127 0 0 0 NETWORK ID HOST ID COLOR CODING
  • 7. ● If the 32 bit binary address starts with bits 10, then IP Address belongs to class B. And If the 32 bit address is written in decimal than it starts with decimal 128. ● Class B binary address format is: 10NNNNNN.NNNNNNNN.HHHHHHHH.HHHHHHHH In class B IP Address ● The first 16 bits are used for the Network ID. The remaining 16 bits are used for the Host ID. ● Public IP Range: 128.0.0.0 to 191.255.0.0 ○ First octet value range from 128 to 191 ● Private IP Range: 172.16.0.0 to 172.31.255.255 ● Subnet Mask: 255.255.0.0 (16 bits) ● Number of Networks: 16,382 ● Number of Hosts per Network: 65,534 Use ● Class B is used by organizations requiring medium size networks like IRCTC, banks etc. More info... 7 IPV4 2 CLASS B 2.2 32 bit 16 bit 16 bit Host ID NETWORK ID 128 0 0 0 4 OCTETS 8 bits 8 bits 8 bits 8 bits 191 225 0 0
  • 8. 8 IPV4 2 CLASS C 2.2 32 bit 24 bit 8 bit Host ID NETWORK ID ● If the 32 bit binary address starts with bits 110, then IP Address belongs to class C. And If the 32 bit address is written in decimal than it starts with decimal 192. ● Class B binary address format is: 110NNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH In class C IP Address ● The first 24 bits are used for the Network ID. The remaining 8 bits are used for the Host ID. ● Public IP Range: 192.0.0.0 to 223.255.255.0 ○ First octet value range from 192 to 223 ● Private IP Range: 192.168.0.0 to 192.168.255.255 ● Special IP Range: 127.0.0.1 to 127.255.255.255 ● Subnet Mask: 255.255.255.0 (24 bits) ● Number of Networks: 2,097,150 ● Number of Hosts per Network: 254 Use ● Class C is used by organizations requiring small to medium size networks. ● For example- engineering colleges, small universities, small offices etc. More info... 192 0 0 0 4 OCTETS 8 bits 8 bits 8 bits 8 bits 223 225 225 0
  • 9. 9 IPV4 2 CLASS D 2.2 32 bit NETWORK ID ● If the 32 bit binary address starts with bits 1110, then IP Address belongs to class D. And If the 32 bit address is written in decimal than it starts with decimal 224. ● Class B binary address format is: 1110NNNN.NNNNNNNN.NNNNNNNN.NNNNNNNN In class D IP Address ● Class D is not divided into Network ID and Host ID. ● Range: 224.0.0.0 to 239.255.255.255 ○ First octet value range from 224 to 239 ● Number of Networks: N/A ● Number of Hosts per Network: Multicasting ○ In multicasting data is not destined for a particular host, that is why there is no need to extract host address from the IP address, and Class D does not have any subnet mask. Use ● Class D is reserved for multicasting. ● In multicasting, there is no need to extract host address from the IP Address. ● This is because data is not destined for a particular host. More info... 224 0 0 0 4 OCTETS 8 bits 8 bits 8 bits 8 bits 239 225 225 225
  • 10. 10 IPV4 2 CLASS E 2.2 32 bit NETWORK ID ● If the 32 bit binary address starts with bits 1111, then IP Address belongs to class E. And If the 32 bit address is written in decimal than it starts with decimal 240. ● Class B binary address format is: 1111NNNN.NNNNNNNN.NNNNNNNN.NNNNNNNN In class D IP Address ● Class E IP addresses are not allocated to hosts and are not available for general use. These are reserved for research purposes. ● Range: 240.0.0.0 to 255.255.255.255 ○ First octet value range from 240 to 255 ● Number of Networks: N/A ● Number of Hosts per Network: Research/Reserved/Experimental Use ● Class E is reserved for future or experimental and research purposes. More info... 240 0 0 0 4 OCTETS 8 bits 8 bits 8 bits 8 bits 255 225 225 225
  • 11. IPV5 3 ● Internet Protocol version 5. Q. If there is IPv4 & IPv6 than where is IPv5? ○ IPv5 never became an official protocol. What is known as IPv5 started out under a different name: ​Internet Stream Protocol, or simply ST. ○ The ST/IPv5 internet protocol was developed as a means of streaming video and voice data by Apple, NeXT, and Sun Microsystems, and it was experimental. ST was effective at transferring data packets on specific frequencies while maintaining communication. ○ It would eventually serve as a foundation for the development of technologies like Voice over IP, or VoIP, which is used for voice communications over the internet. more info... 11
  • 12. IPV6 3 ● Internet Protocol version 6. ○ The IP Address 6 is made of 128 bits, divided into Eight 16 bits Segments or Blocks. ○ To solve the addressing limitation, the commercial deployment of this new internet protocol began in 2006 it provides more IP addresses. ● The format of IPv6 is a series of eight 4-character hexadecimal numbers; each of these represents 16 bits, for a total of 128 bits. The characters in an IPv6 address are numbers from 0 to 9 and letters from A to F. IPv6 uses 128-bit (2128) addresses, allowing 3.4 x 1038 unique IP addresses. This is equal to 340 trillion trillion trillion IP addresses. To be exact, it's 340,282,366,920,938,463,463,374,607,431,768,211,456 (340 undecillion, 282 decillion, 366 nonillion, 920 octillion, 938 septillion, . . ., 607 trillion, 431 billion, 768 million, 211 thousand and 456. And there is no classes in IPv6. 12 8 SEGMENTS(BLOCKS) 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits 16 bits
  • 13. DIFFERENCE B/W IPv4 & IPv6 4 13 IPv4 IPv6 IPv4 has a 32-bit address length IPv6 has a 128-bit address length It Supports Manual and DHCP address configuration It supports Auto and renumbering address configuration In IPv4 end to end, connection integrity is Unachievable In IPv6 end to end, connection integrity is Achievable It can generate 4.29×109 address space Address space of IPv6 is quite large it can produce 3.4×1038 address space The Security feature is dependent on application IPSEC is an inbuilt security feature in the IPv6 protocol Address representation of IPv4 is in decimal Address Representation of IPv6 is in hexadecimal Fragmentation performed by Sender and forwarding routers In IPv6 fragmentation performed only by the sender
  • 14. DIFFERENCE B/W IPv4 & IPv6 4 14 IPv4 In IPv4 Packet flow identification is not available IPv6 In IPv6 packet flow identification are Available and uses the flow label field in the header In IPv4 checksum field is available In IPv6 checksum field is not available It has broadcast Message Transmission Scheme In IPv6 multicast and anycast message transmission scheme is available In IPv4 Encryption and Authentication facility not provided In IPv6 Encryption and Authentication are provided IPv4 has a header of 20-60 bytes. IPv6 has header of 40 bytes fixed
  • 15. Conclusion ● IPv4 was reliable solution until the explosion of technology started. ● IPv6 seems reliable also, however we cannot stay until we test and deploy. ● In our opinion in the coming years of internet should have shift from IPv4 to IPv6 due to the high demand of the internet devices especially mobile phones and IoT Devices. 5 15