Skip to content

Instantly share code, notes, and snippets.

@pragyaasapkota
Last active January 7, 2023 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pragyaasapkota/901308cb4c6de240a6827e973fe32532 to your computer and use it in GitHub Desktop.
Save pragyaasapkota/901308cb4c6de240a6827e973fe32532 to your computer and use it in GitHub Desktop.
IPv4 Vs. IPv6
Factors IPv4 IPv6
Deployment Date 1981 1998
Address Length 32-bit (4 bytes) 128-bit (16 bytes)
Address Space 4.29×10^9 3.4×10^38
Address Representation Dot-decimal Alphanumeric Hexadecimal
Required Bytes 576 1280
Header 20-60 bytes 40 bytes fixed
IPSec Optional – depends on application Inbuilt IPSec
Connection Integrity Unachievable Achievable
Configuration DHCP (Dynamic Host Configuration Protocol) and Manual Auto and renumbering
Checksum Available Not available
Packet Fragmentation Routers and sending hosts Sending hosts
Packet Flow Identification Not available Available (also uses the flow label field in header)
Encryption and authentication facility Absent Present
IP to MAC Broadcast Message Transmission Scheme [Broadcast ARP] Multicast and anycast message transmission scheme [Multicast Solicitation Neighbor]
Conversion Can be converted to IPv6 Only a few can be converted to IPv4
Fields Count Four fields separated by dot (.) Eight fields separated by colon (:)
Variable Length Subnet Mask (VLSM) Supports VLSM Doesn’t support VLSM
Local Subnet Management Group Internet Group Management Protocol (ICMP) Multicast Listener Discovery (MLD)
Address Reuse Addresses must be reused and masked. Every device can have unique address.
DNS Records Pointer (PTR) records + IN-ADDR + ARPA DNS Domain Pointer (PTR) records + IP6.ARPA DNS Domain
Class Five classes - [Class A + Class B + Class C + Class D + Class E] No classes
Example 192.22.181.111 3111:0000:2928:dfei:0057:0000:0000:fefb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment