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 and IPv6 addresses are 128-bit binary numbers.

• IPv4 addresses are represented in decimal numbers. IPv6 addresses are represented in hexadecimal numbers.

• 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 it's exact meaning, "Hop Limit".

 

Written by Jajish Thomas.
Last updated on 2nd September, 2023.

 

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
Comparison between IPv4 Header and IPv6 Header
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