SlideShare a Scribd company logo
1 of 19
IPv4 and IPv6
Rishav Bhurtel
0307 A
• an identifier for a particular machine on a particular network.
• The network portion of the IP address is allocated to internet service
provider(ISP), under authority of the Internet Assigned Number
Authority (IANA).
• Which section of the IP address represent the network & which
sections represent the machine will depend on what “class” of IP
address is assigned to a network.
IPV4
• Internet Protocol version 4 (IPv4) is the fourth version of the Internet
Protocol (IP). It is one of the core protocols of standards-based
internetworking methods in the Internet
• 32 bits
• 2^32 = 4,294,967,296
• IPv4 is a connectionless protocol for use on packet-switched
networks.
IPv4 Addressing
• The 32-bit IP address is grouped eight bits at a time, separated by dots,
and represented in decimal format (known as dotted decimal notation).
Each bit in the octet has a binary weight (128, 64, 32, 16, 8, 4, 2, 1). The
minimum value for an octet is 0, and the maximum value for an octet is
255.The figure below illustrates the basic format of an IP address.
•
IPv4 Address Scheme :
• An IP packet contains several types of information, as
illustrated.
• Version---Indicates the version of IP currently used.
 IP Header Length (IHL)---Indicates the datagram header length in 32-bit words.
 Type-of-Service---Assigns datagrams various levels of importance.
 Total Length---Specifies the length, in bytes, of the entire IP packet.
 Identification---Contains an integer that identifies the current datagram.
 Flags---The two low-order (least-significant) bits control fragmentation. The low-order
bit specifies whether the packet can be fragmented. The middle bit specifies whether
the packet is the last fragment in a series of fragmented packets. The third or high-
order bit is not used.
 Fragment Offset---Indicates the position of the fragment's data relative to the
beginning of the data in the original datagram.
 Time-to-Live---Maintains a counter that gradually decrements down to zero, at which
point the datagram is discarded. This keeps packets from looping endlessly.
 Protocol---Indicates which upper-layer protocol receives incoming packets after IP
processing is complete.
 Header Checksum---Helps ensure IP header integrity.
 Source Address---Specifies the sending node.
 Destination Address---Specifies the receiving node.
 Options---Allows IP to support various options, such as security.
 Data---Contains upper-layer information.
• IPv4 uses 32-bit addresses for Ethernet communication in five
classes, named A, B, C, D and E.
Private addresses to assign within a network
(Not globally routable)
In its simplest configuration, the Network Address Translator (NAT)
operates on a router connecting two networks together; one of
these networks (designated as inside) is addressed with either
private or obsolete addresses that need to be converted into legal
addresses before packets are forwarded onto the other network
(designated as outside). The translation operates in conjunction
with routing, so that NAT can simply be enabled on an Internet
access router when translation is desired.
Schema diagram:
IPv6
• Pv6 (Internet Protocol version 6) is a set of specifications from the
Internet Engineering Task Force (IETF) that's essentially an
upgrade of IP version 4 (IPv4).
• 32 bits to 128 bits.
• 2^128 = 340,282,366,920,938,463,463,374,607,431,768,211,456
• And a new type of address called an "anycast address" is defined,
used to send a packet to any one of a group of nodes.
• Authentication and Privacy Capabilities Extensions to support
authentication, data integrity, and (optional) data confidentiality
are specified for IPv6.
IPv6 Address Scheme :
• An IP packet contains several types of information, as
illustrated.
• Version (4-bits): It represents the version of Internet Protocol, i.e. 0110.
• Traffic Class (8-bits): These 8 bits are divided into two parts. The most significant 6 bits are
used for Type of Service to let the Router Known what services should be provided to this
packet. The least significant 2 bits are used for Explicit Congestion Notification (ECN).
• Flow Label (20-bits): This label is used to maintain the sequential flow of the packets
belonging to a communication. The source labels the sequence to help the router identify
that a particular packet belongs to a specific flow of information. This field helps avoid re-
ordering of data packets. It is designed for streaming/real-time media.
• Payload Length (16-bits): This field is used to tell the routers how much information a
particular packet contains in its payload. Payload is composed of Extension Headers and
Upper Layer data.
• Next Header (8-bits): This field is used to indicate either the type of Extension Header, or if
the Extension Header is not present
• Hop Limit (8-bits): This field is used to stop packet to loop in the network infinitely. This is
same as TTL in IPv4. The value of Hop Limit field is decremented by 1 as it passes a link
(router/hop). When the field reaches 0 the packet is discarded.
• Source Address (128-bits): This field indicates the address of originator of the packet.
• Destination Address (128-bits): This field provides the address of intended recipient of the
packet.
IPV6 address
The 128-bit IP address is represented as 8 groups of 4
hexadecimal digits, each group representing 16 bits (2
octets). The groups are separated by colons(:). The minimum
value for an octet is 0, and the maximum value for an octet is
F. The figure below illustrates the basic format of an IP
address.
 difference between IPv4 and
