OSPFv3 (Open Shortest Path First Version 3)


OSPFv3 is a new version of OSPF protocol that is developed for IPv6. The previous version, OSPFv2 was only used for IPv4. With the IPv6 revolution, routing protocols have also changed and new versions of routing protocols developed. OSPFv3 is one of the routing protocols developed for IPv6. In this lesson we will talk about OSPFv3 vs OSPFv2.


Mainly OSPFv3 is similar to the previous version of OSPF, OSPFv2. But in details, there are some differences in OSPFv2. Here, we will talk about OSPFv2 and OSPFv3 together by doing a comparison between these protocols also. You can also visit Configuration lessons to learn How to Configure OSPFv3 or How to Configure OSPFv2.



Similarities of OSPFv3 and OSPFv2


As you know OSPFv3 and OSPFv2 are the two versions of OSPF protocol. So, they have some common characteristic. Here to learn OSPFv3 vs OSPFv2, firstly, we will talk about the Similarities of these two protocol versions.


Here are the similarities of OSPFv3 and OSPFv2:


  • OSPFv3 and OSPFv2 are both use SPF algorithm for Route Calculation.
  • OSPFv3 and OSPFv2 are both support Hierachical Areas.
  • OSPFv3 and OSPFv2 have similar Neighbour Discovery and Adjacency mechanism.
  • DR/ BDR Election exist in both OSPFv3 and OSPFv2.
  • OSPFv3 and OSPFv2 support different Interface Types like “P2P”, “P2M”, “Broadcast”, “NBMA”, “Virtual”.
  • OSPFv3 and OSPFv2 have 5 Packet Types like “Hello”,”DD”, “LSA”, “LSU”, “LSAck”.
  • OSPFv3 and OSPFv2 have almost Identical LSA Types (7 LSA types are same).
  • OSPFv3 and OSPFv2 support LSA Flooding and Aging.


Basically OSPFv2 and OSPFv3 are same, especially for main characteristics. With OPSFv3, only some extensions are coming. Let’s talk about these enhncements by checking the difference of these two protocols.



Differences of OSPFv3 and OSPFv2

After similarities, lets talk about the differences related with OSPFv3 vs OSPFv2.




OSPFv3 Supports IPv6


OSPFv3 is the OSPF version that supports IPv6. OSPFv3 advertises IPv6 routes. The previous version of OSPF, OSPFv2 is advertise IPv4 only.



OSPFv3 runs on Links Instead Networks


In OSPFv2, the OSPF process runs on the networks. But in OSPFv3, OSPF process runs on the links instead of network or in other words subnets. Remember, during OSPFv2 configuration, we were adding the networks/subnets under OSPF process. In OSPFv3, we are not adding networks/subnets under the OSPF process . Instead, we are adding the links to the OSPF network.


In a single link, we can use multiple subnets. One more thing, in OSPFv3 we do not need to share a common subnet for the communication of two nodes. And there is no need for Network mask to form adjaceny. OSPFv3 adjaceny is established over link local addresses.



OSPFv3 LSA Types

In OSPFv2 there were seven basic LSA types. In OSPFv3, these seven LSA types are being used too. But here, OSPF Type 3 and Type 4 LSAs has different roles and names. OSPF Type 3 LSA is now called inter-area-prefix-LSA and OSPF Type 4 LSA is now called inter-area-router-LSA.


Beside these seven LSA types, with OSPFv3 additional two LSA types are coming. “Link LSA” and “Intra-Area Prefix LSA” is these two new LSA types.


ospfv2 versus ospfv3 LSAs


The aim of “Link LSA” is notifying link-local addresses, informing other routers attached to this link and allow the router to assert the collection of option bits for the association with the network LSA of this link. Link LSA is originated by the router for each link that it is attached.This LSA is in link-local scope, so it is never flooded.




The “Intra-Area Prefix” LSA is used for advertising IPv6 prefixes associated with the router, and attached stub or transit network.



OSPFv3 Flooding Scope


The two bit of the LSAs indicates “Flooding Scopes“. These bits are called “S bits“. What are these flooding scopes? Flooding Scopes used in OSPFv3 are listed below:


  • Link-Local Scope
  • Area Scope
  • Autonomous System Scop

Lesson tags: ospf, IPv6, OSPFv3, routing
Back to: HCNA > OSPF

Leave a Reply

Your email address will not be published. Required fields are marked *