SlideShare a Scribd company logo
1 of 34
Internet Protocol (IP) 
• Switching at the network layer in the Internet uses the datagram approach 
• Communication at the network layer in the Internet is connectionless 
• Position of IPv4 in TCP/IP protocol suite
IPv4 Datagram
Default TOS for Applications
• Identification: used in fragmentation 
• Flag : used in fragmentation 
• Fragmentation offset 
• Time to live
• Protocol field for higher-level protocol
• Maximum length of the IPv4 datagram: 65,535 bytes
Field related to fragmentation 
• Identification: identifies a datagram originating form the source host 
• Flags: the first bit (reserved), the second bit (do not fragment bit), the third bit 
(more fragment bit, 0 means this is the last or only fragment) 
• Fragmentation offset: (13 bits cannot represent a sequence of bytes greater than 
8191
Detailed Fragmentation Example
Checksum
Options 
• IPv4 header is made of two part: a fixed part and a variable part 
• Fixed part: 20 bytes long 
• Variable part comprises the options that can be a maximum of 40 bytes
IPv6 address 
• The use of address space is inefficient 
• Minimum delay strategies and reservation of resources are required to 
accommodate real-time audio and video transmission 
• No security mechanism (encryption and authentication) is provided 
• IPv6 (IPng: Internetworking Protocol, next generation) 
– Larger address space (128 bits) 
– Better header format 
– New options 
– Allowance for extention 
– Support for resource allocation: flow label to enable the source to request special 
handling of the packet 
– Support for more security
IPv6 Datagram 
• IPv6 defines three types of addresses: unicast, anycast (a group of computers with 
the same prefix address), and multicast 
• IPv6 datagram header and payload
IPv6 Datagram Format
IPv6 Header 
• Version: IPv6 
• Priority (4 bits): the priority of the packet with respect to traffic congestion 
• Flow label (3 bytes): to provide special handling for a particular flow of data 
• Payload length 
• Next header (8 bits): to define the header that follows the base header in the 
datagram 
• Hop limit: TTL in IPv4 
• Source address (16 bytes) and destination address (16 bytes): if source routing is 
used, the destination address field contains the address of the next router
Priority 
• IPv6 divides traffic into two broad categories: congestion-controlled and 
noncongestion-controlled 
• Congestion-controlled traffic 
• Noncongestion-controlled traffic
Comparison between IPv4 and IPv6
Extension Header
Three transition strategies from IPv4 to IPv6 
• Transition should be smooth to prevent any problems between IPv4 and IPv6 
systems
Dual stack 
• All hosts have a dual stack of protocols before migrating completely to version 6
Tunneling 
• IPv6 packet is encapsulated in an IPv4 packet
Header translation 
• Necessary when the majority of the Internet has moved to IPv6 but some systems 
still use IPv4 
• Header format must be changed totally through header translation

More Related Content

What's hot

What's hot (20)

Ethernet - LAN
Ethernet - LANEthernet - LAN
Ethernet - LAN
 
PPP (Point to Point Protocol)
PPP (Point to Point Protocol)PPP (Point to Point Protocol)
PPP (Point to Point Protocol)
 
Unit 6 : Application Layer
Unit 6 : Application LayerUnit 6 : Application Layer
Unit 6 : Application Layer
 
MEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROLMEDIUM ACCESS CONTROL
MEDIUM ACCESS CONTROL
 
Address resolution protocol
Address resolution protocolAddress resolution protocol
Address resolution protocol
 
ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)
 
FDMA & TDMA
FDMA & TDMAFDMA & TDMA
FDMA & TDMA
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
Chapter 3 link aggregation
Chapter 3   link aggregationChapter 3   link aggregation
Chapter 3 link aggregation
 
Ethernet
EthernetEthernet
Ethernet
 
Media Access Control (MAC Layer)
Media Access Control (MAC Layer)Media Access Control (MAC Layer)
Media Access Control (MAC Layer)
 
