Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OSPFv3

Uses IPv6 Next Header 89.

OSPFv3 supports IPv4, as an additional address family.

Multicast Addresses

  • ff02::5
  • ff02::6

Packet types

TypeNameShort NamePurpose
1HelloHelloOSPFv2 puts the neighbor ID into it’s hello messages
2Database DescriptionDBD/DDPA LSA that contains LSA headers, “I have these LSAs”
3LS RequestLSRRequesting a specific LSA
4LS UpdateLSUSend a specific LSA
5LS AcknowledgmentLSAckAcknowledging a specific LSA

LSA types

TypeRouteRFC NamePurposeDescription
0x2001ORouter-LSAinterfaces/links on a routerFlooded single area; never crosses area boundary
0x2002ONetwork-LSArouters on a segmentFlooded single area; DR-only; omitted if no DR elected
0x2003O IASummary-LSAnetworks in other areasABRs send these to describe routes to networks
0x2004E1, E2Summary-LSAnext-hop to an ASBRABRs send these to provide reachability for ASBRs
0x4005E1, E2AS-External-LSAroutes to E1 or E2 networksASBRs send these to describe routes to an AS
0x2006
0x2007N1, N2NSSA-LSAroutes to N1 or N2 networksNSSA ASBRs send these; converted to Type 5 at ABR
0x0008Link-LSAlink-local address + prefixEach link creates a link LSA
0x2009OIntra-Area-Prefix-LSAIPv6 prefixes within an areaTies prefixes to 0x2001 or 0x2002 LSAs

Interop

OSPFv3 supports v4 and v6.

Exactly one mode has working interop.

R1 ConfigurationR2 ConfigurationAdjacency?
router ospfv3 / IPv6 AFipv6 router ospfYes
router ospfv3 / IPv6 AFrouter ospfNo
router ospfv3 / IPv4 AFrouter ospfNo
router ospfv3 / IPv6 AFrouter ospfv3 / IPv4 AFNo
router ospfv3 / IPv4 AFipv6 router ospfNo
ipv6 router ospfrouter ospfNo

Courtesy of BRKIPV-2418.

Config

Legacy

interface Gi1
  ip address 10.0.0.1 255.255.255.0
  ipv6 address fe80::1 link-local
  ipv6 ospf 1 area 0
!
ipv6 router ospf 1

Address family

interface Gi1
  ip address 10.0.0.2 255.255.255.0
  ipv6 address fe80::2 link-local
  ospfv3 1 ipv6 area 0
!
router ospfv3 1
!
! Address family part
!
address-family ipv6 unicast

Authentication Trailer

key chain keys
  key 1
    key-string CiscoLive
      cryptographic-algorithm hmac-sha-512
!
interface Gi1
  ospfv3 1 ipv6 authentication key-chain keys

OSPFv3 IPv4 AFI does not support virtual links.

References

Cisco Live - Deploying IPv6 Routing Protocols - Peter Palúch

RFC 5340: OSPF for IPv6 | RFC Editor

Last Modified • Saturday, June 27, 2026. 11:45 pm UTC+00:00 • Commit: 4314778