IPv6
S.N IPv4 IPv6
1. Addresses are 32 bits (4 bytes) long. Addresses are 128 bits (416 bytes) long.
2. Both routers & sending host fragment the
packets.
Routers don’t fragment the packets but
sending host fragment the packets.
3. Header includes a checksum. Header doesn’t includes a checksum.
 difference between IPv4 and
IPv6 cont…S.N IPv4 IPv6
4. Classes of addressing are A, B, C, D, E. Classes of addressing are unicast, anycast,
multicast.
5. Configure either manually or through DHCP. Doesn’t require manual configuration.
6. Must support a 576 byte packet size. Must support 1208 byte packet size.
 difference between IPv4 and
IPv6 cont…S.N IPv4 IPv6
7. IPv4 address uses the dot-decimal notation. IPv6 address are represented in a
hexadecimal, colon-separated notation.
8. Not suitable for mobile networks. IPv6 is better suited to mobile networks.
9. Address space is small (232). Larger address space (2128).
 difference between IPv4 and
IPv6 cont…S.N IPv4 IPv6
10. Internet protocol security(IPSec) is mandatory in
this.
IPSec is optional.
11. An IP address is made up of 4 bytes of
information expressed as 4 number between 0 &
255 shown separated by periods.
e.g.- 238.17.159.4
An IPv6 address is represented by 8 group of
16 bit hexadecimal values separated by colons
(:).
e.g.-
2001:0db8:85a3:0000:0000:8a2e:0370:7334
• What's Next? IPv7?
• Even with 20 years of TCP networks UUCP still exists
• IPv6 to IPv4 NAT is just an interim solution, will not work with all
protocols.
Thank You!

More Related Content

What's hot (20)

IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
 
NETWORK LAYER - Logical Addressing
NETWORK LAYER - Logical AddressingNETWORK LAYER - Logical Addressing
NETWORK LAYER - Logical Addressing
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
IPv6 header
IPv6 headerIPv6 header
IPv6 header
 
IPV4 vs IPV6
IPV4 vs IPV6IPV4 vs IPV6
IPV4 vs IPV6
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Ipv4 vs Ipv6 comparison
Ipv4 vs Ipv6 comparisonIpv4 vs Ipv6 comparison
Ipv4 vs Ipv6 comparison
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Ipv4 ppt
Ipv4 pptIpv4 ppt
Ipv4 ppt
 
MAC & IP addresses
MAC & IP addressesMAC & IP addresses
MAC & IP addresses
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classes
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
 
Ip address
Ip address Ip address
Ip address
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 

Viewers also liked

Viewers also liked (10)

IPv4 and IPv6
IPv4 and IPv6IPv4 and IPv6
IPv4 and IPv6
 
Mobile Agent
Mobile AgentMobile Agent
Mobile Agent
 
Mobile agents
Mobile agentsMobile agents
Mobile agents
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
Mobile agent
Mobile agent Mobile agent
Mobile agent
 
Comparison between ipv4 and ipv6
Comparison between ipv4 and ipv6Comparison between ipv4 and ipv6
Comparison between ipv4 and ipv6
 
Ipv6
Ipv6Ipv6
Ipv6
 
IPv4 to IPv6
IPv4 to IPv6IPv4 to IPv6
IPv4 to IPv6
 
IPv6
IPv6IPv6
IPv6
 
Lecture 4- Agent types
Lecture 4- Agent typesLecture 4- Agent types
Lecture 4- Agent types
 

Similar to Ipv4 and Ipv6

Similar to Ipv4 and Ipv6 (20)

IP Address
IP AddressIP Address
IP Address
 
6 ccna (fundamentals of i pv4 addressing and routing)
6  ccna (fundamentals of i pv4 addressing and routing)6  ccna (fundamentals of i pv4 addressing and routing)
6 ccna (fundamentals of i pv4 addressing and routing)
 
I.p. protocol
I.p. protocolI.p. protocol
I.p. protocol
 
