Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

11/23/21, 2:23 PM Differences between IPv4 and IPv6 - GeeksforGeeks

Data Structures Algorithms Interview Preparation Topic-wise Practice C++ Java Python Competitive Programming Machine Learnin

Differences between IPv4 and IPv6


Difficulty Level :
Medium ● Last Updated :
20 Oct, 2021

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 complexit y and ef ficiency. 

Dif ference Between IPv4 and IPv6: 

Attention reader! Don’t stop learning now.  Prac tice GATE exam well before the ac tual exam with the subjec t-

wise and overall quizzes available in GATE Test Series Course.

Learn all GATE C S concept s with Free Live Classes on our youtube channel.

IPv4 IPv6

IPv4 has a 32-bit address length IPv6 has a 128-bit address length

https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/ 1/6
11/23/21, 2:23 PM Differences between IPv4 and IPv6 - GeeksforGeeks

IPv4 IPv6

It Suppor t s Manual and DHCP address It suppor t s Auto and renumbering address configuration

configuration

In IPv4 end to end, connec tion integrit y is In IPv6 end to end, connec tion integrit y is Achievable

Unachievable

9 38
It can generate 4.29×10 address space Address space of IPv6 is quite large it can produce 3.4×10

address space

The Securit y feature is dependent on IP SEC is an inbuilt securit y feature in the IPv6 protocol

application

Address representation of IPv4 is in decimal Address Representation of IPv6 is in hexadecimal

Fragmentation per formed by Sender and In IPv6 fragmentation per formed only by the sender

for warding routers

In IPv4 Packet flow identification is not In IPv6 packet flow identification are Available and uses the flow

available label field in the header

In IPv4 check sum field is available In IPv6 check sum field is not available

https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/ 2/6
11/23/21, 2:23 PM Differences between IPv4 and IPv6 - GeeksforGeeks

IPv4 IPv6

It has broadcast Message Transmission In IPv6 multicast and anycast message transmission scheme is

Scheme available

In IPv4 Encr yption and Authentication facilit y In IPv6 Encr yption and Authentication are provided 

not provided  

IPv4 has a header of 20-60 bytes. IPv6 has header of 40 bytes fixed 

Like 40

Previous Next

Internet Protocol version 6 (IPv6) Differences between TCP and UDP


Header

https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/ 3/6
11/23/21, 2:23 PM Differences between IPv4 and IPv6 - GeeksforGeeks

RECOMMENDED ARTICLES Page : 1 2 3

IPv4 versus IPv6 Geolocation: Accuracy IPv4 Datagram Fragmentation and Delays
01 05
and Other FAQs Answered 06, Jul 15

20, Aug 21

Introduction and IPv4 Datagram Header


06
Transition from IPv4 to IPv6 address 03, Jul 15

02 10, May 19

Program to determine class, Network and


07
IPv6 Addressing Format and Conventions Host ID of an IPv4 address
03 13, Mar 20 28, May 17

IPv6 and DNSSEC: Their Slow adaptation Internet Protocol version 6 (IPv6)
04 10, Jun 21
08 22, Aug 17

Ar ticle Contributed By : Vote for difficulty

Current difficulty :
Medium

Samdare B
@Samdare B Easy Normal Medium Hard Expert

https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/ 4/6
11/23/21, 2:23 PM Differences between IPv4 and IPv6 - GeeksforGeeks

Improved By : rbhardwaj353, abdullahpakistan54321, anshitaagarwal, jaydeepradadiya, tanwarsinghvaibhav


Article Tags : Computer Networks, Difference Between, GATE CS
Practice Tags : Computer Networks

Improve Article Report Issue

Writing code in comment?


Please use ide.geeksforgeeks.org,
generate link and share the link here.

Load Comments

5th Floor, A-118,

Sector-136, Noida, Uttar Pradesh - 201305


feedback@geeksforgeeks.org

C
https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/
L W bD l t C t ib t 5/6
11/23/21, 2:23 PM Differences between IPv4 and IPv6 - GeeksforGeeks
Company Learn Web Development Contribute
About Us Algorithms Web Tutorials Write an Article
Careers Data Structures HTML Write Interview Experience
Privacy Policy Languages CSS Internships
Contact Us CS Subjects JavaScript Videos
Copyright Policy Video Tutorials Bootstrap

@geeksforgeeks
, Some rights reserved

https://www.geeksforgeeks.org/differences-between-ipv4-and-ipv6/ 6/6

You might also like