NetworkTools
Sign In
1Static Routing2Dynamic Routing3OSPF Basics4OSPF Advanced5BGP Basics6BGP Path Selection7NAT8IPv6 Routing
← Back to Routing & IP

Learning Objectives

  • Understand the IPv6 header structure and differences from IPv4
  • Visualize Neighbor Discovery Protocol operation
  • Compare IPv6 routing protocols with their IPv4 counterparts
  • Match IPv6 concepts to their IPv4 equivalents

The IPv6 Header

IPv6 simplifies the packet header to speed up forwarding. Fixed at 40 bytes (compared to IPv4's variable 20-60 bytes), the IPv6 header removes checksums, fragmentation fields, and options — pushing these to extension headers.

IPv6 Packet Header

IPv6
0000│00000000000000000000000000000000│................
0010│00000000000000000000000000000000│................
0020│00000000000000000000000000000000│................
0030│00000000000000000000000000000000│................
0040│00000000000000000000000000000000│................
0050│00000000000000000000000000000000│................
0060│00000000000000000000000000000000│................
0070│00000000000000000000000000000000│................
0080│00000000000000000000000000000000│................
0090│00000000000000000000000000000000│................
00a0│00000000000000000000000000000000│................
00b0│00000000000000000000000000000000│................
00c0│00000000000000000000000000000000│................
00d0│00000000000000000000000000000000│................
00e0│00000000000000000000000000000000│................
00f0│00000000000000000000000000000000│................
0100│00000000000000000000000000000000│................
0110│00000000000000000000000000000000│................
0120│00000000000000000000000000000000│................
0130│00000000000000000000000000000000│................
Version6
4B @ 0
Traffic Class0x00
8B @ 4
Flow Label0x00000
20B @ 12
Payload Length40
16B @ 32
Next Header6 (TCP)
8B @ 48
Hop Limit64
8B @ 56
Source IP2001:db8::1
128B @ 64
Destination IP2001:db8::2
128B @ 192

Key differences from IPv4:

  • No header checksum — Upper layers handle integrity; improves forwarding speed
  • No fragmentation — Hosts use Path MTU Discovery; routers no longer fragment
  • No options — Extension headers replace the variable-length options field
  • Hop Limit replaces TTL — Same function, more accurate name

Neighbor Discovery Protocol (NDP)

IPv6 replaces ARP with Neighbor Discovery Protocol (NDP) , using ICMPv6 messages. NDP handles address resolution, router discovery, and stateless address autoconfiguration (SLAAC).

IPv6 Neighbor Discovery

Host AAll NodesRouterSolicited-Node MCHost B

NDP messages:

  • Router Solicitation (RS) — Hosts request router information
  • Router Advertisement (RA) — Routers advertise prefix, MTU, and default gateway
  • Neighbor Solicitation (NS) — Resolve a neighbor's MAC address (like ARP)
  • Neighbor Advertisement (NA) — Response to NS with MAC address
  • Redirect — Router tells host about a better next-hop

IPv6 Routing Protocols

IPv6 uses the same routing protocols as IPv4, adapted with minor modifications:

| Protocol | IPv4 Version | IPv6 Version | Key Difference | |----------|-------------|-------------|----------------| | OSPFv2 | OSPF for IPv4 | OSPFv3 | Runs on link, not subnet; uses link-local addresses | | BGP-4 | BGP for IPv4 | MP-BGP | New address family: IPv6 unicast | | EIGRP | EIGRP for IPv4 | EIGRP for IPv6 | Similar operation; uses IPv6 transport | | RIP | RIPng | RIP next generation | Same distance-vector approach |

OSPFv3, for example, is nearly identical to OSPFv2 but:

  • Uses link-local addresses for neighbor discovery
  • Removes per-subnet semantics — adjacencies form per-link
  • Carries multiple address families (IPv6 and optionally IPv4)

Match each IPv4 concept to its IPv6 equivalent.

Hints
  • ARP in IPv4 is replaced entirely — no more broadcast-based resolution.
  • IPv6 has no broadcast at all; multicast is used instead.
  • IPv6 removes layer-3 checksums for forwarding efficiency.
Left
matches to
Right
Left
matches to
Right
Left
matches to
Right
Left
matches to
Right
Left
matches to
Right
Left
matches to
Right
Attempts: 0

What happens when an IPv6 packet's Hop Limit reaches 0?

Which IPv6 feature completely eliminates the need for ARP?

Key Takeaways

  • IPv6 header is fixed at 40 bytes with no checksum, no fragmentation, and no options
  • NDP replaces ARP using ICMPv6 messages (RS, RA, NS, NA)
  • All major routing protocols have IPv6 equivalents (OSPFv3, MP-BGP, RIPng)
  • IPv6 eliminates broadcast in favor of multicast and anycast
  • Understanding the IPv4-to-IPv6 mapping is essential for mixed-protocol networks
PreviousNAT