IPv4.pdf
IPv4.pdfIPv4.pdf
IPv4.pdf
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
IPv6 - The Next next generation protocol
IPv6 - The Next next generation protocolIPv6 - The Next next generation protocol
IPv6 - The Next next generation protocol
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
Network Layer & Transport Layer
Network Layer & Transport LayerNetwork Layer & Transport Layer
Network Layer & Transport Layer
 
network fundamental
network fundamentalnetwork fundamental
network fundamental
 
Internet protocols Report Slides
Internet protocols Report SlidesInternet protocols Report Slides
Internet protocols Report Slides
 
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
 
Exploration network chapter_5_modified
Exploration network chapter_5_modifiedExploration network chapter_5_modified
Exploration network chapter_5_modified
 
IPv4 and IPv6
IPv4 and IPv6IPv4 and IPv6
IPv4 and IPv6
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 
IP Datagram Structure
IP Datagram StructureIP Datagram Structure
IP Datagram Structure
 
IP Address
IP AddressIP Address
IP Address
 
Networking essentials lect2
Networking essentials lect2Networking essentials lect2
Networking essentials lect2
 

More from Rishav Bhurtel

Role of unification and realization in natural language generation
Role of unification and realization in natural language generationRole of unification and realization in natural language generation
Role of unification and realization in natural language generationRishav Bhurtel
 
Tools & techniques used in syntactic parsing and semantic analysis
Tools & techniques used in syntactic parsing and semantic analysisTools & techniques used in syntactic parsing and semantic analysis
Tools & techniques used in syntactic parsing and semantic analysisRishav Bhurtel
 
Color Production Method
Color Production MethodColor Production Method
Color Production MethodRishav Bhurtel
 
Scrap waste In Kathmandu
Scrap waste In KathmanduScrap waste In Kathmandu
Scrap waste In KathmanduRishav Bhurtel
 

More from Rishav Bhurtel (8)

Role of unification and realization in natural language generation
Role of unification and realization in natural language generationRole of unification and realization in natural language generation
Role of unification and realization in natural language generation
 
Chain code in dip
Chain code in dipChain code in dip
Chain code in dip
 
Tools & techniques used in syntactic parsing and semantic analysis
Tools & techniques used in syntactic parsing and semantic analysisTools & techniques used in syntactic parsing and semantic analysis
Tools & techniques used in syntactic parsing and semantic analysis
 
Syntactic parsing
Syntactic parsingSyntactic parsing
Syntactic parsing
 
Color Production Method
Color Production MethodColor Production Method
Color Production Method
 
Green IT
Green ITGreen IT
Green IT
 
Storage Technologies
Storage TechnologiesStorage Technologies
Storage Technologies
 
