Skip to main content

Differences of OSPFv3 and OSPFv2


Following are the differences between OSPFv3 and OSPFv2-

1. Removal of addressing semantics:


  • IPv6 addresses are not present in OSPF packets, except in Link-State Update (LSU) packets.
  • Router and Network LSAs do not contain network addresses, but only contains topology information.

    OSPF Router ID, Area ID and Link-State IDs remain at 32-bits size- they cannot be assigned IPv6 addresses.
  • Neighboring routers are identified by Router IDs only.

Differences of OSPFv3 and OSPFv2
OSPF v2


Differences of OSPFv3 and OSPFv2
OSPF v3


2. Addition of Flooding scope:

There are three seperate scopes for flooding LSAs-

    
    Link-local scope - LSA is flooded only on local link and no further. New Link-LSA uses link-local scope.

    Area scope - LSA is flooded in a single OSPF area. Router-LSAs, Network-LSA, Inter-area Prefix-LSAs, Inter-area Router-LSAs and Intra-area Prefix-LSAs use Area scope.


    AS scope - LSA is flooded throughout the routing domain. AS-external LSAs use AS scope.


3. Explicit support for multiple instances per link:

Providers may run different OSPF domains and would like to keep it seperate even though if they have one or more links in common, can use multiple instances on the same link.


If someone wants a single link in more than one area can use multiple instances on the same link.


Multiple instances on the single link can be achieved using "Instance ID" contained in the OSPF packet header.



4. Use of Link-local addresses:

OSPFv3 requires that every interface has a link-local address from the range FE80/10. A router uses the link-local address as next-hop during packet forwarding for the neighbors attached to its links.


On virtual-links, global or site-local addresses are used for packet forwarding.



5. Protocol processing per-link, not per-subnet:

IPv6 uses the term "link" instead of "subnet" or "network" to define a medium used to communicate between nodes at the link layer. Multiple IP subnets can be assigned to a single link, and two nodes can communicate with each other even if they do not share a common IP subnet.


This change affects Hello packets and Network LSAs processing.



6. Packet Format changes:


  • Version number is now 3.
  • No Authentication fields.
  • Options field Hello and DBD packets is now 24-bits long
  • Two option bits, "R" bit and "v6" bit, are added to Options field for processing Router-LSAs during SPF calculation.
  • "Instance ID" is included in Hello packet

7. Authentication changes:

In OSPFv3, Authentication for OSPF has been removed. OSPFv3 relies on IPv6 Authentication Header (AH) and Encapsulating Security Payload (ESP) to ensure integrity and authentication/confidentiality of routing exchanges.


Accidental data corruption is handled by checksum.



8. LSA Format changes:


  • Options field is removed from LSA header, increased to 24-bit and moved to Router-LSAs, Network-LSAs, Inter-area Router-LSAs (Type-4 LSA in OSPFv2) and Link-LSAs.
  • LSA Type field is expanded to 16 bits with upper 3 bits encoding flooding and handling of unknown LSA Types.

  • Addresses in LSAs are now expressed as [prefix, prefix-length]. The default route is expressed as a prefix with length 0.

  • Router and Network LSAs have no address information.

  • Router LSAs are concatenated before SPF is run.

  • New Link-LSA is introduced. They have link-local flooding scope. They have 3

    Purposes:

    a)
    They provide router's link-local address to all neighbors attached to that link.

    b)
    Inform other routers on the link of IPv6 prefixes to associate with the link.

    c)
    They allow the router to assert a collection of Option bits to associate with the Network LSAs that will be originated for the link

  • Type-3 summary LSA is now Inter-area Prefix-LSA and Type-4 summary LSA is now Inter-area Router-LSA.

  • New Intra-area Prefix-LSA is introduced. It carries all IPv6 prefix information that in IPv4 is carried in Router and Network LSAs.


9. Stub Area support:

Stub area support has been retained in OSPFv3. Only Router-LSAs, Network-LSAs, Inter-area Prefix-LSAs, Intra-area Prefix-LSAs and Link-LSAs are allowed in a Stub area.


Unknown LSAs are labelled as "Store and Flood LSAs" as if type understood under following conditions-


a) the LSA has area or link-local flooding scope


b)
the LSA has U-bit set to 0.



10. Handling Unknown LSA Types:

Unknown LSA Types are either treated as having link-local flooding scope, or stored and flooded as if they were understood.



11. Identifying neighbors by Router ID:

Neighboring routers on a given link are always identified by a Router ID. This behaviour is valid for neighbors on point-to-point, virtual-links, broadcast, NBMA and point-to-multipoint links.


Router ID 0.0.0.0 is reserved.





Comments

Popular posts from this blog

How to Reset Steam Password? – Recover Your Steam Password

Are you suffering with Reset Steam Password? This blog will help you. What is Steam? Steam is the online website for getting the best games for paid. If you are a true game lover then you should have an active account on Steam. Many of people lost their password during the  PC clean-up  or any other circumstances. At that time they have to reset Password of all accounts. Then if you facing issues with the password, you forced to Steam reset password to access the Steam account. We are going to share the guide that how to recover your forgotten Steam Password and make your existing account ready. First of all, you should have enough knowledge about what is Steam and why Steam Account required? Why Steam Account Requires? Before jump into password recovery and Login details, let me clear about why Steam Account required? There are several benefits of this Steam Account from where you can easily download PC games as well as software. Though it will be p...

What is STP? - Explain Advantages and Disadvantages

The Spanning Tree Protocol is a network protocol that builds a loop-free logical topology for Ethernet networks. The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. STP is a protocol. It actively monitors all links of the network. To finds a redundant link, it uses an algorithm, known as the STA (spanning-tree algorithm). The STA algorithm first creates a topology database then it finds and disables the redundant links. Once redundant links are disabled, only the STP-chosen links remain active. If a new link is added or an existing link is removed, the STP re-runs the STA algorithm and re-adjusts all links to reflect the change. STP (Spanning Tree Protocol) automatically removes layer 2 switching loops by shutting down the redundant links. A redundant link is an additional link between two switches. A redundant link is usually created for backup purposes. Just like every coin has two sides, a redundant link, along with...