Skip to content
We areTOP 1%

What are the main differences between IPv4 and IPv6?

EasyConceptIP Addressing & Subnetting
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

IPv6 is the successor to IPv4, created mainly because IPv4's 32-bit address space (about 4.3 billion addresses) ran out. IPv6 uses 128-bit addresses, about 3.4 × 10^38 of them, enough for every device to have a globally unique address.

FeatureIPv4IPv6
Address size32 bits128 bits
Notationdotted decimal, 192.168.1.10hexadecimal groups, 2001:db8::1
Header20–60 bytes, with checksumfixed 40 bytes, no checksum
Configurationmanual or DHCPautomatic (SLAAC) or DHCPv6
Address resolutionARPNeighbor Discovery
Broadcastyesno; multicast instead
  • With so many addresses, IPv6 does not need NAT to save address space.
  • The two are not directly compatible, so networks run both side by side (dual stack) or use tunnelling and translation during the migration.

Example: The full IPv6 address 2001:0db8:0000:0000:0000:0000:0000:0001 is shortened by dropping leading zeros in each group and replacing one run of all-zero groups with ::, giving 2001:db8::1.

More in IP Addressing & Subnetting

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account