Skip to main content

IPv4 problems, IPv6 fixes, transition

Short answer

IPv4 problems: address exhaustion, large routing tables, NAT breaking end-to-end, complex variable header, no built-in security/QoS, manual config. IPv6 solves with 128-bit addresses, hierarchical aggregation, no NAT needed, fixed header no checksum, IPsec/flow labels, SLAAC. Transition: dual stack, tunneling, header translation.

What are the problems of IPv4? How does IPv6 reduce these problems? Explain different strategies to transit from IPv4 to IPv6.

Problems of IPv4

  1. Address exhaustion: 32-bit addresses give only about 4.3 billion addresses.
  2. Large routing tables because of poor address aggregation.
  3. NAT is needed to share addresses, which breaks end-to-end communication.
  4. Complex variable-length header (20 to 60 bytes) with a checksum recomputed at each router.
  5. No built-in security or QoS; IPsec optional, ToS rarely used.
  6. Manual or DHCP configuration only; weak mobility support.

How IPv6 reduces them

ProblemIPv6 answer
Few addresses128-bit addresses, 2¹²⁸ ≈ 3.4 × 10³⁸
Large routing tablesHierarchical address allocation, aggregation
NATNot needed; global address for every device
Complex headerFixed 40-byte header, no checksum, no router fragmentation
Security and QoSIPsec headers (AH/ESP) built in; traffic class and flow label
ConfigurationStateless auto-configuration, neighbour discovery

Strategies to move from IPv4 to IPv6

  1. Dual stack: hosts and routers run both IPv4 and IPv6 at once; DNS decides (AAAA or A record).
  2. Tunneling: the IPv6 packet is encapsulated in an IPv4 packet (protocol 41) to cross an IPv4 network.
IPv6 net --[R1]====IPv4 network====[R2]-- IPv6 net
           IPv6 in IPv4 packet
  1. Header translation: a gateway converts IPv6 headers to IPv4 headers (and back) when an IPv6-only host talks to an IPv4-only host (NAT64).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Networks and Security chapter 7 questions →