Skip to content
Related Articles

Related Articles

Differences between IPv4 and IPv6

View Discussion
Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 28 Jun, 2022
View Discussion
Improve Article
Save Article

IPv4 and IPv6 are internet protocol version 4 and internet protocol version 6, IP version 6 is the new version of Internet Protocol, which is way better than IP version 4 in terms of complexity and efficiency. 

Difference Between IPv4 and IPv6: 

IPv4 has a 32-bit address lengthIPv6 has a 128-bit address length
It Supports Manual and DHCP address configurationIt supports Auto and renumbering address configuration
In IPv4 end to end, connection integrity is UnachievableIn IPv6 end to end, connection integrity is Achievable
It can generate 4.29×109 address spaceAddress space of IPv6 is quite large it can produce 3.4×1038 address space
The Security feature is dependent on applicationIPSEC is an inbuilt security feature in the IPv6 protocol
Address representation of IPv4 is in decimalAddress Representation of IPv6 is in hexadecimal
Fragmentation performed by Sender and forwarding routersIn IPv6 fragmentation performed only by the sender
In IPv4 Packet flow identification is not availableIn IPv6 packet flow identification are Available and uses the flow label field in the header
In IPv4 checksum field is availableIn IPv6 checksum field is not available
It has broadcast Message Transmission SchemeIn IPv6 multicast and anycast message transmission scheme is available
In IPv4 Encryption and Authentication facility not providedIn IPv6 Encryption and Authentication are provided 
IPv4 has a header of 20-60 bytes.IPv6 has header of 40 bytes fixed 
IPv4 consist of 4 fields which are separated by dot (.)IPv6 consist of 8 fields, which are separated by colon (:)
IPv4’s  IP addresses are divided into five different classes. Class A , Class B, Class C , Class D , Class E.IPv6 does not have any classes of IP address.
IPv4 supports VLSM(Variable Length subnet mask).IPv6 does not support VLSM.
Example of IPv4: of IPv6: 2001:0000:3238:DFE1:0063:0000:0000:FEFB
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!