Hey there,
Open Shortest Path First Version 3 (OSPFv3) is a link state routing protocol. Unlike OSPFv2, which supports IPv4, the original implementation of OSPFv3 supports IPv6 (unicast only). With the introduction of OSPFv3 support for address families (AFs), OSPFv3 now can support IPv4 unicast address families.
| S.NO | OSPFV2 | OSPFV3 |
|---|
| 1. | OSPFv2 is the IPv4’s OSPF version. | While OSPFv3 is the IPv6’s OSPF version. |
| 2. | The header size of OSPFv2 is 24 bytes. | While the header size of OSPFv2 is 16 bytes. |
| 3. | OSPFv2 have seven link-state advertisement. | OSPFv3 have nine link-state advertisement. |
| 4. | There is only one instance per link, in OSPFv2. | While there are many instances per link, in OSPFv3. |
| 5. | In OSPFv2, many OSPF instances per interface are not supported. | Whereas in OSPFv3, many OSPF instances per interface are supported. |
| 6. | There is no flooding space in OSPFV2. | While there is present flooding space in OSPFv3. |
| 7. | OSPFv2 runs on subnets rather than links. | While OSPFv3 runs on links rather than subnets. |
| 8. | Need network mask for adjacency formation. | Doesn’t need network mask for adjacency formation. |
| 9. | MD5 Hashing is used for Authentication. | IPSec is used for Authentication. |
| 10. | Nodes from different subnets can’t communicate. | Nodes from different subnets can communicate. |
Hope this help