TCP protocol flow control
TCP protocol flow control TCP protocol flow control
TCP protocol flow control
 
Address resolution protocol (ARP)
Address resolution protocol (ARP)Address resolution protocol (ARP)
Address resolution protocol (ARP)
 
ETHERNET
ETHERNETETHERNET
ETHERNET
 
transport layer
transport layertransport layer
transport layer
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
Ethernet
EthernetEthernet
Ethernet
 
IP Multicasting
IP MulticastingIP Multicasting
IP Multicasting
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)
 
5. icmp
5. icmp5. icmp
5. icmp
 

Similar to I pv4 format (20)

10 coms 525 tcpip - internet protocol - ip
10   coms 525 tcpip -  internet protocol - ip10   coms 525 tcpip -  internet protocol - ip
10 coms 525 tcpip - internet protocol - ip
 
I pv4 vs ipv6
I pv4 vs ipv6I pv4 vs ipv6
I pv4 vs ipv6
 
networking IPv4.pdf
networking IPv4.pdfnetworking IPv4.pdf
networking IPv4.pdf
 
Network Layer And I Pv6
Network Layer And I Pv6Network Layer And I Pv6
Network Layer And I Pv6
 
The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)
 
IPV6 Header format.pptx
IPV6 Header format.pptxIPV6 Header format.pptx
IPV6 Header format.pptx
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Dik acn presentation
Dik acn presentationDik acn presentation
Dik acn presentation
 
Unit-2_CN.pdf
Unit-2_CN.pdfUnit-2_CN.pdf
Unit-2_CN.pdf
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Comparative study of IPv4 & IPv6 Point to Point Architecture on various OS pl...
Comparative study of IPv4 & IPv6 Point to Point Architecture on various OS pl...Comparative study of IPv4 & IPv6 Point to Point Architecture on various OS pl...
Comparative study of IPv4 & IPv6 Point to Point Architecture on various OS pl...
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Internet protocols Report Slides
Internet protocols Report SlidesInternet protocols Report Slides
Internet protocols Report Slides
 
19 Network Layer Protocols
19 Network Layer Protocols19 Network Layer Protocols
19 Network Layer Protocols
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
TCP and IP Chapter 03
TCP and IP Chapter 03TCP and IP Chapter 03
TCP and IP Chapter 03
 
module 4.pptx
module 4.pptxmodule 4.pptx
module 4.pptx
 
Internet Protocol Version 4
Internet Protocol Version 4Internet Protocol Version 4
Internet Protocol Version 4
 

More from Nitesh Singh

Risk taking and emotions
Risk taking and emotionsRisk taking and emotions
Risk taking and emotionsNitesh Singh
 
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SADProject report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SADNitesh Singh
 
The real comedy behind comedy
The real comedy behind comedyThe real comedy behind comedy
The real comedy behind comedyNitesh Singh
 
Project report Rs Dry celaners
Project report Rs Dry celaners Project report Rs Dry celaners
Project report Rs Dry celaners Nitesh Singh
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layerNitesh Singh
 
Ta 104-topology (1)
Ta 104-topology (1)Ta 104-topology (1)
Ta 104-topology (1)Nitesh Singh
 

More from Nitesh Singh (20)

Risk taking and emotions
Risk taking and emotionsRisk taking and emotions
Risk taking and emotions
 
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SADProject report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
 
The real comedy behind comedy
The real comedy behind comedyThe real comedy behind comedy
The real comedy behind comedy
 
Project report Rs Dry celaners
Project report Rs Dry celaners Project report Rs Dry celaners
Project report Rs Dry celaners
 
BIG DATA ANALYSIS
BIG DATA ANALYSISBIG DATA ANALYSIS
BIG DATA ANALYSIS
 
Udp vs-tcp
Udp vs-tcpUdp vs-tcp
Udp vs-tcp
 
Routing protocols-network-layer
Routing protocols-network-layerRouting protocols-network-layer
Routing protocols-network-layer
 
Routers vs-switch
Routers vs-switchRouters vs-switch
Routers vs-switch
 
New udp
New udpNew udp
New udp
 
I pv4 addressing
I pv4 addressingI pv4 addressing
I pv4 addressing
 
Hub vs-switch
Hub vs-switchHub vs-switch
Hub vs-switch
 
Ftp
FtpFtp
Ftp
 
Email ftp
Email ftpEmail ftp
Email ftp
 
Www and http
Www and httpWww and http
Www and http
 
Transmission main
Transmission mainTransmission main
Transmission main
 
Ta 104-topology
Ta 104-topologyTa 104-topology
Ta 104-topology
 
Ta 104-topology (1)
Ta 104-topology (1)Ta 104-topology (1)
Ta 104-topology (1)
 
Ta 104-tcp
Ta 104-tcpTa 104-tcp
Ta 104-tcp
 
Ta 104-media-3
Ta 104-media-3Ta 104-media-3
Ta 104-media-3
 
Ta 104-media-2
Ta 104-media-2Ta 104-media-2
Ta 104-media-2
 

I pv4 format

  • 1. Internet Protocol (IP) • Switching at the network layer in the Internet uses the datagram approach • Communication at the network layer in the Internet is connectionless • Position of IPv4 in TCP/IP protocol suite
  • 2.
  • 4.
  • 5.
  • 6.
  • 7. Default TOS for Applications
  • 8.
  • 9.
  • 10.
  • 11. • Identification: used in fragmentation • Flag : used in fragmentation • Fragmentation offset • Time to live
  • 12.
  • 13. • Protocol field for higher-level protocol
  • 14.
  • 15. • Maximum length of the IPv4 datagram: 65,535 bytes
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. Field related to fragmentation • Identification: identifies a datagram originating form the source host • Flags: the first bit (reserved), the second bit (do not fragment bit), the third bit (more fragment bit, 0 means this is the last or only fragment) • Fragmentation offset: (13 bits cannot represent a sequence of bytes greater than 8191
  • 23. Options • IPv4 header is made of two part: a fixed part and a variable part • Fixed part: 20 bytes long • Variable part comprises the options that can be a maximum of 40 bytes
  • 24. IPv6 address • The use of address space is inefficient • Minimum delay strategies and reservation of resources are required to accommodate real-time audio and video transmission • No security mechanism (encryption and authentication) is provided • IPv6 (IPng: Internetworking Protocol, next generation) – Larger address space (128 bits) – Better header format – New options – Allowance for extention – Support for resource allocation: flow label to enable the source to request special handling of the packet – Support for more security
  • 25. IPv6 Datagram • IPv6 defines three types of addresses: unicast, anycast (a group of computers with the same prefix address), and multicast • IPv6 datagram header and payload
  • 27. IPv6 Header • Version: IPv6 • Priority (4 bits): the priority of the packet with respect to traffic congestion • Flow label (3 bytes): to provide special handling for a particular flow of data • Payload length • Next header (8 bits): to define the header that follows the base header in the datagram • Hop limit: TTL in IPv4 • Source address (16 bytes) and destination address (16 bytes): if source routing is used, the destination address field contains the address of the next router
  • 28. Priority • IPv6 divides traffic into two broad categories: congestion-controlled and noncongestion-controlled • Congestion-controlled traffic • Noncongestion-controlled traffic
  • 31. Three transition strategies from IPv4 to IPv6 • Transition should be smooth to prevent any problems between IPv4 and IPv6 systems
  • 32. Dual stack • All hosts have a dual stack of protocols before migrating completely to version 6
  • 33. Tunneling • IPv6 packet is encapsulated in an IPv4 packet
  • 34. Header translation • Necessary when the majority of the Internet has moved to IPv6 but some systems still use IPv4 • Header format must be changed totally through header translation