Scrap waste In Kathmandu
Scrap waste In KathmanduScrap waste In Kathmandu
Scrap waste In Kathmandu
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Ipv4 and Ipv6

  • 1. IPv4 and IPv6 Rishav Bhurtel 0307 A
  • 2. • an identifier for a particular machine on a particular network. • The network portion of the IP address is allocated to internet service provider(ISP), under authority of the Internet Assigned Number Authority (IANA). • Which section of the IP address represent the network & which sections represent the machine will depend on what “class” of IP address is assigned to a network.
  • 3. IPV4 • Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet • 32 bits • 2^32 = 4,294,967,296 • IPv4 is a connectionless protocol for use on packet-switched networks.
  • 4. IPv4 Addressing • The 32-bit IP address is grouped eight bits at a time, separated by dots, and represented in decimal format (known as dotted decimal notation). Each bit in the octet has a binary weight (128, 64, 32, 16, 8, 4, 2, 1). The minimum value for an octet is 0, and the maximum value for an octet is 255.The figure below illustrates the basic format of an IP address. •
  • 5. IPv4 Address Scheme : • An IP packet contains several types of information, as illustrated.
  • 6. • Version---Indicates the version of IP currently used.  IP Header Length (IHL)---Indicates the datagram header length in 32-bit words.  Type-of-Service---Assigns datagrams various levels of importance.  Total Length---Specifies the length, in bytes, of the entire IP packet.  Identification---Contains an integer that identifies the current datagram.  Flags---The two low-order (least-significant) bits control fragmentation. The low-order bit specifies whether the packet can be fragmented. The middle bit specifies whether the packet is the last fragment in a series of fragmented packets. The third or high- order bit is not used.  Fragment Offset---Indicates the position of the fragment's data relative to the beginning of the data in the original datagram.  Time-to-Live---Maintains a counter that gradually decrements down to zero, at which point the datagram is discarded. This keeps packets from looping endlessly.  Protocol---Indicates which upper-layer protocol receives incoming packets after IP processing is complete.  Header Checksum---Helps ensure IP header integrity.  Source Address---Specifies the sending node.  Destination Address---Specifies the receiving node.  Options---Allows IP to support various options, such as security.  Data---Contains upper-layer information.
  • 7. • IPv4 uses 32-bit addresses for Ethernet communication in five classes, named A, B, C, D and E.
  • 8. Private addresses to assign within a network (Not globally routable) In its simplest configuration, the Network Address Translator (NAT) operates on a router connecting two networks together; one of these networks (designated as inside) is addressed with either private or obsolete addresses that need to be converted into legal addresses before packets are forwarded onto the other network (designated as outside). The translation operates in conjunction with routing, so that NAT can simply be enabled on an Internet access router when translation is desired.
  • 10. IPv6 • Pv6 (Internet Protocol version 6) is a set of specifications from the Internet Engineering Task Force (IETF) that's essentially an upgrade of IP version 4 (IPv4). • 32 bits to 128 bits. • 2^128 = 340,282,366,920,938,463,463,374,607,431,768,211,456 • And a new type of address called an "anycast address" is defined, used to send a packet to any one of a group of nodes. • Authentication and Privacy Capabilities Extensions to support authentication, data integrity, and (optional) data confidentiality are specified for IPv6.
  • 11. IPv6 Address Scheme : • An IP packet contains several types of information, as illustrated.
  • 12. • Version (4-bits): It represents the version of Internet Protocol, i.e. 0110. • Traffic Class (8-bits): These 8 bits are divided into two parts. The most significant 6 bits are used for Type of Service to let the Router Known what services should be provided to this packet. The least significant 2 bits are used for Explicit Congestion Notification (ECN). • Flow Label (20-bits): This label is used to maintain the sequential flow of the packets belonging to a communication. The source labels the sequence to help the router identify that a particular packet belongs to a specific flow of information. This field helps avoid re- ordering of data packets. It is designed for streaming/real-time media. • Payload Length (16-bits): This field is used to tell the routers how much information a particular packet contains in its payload. Payload is composed of Extension Headers and Upper Layer data. • Next Header (8-bits): This field is used to indicate either the type of Extension Header, or if the Extension Header is not present • Hop Limit (8-bits): This field is used to stop packet to loop in the network infinitely. This is same as TTL in IPv4. The value of Hop Limit field is decremented by 1 as it passes a link (router/hop). When the field reaches 0 the packet is discarded. • Source Address (128-bits): This field indicates the address of originator of the packet. • Destination Address (128-bits): This field provides the address of intended recipient of the packet.
  • 13. IPV6 address The 128-bit IP address is represented as 8 groups of 4 hexadecimal digits, each group representing 16 bits (2 octets). The groups are separated by colons(:). The minimum value for an octet is 0, and the maximum value for an octet is F. The figure below illustrates the basic format of an IP address.
  • 14.  difference between IPv4 and IPv6 S.N IPv4 IPv6 1. Addresses are 32 bits (4 bytes) long. Addresses are 128 bits (416 bytes) long. 2. Both routers & sending host fragment the packets. Routers don’t fragment the packets but sending host fragment the packets. 3. Header includes a checksum. Header doesn’t includes a checksum.
  • 15.  difference between IPv4 and IPv6 cont…S.N IPv4 IPv6 4. Classes of addressing are A, B, C, D, E. Classes of addressing are unicast, anycast, multicast. 5. Configure either manually or through DHCP. Doesn’t require manual configuration. 6. Must support a 576 byte packet size. Must support 1208 byte packet size.
  • 16.  difference between IPv4 and IPv6 cont…S.N IPv4 IPv6 7. IPv4 address uses the dot-decimal notation. IPv6 address are represented in a hexadecimal, colon-separated notation. 8. Not suitable for mobile networks. IPv6 is better suited to mobile networks. 9. Address space is small (232). Larger address space (2128).
  • 17.  difference between IPv4 and IPv6 cont…S.N IPv4 IPv6 10. Internet protocol security(IPSec) is mandatory in this. IPSec is optional. 11. An IP address is made up of 4 bytes of information expressed as 4 number between 0 & 255 shown separated by periods. e.g.- 238.17.159.4 An IPv6 address is represented by 8 group of 16 bit hexadecimal values separated by colons (:). e.g.- 2001:0db8:85a3:0000:0000:8a2e:0370:7334
  • 18. • What's Next? IPv7? • Even with 20 years of TCP networks UUCP still exists • IPv6 to IPv4 NAT is just an interim solution, will not work with all protocols.