Search

Comparison between IPv4 Header and IPv6 Header

There are many significant differences between IPv4 header and IPv6 header. Following images are of IPv4 header and IPv6 header format, respectively.

IPv4 header

 

IPv4 datagram header

IPv4 Datagram Header

 

 

IPv6 header

 

IPv6 datagram header

IPv6 Datagram Header

Following are the main differences and comparison between IPv4 header and IPv6 header.

IPv6 header is much simpler than IPv4 header.

• The size of IPv6 header is fixed 40 bytes. The size of IPv4 header can be between 20 to 60 bytes.

• IPv4 addresses are 32-bit binary numbers (represented in decimal number system) and IPv6 addresses are 128-bit binary numbers (represented in hexadecimal number system).

• IPv4 addresses are represented in decimal number system. IPv6 addresses are represented in hexadecimal number system.

• In IPv4 header, the source and destination IPv4 addresses are 32-bit binary numbers. In IPv6 header, the source and destination IPv6 addresses are 128-bit binary numbers.

IPv4 header includes space for IPv4 options. In IPv6 header, we have a similar feature known as extension header. IPv4 datagram headers are normally 20-byte in length. But we can include IPv4 option values also along with an IPv4 header. In IPv6 header we do not have options, but have extension headers.

• The fields in the IPv4 header such as IHL (Internet Header Length), identification, flags are not present in IPv6 header.

Time-to-Live (TTL), a field in IPv4 header, typically used for preventing routing loops, is renamed to its exact meaning, "Hop Limit".

 

Written by Jajish Thomas.
Last updated on 14th May, 2024.

 

Related Tutorials
Limitations of IPv4
IPv6 History and related RFCs
IPv6 Features
Differences Between IPv4 and IPv6
Unicast, Multicast and Anycast - Types of communication in IPv6
IPv6 Datagram Header Format
Introduction to IPv6 Addressing
What is prefix and prefix length in IPv6, Similarity between IPv4 subnet mask and IPv6 prefix
IPv6 Address formats
How to Simplify Shorten and Compress IPv6 Addresses
Types of IPv6 Addresses, Global Unicast, Link-local, Multicast, Anycast, Loopback addresses
Global Unicast IPv6 Addresses, Global Unicast IPv6 Address prefix, format and range
Different methods to assign a Global Unicast IPv6 address to an interface
What are IEEE EUI-64 based Global Unicast IPv6 addresses
How to configure Static Global Unicast IPv6 Address in a Cisco Router Interface
How to configure EUI-64 based Global Unicast IPv6 Address in a Cisco Router Interface
How to configure static Global Unicast IPv6 Address in a Windows Server
What is SLAAC - Stateless Address Auto-configuration in IPv6
How SLAAC works in IPv6
Link Local IPv6 Addresses, How Link Local IPv6 addresses are generated
Unique Local IPv6 Addresses
Multicast IPv6 Address Format, Prefix, Flags and Scope
Anycast IPv6 Addresses
IPv6 Loopback Address and IPv6 Unspecified address
IPv6 Special Addresses and IPv6 well known prefixes
Solicited-Node Multicast IPv6 Address, How Solicited Node Multicast IPv6 Address are generated
ICMPv6 Functions, ICMPv6 Header Packet Format and Types of ICMPv6 messages
Types of ICMPv6 messages, ICMPv6 message format, ICMPv6 message fields
ICMPv6 Error messages
ICMPv6 informational messages
Introduction to Neighbour Discovery Protocol (NDP) and Functions of NDP
NDP (Neighbour Discovery Protocol), functions of NDP, Neighbour Solicitation and Advertisement, Router Solicitation and Advertisement
Router Solicitation and Router Advertisement Messages