ZXR10ZSRV2CongurationGuide(IPv6)
ComparedwithOSPFv2,OSPFv3hasalmostthesameworkingmechanismbuthasalso
revisedOSPFv2tosupporttheIPv6addressformat.Thefollowingsectionsdescribein
detailthesimilaritiesanddifferencesbetweenOSPFv2andOSPFv3.
SimilaritiesBetweenOSPFv3andOSPFv2
OSPFv3hasalmostthesameprotocoldesignconceptandworkingmechanismas
OSPFv2.
lThesamepackettypes:Hello,DD,LinkStatePacket(LSP),LinkStateUpdate(LSU),
LSAckpackets.
lThesameareadivision.
lThesameLSAoodingandsynchronizationmechanisms:Toguaranteethe
correctnessofLink-stateDatabase(LSDB)information,thereliableoodingand
synchronizationofLSAsmustbeguaranteed.
lThesameroutecomputationmethod:BothusetheShortestPathFirst(SPF)
algorithmtocomputeroutes.
lThesamenetworktypes:Bothsupportfournetworktypes,i.e.broadcast,NBMA,
point-to-point,point-to-multipoint.
lThesameneighbordiscoveryandneighborestablishmentmechanisms:Afteran
OSPFrouterisstarted,itsendsaHellopacketviatheOSPFinterfacetoanother
OSPFrouter.UponreceiptoftheHellopacket,thelatterOSPFrouterchecksthe
parametersdenedinthepacket.Iftheparametersinthereceivedpacketarethe
sameasthoseinitsownpacket,adjacencyisestablishedbetweenthetworouters.
Tworoutersinanadjacencyrelationshipdonotnecessarilybecomeneighbors.This
dependsonthenetworktype.Thetworoutersbecomerealneighborsonlywhen
theyhavesuccessfullyexchangedtheDDpacketandtheLSAandtheirLSDBsare
synchronizedwitheachother.
lThesameDRelectionmechanism:TheDRandBDRneedtobeelectedinNBMA
andbroadcastnetworks.
DifferencesBetweenOSPFv3andOSPFv2
TherearedifferencesbetweenOSPFv3andOSPFv2becauseOSPFv3isbasedonIPv6.
lThetopologyofOSPFv3islink-basedwhereasthatofOSPFv2issubnet-based.
IPv6usestheterm"link"todescribethefacilitiesormediumsusedbynodesfor
communicationsoverthelinklayer.Nodesareconnectedwithlinks.MultipleIP
subnetscanbeattachedtothesamelink.TwonodesindifferentIPsubnetscan
communicatewitheachotherdirectlyoverasinglelink.
lAddresssemantemeisdeletedfromOSPFv3.
TheOSPFv3packetcontainsnoIPv6addressexceptfortheLSApayloadcarriedin
alinkstateupdatepacket.TherouterLSAandnetworkLSAdonotcontainnetwork
addressesbutonlyindicatetopologyinformation.TheOSPFrouterIDandtheLSA
IDarereservedas32-bitIPv4addressesandnotassignedwithanyIPv6address.
6-2
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential