04-18-2012 12:55 AM - edited 03-01-2019 04:48 PM
This document outlines few comparisons of OSPFv3 and OSPFv2 Routing Protocol. OSPFv3 has few similarities with that of IPv4 version i.e. OSPFv2 in some ways, like Packet Type, Interface Type, Neighbor Discovery Pattern, LSA flooding & aging.
>Protocol processing per-link, not per-subnet
>Removal of addressing semantics
>Addition of Flooding scope
>Explicit support for multiple instances per link
>Use of IPv6 link-local addresses
>Authentication method changes
>Packet format, LSA’s header format changes
>Handling of unknown LSA types
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.
OSPFv3 Packet TypeOSPFv3 Interface Type
Type 1 - Hello | P2P |
Type 2 - Database Description | P2MP |
Type 3 - Link State Request | Broadcast |
Type 4 - Link State Update | NBMA |
Type 5 - Link State Acknowledgement | Virtual |
FieldOSPFv3OSPFv2
Header Size | 16 Bytes | 24 Bytes |
Router & Area ID | 32 Bit | 32 Bit |
Instance ID | Yes | No |
Authentication | IP Sec | Interface Specific and Entire Area |
Note: In OSPFv3, Instance ID is a new field that is used to have multiple OSPF process’ instance per link. By default it is 0 and for any additional instance it is increased, instance ID has local link significance only. OSPFv3 routers will only become neighbors if the instanceIDs match. It is thus possible to have multiple routers on a broadcast domain and all run Ospfv3 but not all of them becoming neighbours.
Note: Interface ID is a 32-bit number uniquely identify an interface, virtual link gets its own interface ID.
Multicast AddressOSPFv3OSPFv2
All-SPF Routers | FF02::5 | 224.0.0.5 |
All-DR Routers | FF02::6 | 224.0.0.6 |
Note: Intra-Area Prefix LSA is a new LSA in OSPFv3 and used in order to advertise one or more IPv6 prefixes. In OSPFv2 the intera-area prefix information was carried in the router and network LSA's (Type 1 & 2).
Instance ID is a new field that is used to have multiple OSPF process instance per link. In order for 2 instances talk to each other they need to have the same instance ID. By default it is 0 and for any additionalinstance it is increased, Instance ID has local link significance only.
OSPFv2 authentication is achieved by implementing a shared secret and MD5 HMAC supported as part of the OSPFv2 protocol. OSPFv3 does away its own support for authentication entirely, instead relying on the more flexible IPsec framework offered by IPv6.
Nice document. From the top of my head. Hope I don't do mistake since I did not verified what I am writing as it comes to my mind...
1) Instances.
Now you can have 16 instances of separate OSPFv3 processes on the same link which do not see each other. Like EIGRP with different AS numbers
2) Authentification.
Since IPv6 relies on IPSec, Authentication has been removed from OSPFv2 and is now performed by IPSec. Encryption is also possible then as it is IPSec.
IPSec when used with IKE is better than plain MD5 as it is able to change the key when Lifetime expires which is good as we know that if we can snifff enough packet (4 Giga) we can break a key!
3) LSAs
2 new LSAs and 2 renamed LSAs
New LSAs
- Link-Local LSA (type 8) which have link flooding scope (new) to advertize the link-local addresses
- Intra Area LSA. Since now the Router and Network LSAs do not carry prefixes but only topological information. So this new type advertize the prefixes which have an Area Flooding scope.
Renamed LSA
- Summary LSA (type 3) is now Inter-Area Prefix LSA The LSAs generated by the ABR to annnouce the routes to the neighbor Area as a Distance-Vector would do... They have a domain flooding scope
- ASBR LSA (type 4) is now Inter-Area Router LSA. The LSA which are advertized by ASBR for the routers to compute the path to External Routes advertized in External LSA type 5 (E1 or E2 depending if the router only consider the external cost E2 or add the cost to reach the ASBR + the cost of the external route which is E1)
Multicast Addresses are just transposed as FF02::x is equivalent to 224.0.0.x !
This is not really a difference. 224.0.0.5 becomes FF02::5 and 224.0.0.6 becomre FF02::6!
Cheers,
Fred
Frederic,
Thanks for all the inputs. Please feel free to update as and when required.
Regards,
Sunil.
Good overview!
But:
Note: Intra-Area Prefix LSA is a new LSA in OSPFv3 and used in order to advertise one or more IPv6 prefixes. In OSPFv2 the intera-area prefix information was carried in the router and network LSA's (Type 1 & 2).
I suppose you wanted to say 'intra-area' there?
Hi Sunil,
Is it possible if you can share the above mentioned doc as PDF file.
It will be very helpful for me ..
Appreciate response.
Hi Sunil,
The Soft copy of the above provided documnet will be very helpful.
Kindly provide if its avialable with you.
Thanks and Regards
Chirantan P. Chaudhary
thanks sir,
it is very useful.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: