IPv6
IPv6 is the network-layer protocol that addresses interfaces and carries packets across interconnected networks. It expands the address space beyond IPv4 and changes how hosts discover neighbors, configure addresses, and handle packet size.
itNetworking | OpenSkills.info
Course pathWalk it in order
Look it upDip in anytime
Go furtherLeaves this page
Intro
IPv6
IPv6 moves packets across interconnected networks. It gives each packet a source address, a destination address, and enough control information for routers to forward it. It does not guarantee delivery, restore lost packets, or preserve order.
IPv6 succeeds IPv4 at the network layer. The two protocols serve the same basic role, but IPv6 is not IPv4 with longer notation. It uses 128-bit addresses, a different base header, ICMPv6-based Neighbor Discovery, and source-only fragmentation.
Start with one packet
An IPv6 packet contains a fixed-format base header followed by a payload. The payload can begin with an extension header or an upper-layer protocol such as TCP, UDP, or ICMPv6.
The base header contains:
- Version, traffic class, and flow label
- Payload length
- Next header
- Hop limit
- A 128-bit source address
- A 128-bit destination address
The base header is 40 octets. It has no header checksum. The next-header value identifies either another IPv6 header or the upper-layer protocol that follows.
Extension headers carry optional internet-layer information. A node follows the next-header chain to interpret them. Not every device processes every extension header. The destination node normally handles them, with defined exceptions such as Hop-by-Hop Options.
Read addresses as hexadecimal groups
An IPv6 address has eight 16-bit fields in its full text form. Each field uses hexadecimal.
Continue the course
This section is part of the paid course.
See pricing to subscribe, or log in if you already have access.
Where this skill leads
Relevant careers
See how this topic contributes to broader role-level skill maps.
Sources
- https://www.rfc-editor.org/rfc/rfc8200.html
Supports
- IPv6 connectionless packet delivery and protocol layering
- The 40-octet base header, fields, and absence of a header checksum
- Extension-header chaining and processing
- 128-bit source and destination addresses
- Hop Limit processing and source-only fragmentation
- https://www.rfc-editor.org/rfc/rfc4291.html
Supports
- IPv6 address and prefix text forms
- Unicast, anycast, and multicast delivery types
- Absence of broadcast
- Unspecified, loopback, link-local, anycast, and multicast behavior
- Multiple addresses and scopes on an interface
- https://www.rfc-editor.org/rfc/rfc5952.html
Supports
- Leading-zero suppression
- Longest-run zero compression and tie handling
- Lowercase preferred output
- Avoidance of double-colon compression for one zero field
- https://www.rfc-editor.org/rfc/rfc4861.html
Supports
- Router and prefix discovery
- Address resolution and Neighbor Unreachability Detection
- Router Solicitation, Router Advertisement, Neighbor Solicitation, Neighbor Advertisement, and Redirect
- On-link decisions and default-router selection
- ICMPv6 as the carrier for Neighbor Discovery
- https://www.rfc-editor.org/rfc/rfc4862.html
Supports
- Link-local and larger-scope address formation
- Duplicate Address Detection
- Router Advertisement processing for SLAAC
- Tentative, preferred, deprecated, and invalid address states
- Coexistence of SLAAC and DHCPv6
- https://www.rfc-editor.org/rfc/rfc7421.html
Supports
- The operational and architectural role of the 64-bit subnet boundary
- Exceptions that require checking link-specific standards
- https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
Supports
- Current special-purpose prefixes and defining RFCs
- Source, destination, forwarding, and global-reachability properties
- Unique-local and documentation prefix assignments
- https://www.iana.org/assignments/ipv6-multicast-addresses/ipv6-multicast-addresses.xhtml
Supports
- Current IPv6 multicast prefix and assignment registry
- https://www.rfc-editor.org/rfc/rfc8201.html
Supports
- Path MTU as the minimum link MTU along a path
- Packet Too Big handling and reported MTU
- Source packet-size adjustment
- https://www.rfc-editor.org/rfc/rfc4890.html
Supports
- ICMPv6 messages required for correct IPv6 operation
- Risks of indiscriminate ICMPv6 blocking
- Message-aware firewall guidance
- https://www.rfc-editor.org/rfc/rfc3596.html
Supports
- AAAA records and 128-bit IPv6 addresses in DNS
- https://www.rfc-editor.org/rfc/rfc6724.html
Supports
- Source and destination address selection
- Ordering IPv6 and IPv4 destinations in dual-stack implementations
- Administrator-configurable selection policy
- Trying suitable alternatives when a connection fails
- https://github.com/sindresorhus/awesome
Supports
- Discovery of the PCAPTools networking list
- https://github.com/caesar0301/awesome-pcaptools
Supports
- Discovery of Wireshark, Scapy, and Ostinato as packet inspection and packet-crafting tools
- https://www.wireshark.org/docs/wsug_html/
Supports
- Live capture and capture-file workflows
- Packet details, packet bytes, and display filters
- https://www.wireshark.org/docs/dfref/i/ipv6.html
Supports
- IPv6 protocol fields available for packet display filtering
- https://scapy.readthedocs.io/en/latest/usage.html
Supports
- Interactive packet construction, sending, capture, and protocol-layer manipulation
- IPv6 packet-layer examples
- https://ostinato.org/docs/
Supports
- Graphical packet crafting and repeatable traffic-stream generation
