DEV Community

Cover image for IPv4 Vs. IPv6
Pragya Sapkota
Pragya Sapkota

Posted on • Originally published at Medium

IPv4 Vs. IPv6

Previously, we talked about IP addresses, their types, and the versions here. Now, we will see the differences between the two versions of IP addresses — IPv4 and IPv6.

In the table of the difference between IPv4 and IPv6 presented below, we will discuss around 22 differences including deployment date, address space, checksum, conversion, Variable Length Subnet Mask (VLSM), DNS Records, example, and so on.

Let’s see all of them in one table.

S.N. Factors IPv4 IPv6
1. Deployment Date 1981 1998
2. Address Length 32-bit (4 bytes) 128-bit (16 bytes)
3. Address Space 4.29×10^9 3.4×10^38
4. Address Representation Dot-decimal Alphanumeric Hexadecimal
5. Required Bytes 576 1280
6. Header 20-60 bytes 40 bytes fixed
7. IPSec Optional – depends on application Inbuilt IPSec
8. Connection Integrity Unachievable Achievable
9. Configuration DHCP (Dynamic Host Configuration Protocol) and Manual Auto and renumbering
10. Checksum Available Not available
11. Packet Fragmentation Routers and sending hosts Sending hosts
12. Packet Flow Identification Not available Available (also uses the flow label field in header)
13. Encryption and authentication facility Absent Present
14. IP to MAC Broadcast Message Transmission Scheme [Broadcast ARP] Multicast and anycast message transmission scheme [Multicast Solicitation Neighbor]
15. Conversion Can be converted to IPv6 Only a few can be converted to IPv4
16. Fields Count Four fields separated by dot (.) Eight fields separated by colon (:)
17. Variable Length Subnet Mask (VLSM) Supports VLSM Doesn’t support VLSM
18. Local Subnet Management Group Internet Group Management Protocol (ICMP) Multicast Listener Discovery (MLD)
19. Address Reuse Addresses must be reused and masked. Every device can have unique address.
20. DNS Records Pointer (PTR) records + IN-ADDR + ARPA DNS Domain Pointer (PTR) records + IP6.ARPA DNS Domain
21. Class Five classes - [Class A, Class B, Class C, Class D, Class E] No classes
22. Example 192.22.181.111 3111:0000:2928:dfei:0057:0000:0000:fefb

Note: — The raw version of the table is available publicly on GitHub gist. Please click the Difference.csv in the bottom left side of the table if you want to take a look at it.

GitHub logo pragyaasapkota / System-Design-Concepts

Though the concepts of system design might be tricky, let's see them individually to their core concepts and have a better understanding.

System Design

Systems design is the process of defining elements of a system like modules, architecture, components and their interfaces and data for a system based on the specified requirements.

This is a index for the concepts of system.

If you wish to open these in a new tab, Press CTRL+click

I hope this article was helpful to you.

Please don’t forget to follow me!!!

Any kind of feedback or comment is welcome!!!

Thank you for your time and support!!!!

Keep Reading!! Keep Learning!!!

Top comments (0)