CPSA ยท Network protocols and filtering
IPv4, IPv6 and ICMP: what a tester must know
Addressing, header fields, fragmentation, IPv6 differences and ICMP message types a tester meets.
Key points
- IPv4 uses 32-bit addresses, a variable header with a checksum, and routers may fragment packets unless DF is set.
- IPv6 uses 128-bit addresses, a fixed 40-octet header with no checksum, and only the source fragments.
- ICMP carries control and error messages (echo, unreachable, time exceeded, redirect) that testers use for ping sweeps, traceroute and path discovery.
Source: https://www.rfc-editor.org/rfc/rfc8200
Practice questions
Which field present in the IPv4 header was removed from the IPv6 header?
- The header checksum
- The source address
- The time-to-live counter
- The destination address
Show answer
Answer: A. The header checksum
IPv6 dropped the header checksum because link and transport layers already verify integrity. The Hop Limit is just a renamed TTL, and source/destination addresses remain.
Which statements about IPv6 are correct?
- Routers along the path do not fragment packets
- The base header is a fixed 40 octets
- The base header carries a checksum
- The TTL field was renamed Hop Limit
- It does not use any ICMP at all
Show answer
Answer: A. Routers along the path do not fragment packets, B. The base header is a fixed 40 octets, D. The TTL field was renamed Hop Limit
IPv6 has a fixed 40-octet header, only the source node fragments, and TTL became Hop Limit. It has no header checksum, and ICMPv6 is mandatory for operation, not optional.
True or false: IPv6 routers fragment oversized packets in transit, just as IPv4 routers do when DF is clear.
Show answer
Answer: False
False. In IPv6 only the source node fragments; a router that cannot forward a packet drops it and signals the sender with ICMPv6.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
