SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
1 
RFC5340 OSPFv3 for IPv6 
IPv6 For Life 
Fred Bovy 
Villa les 2 Soeurs 
21, Avenue Theirs 
06600 Antibes 
fred@ipv6forlife.com 
twitter fredbovy 
OSPFv3 for IPv6 
Cheat sheet
!2 
1 2 3 
EGP versus IGP 
OSPFv3 is an IGP and it is designed to run 
within an IPv6 Autonomous system, provide a 
maximum of information to build a consistent 
topology of the Autonomous system. 
Scalability is achieved by the use of Area. 
Each area router has a common Topological 
Database. 
Differences in OSPFv3 
• Permit to run 256 instances on the same shared 
media. 
• Security is managed by IPSec and is no longer part 
of OSPF Process. 
• As many addresses can be configured on each link, 
OSPFv3 run per link and not per subnet. 
• OSPF Database has been redesigned with 2 new 
LSAs. One LSA to advertise addresses in an area and 
one LSA to advertise Link-Local Addresses. The Type 
1 and 2 LSA do not carry any more addresses but 
topological addresses only. A new Intra-Area LSAhas 
been introduced to carry these addresses. 
• Two LSA have been renamed with more explicit 
names. 
• Two new bits have been added to Option bits: R-Bit 
and V6-bit. The R-bit allows a router to signal that it 
should not be used in the routing process. The V6-bit 
bit signals that the router is able to carry IPv6 Traffic. 
• MOSPF has been deprecated in OSPFv3. 
Common Characteristics with OSPFv2 
• It runs directly over IPv6 Protocol number 89. 
• The router ID still has the format of an IPv4 address. 
• It uses multicast so non OSPFv3 nodes are not 
impacted by OSPFv3 traffic. 
• Multiaccess networks are optimised with a 
Designated router. 
• No filtering of routing information in an area. Only 
ASBR and ABR can summarise Routes. 
• It still uses multicast addresses: ff02::5, ff02::6. 
Remarks about OSPFv3 design 
Routing is operated with Link-Local addresses. The 
Global addresses are only needed for remote routing for 
user traffic. 
If OSPF is a Link-State routing protocol inside an area, it 
is a Distance-Vector between Area. The Area Border 
Router transmit routes and not Link-states informations. 
Same for ASBR, they transmit External Routes and not 
Link States. This is why 1) ABR should be able to 
summarise routing information between Area.2) It is not 
recommended to redistribute BGP routes into OSPF but 
to run iBGP between routers. Always control with 
routes-maps the routes that you redistribute in OSPF.
HELLO PROTOCOL 
With OSPF exchanges start with Hello and all OSPF 
packets starts with a common headers. 
They are 5 types of packets in OSPF. 
Two routers are sending Hellos using the AllOspfRouters 
Multicast address ff02::5. 
The Finite State Machine for the inteface goes: 
DOWN -> INIT 
During the INIT state they check that the parameters 
found in Hello are compatible. For instance if they are not 
in the same Area or do both not send hello every 10 
seconds, they will not form Neighbour relationship. 
When a router sees its Router-ID in a Neighbour 
advertisement, their states becomes TWO-WAY. 
DR/BDR Election. In addition, they will elect a 
Designated Router and a Backup Designated Router on 
Multipoint, Broadcast or Not, interface. 
They start waiting 40 seconds listening if there are 
already a DR/BDR on this link. Then they compare their 
Router Priority with the Priority of the others received. 
This is not preemptive, if a DR is elected you would not 
replace it either should you have a better priority. With the 
same priority, highest Router ID wins. Priority 0 is 
ineligible. 
The next state is Database synchronisation with Adjacent 
routers. On a Point-to-Point you should be systematically 
adjacent. On a multiaccess you only become adjacent 
with the DR/BDR. This is to avoid that everybody need to 
synchronise with everybody!
EXSTART 
Once, routers are neighbours, they may become adjacent. 
Each router send a DBD with the Master bit set (MS) pretending it is the Master. 
Highest Router-ID wins. 
DBD other bits are: 
I-bit 
The Init bit. When set to 1, this packet is the first in the sequence of Database 
Description packets. 
M-bit 
The More bit. When set to 1, it indicates that more Database Description 
packets are to follow. 
MS-bit 
The Master/Slave bit. When set to 1, it indicates that the router is the master 
during the Database Exchange process. Otherwise, the router is the slave. 
The Master will then be responsible to synchronise the communication. This 
exchange looks like a simple TFTP file transfer. Each router sends its Database, 
LSA Headers for each router to check that it has the latest version for each LSA. 
EXLOAD 
If a LSA is not up to date, the router will send a Link State Request. It's neighbour 
should now reply with a Link-State Reply which will be Acked with a Link State 
Acknowledgement. When both Databases are up to date, the status is now FULL. 
3 2 Packet Length 
Router-ID 
Area-ID 
Checksum 
Instance 
ID 
0 
Database Description Packet 
0 Options 
Interface MTU 0 0 0 0 0 0 I M MS 
DD Sequence Number 
An LSA Header
Other OSPF packets are needed to exchange the 
Database Records called LSA or Link State 
Acknowledgement. 
3 3 Packet Length 
Router-ID 
Area-ID 
Checksum 
Instance 
ID 
0 
Link State Request 
0 LS Type 
Link-State ID 
Advertising Router 
Link-State ID.... 
3 4 Packet Length 
Router-ID 
Area-ID 
Checksum 
Instance 
ID 
0 
Link State Update 
# Link State 
LSAs.... 
3 5 Packet Length 
Router-ID 
Area-ID 
Checksum 
Instance 
ID 
0 
Link State Acknowledgement 
An LSA Header 
LSA Header 
LSA Type 
U S2 S1 LSA Function Code 
U=0 Treat the LSA as if it had link-local flooding scope 
U=1 Store and Flood the LSA as if the type is understood 
S2 S1 Flooding Scope 
0 0 Link-Local Scoping 
0 1 Area Scoping 
1 0 AS Scoping 
1 1 Reserved 
LSA Function Code LS-Type 
1 0x2001 Router-LSA 
2 0x2002 Network-LSA 
3 0x2003 Inter-Area-Prefix-LSA 
4 0x2004 Inter-Area_Router-LSA 
5 0x2005 AS-External-LSA 
6 Deprecated 
7 0x2007 NSSA-LSA 
9 0x2009 Intra-Area-Prefix-LSA 
LS Age LS Type 
Link State ID 
Advertising Router 
LS Sequence Number 
LS Checksum Length
OSPFv3 IPv6 routing protocol cheat sheet
OSPFv3 IPv6 routing protocol cheat sheet

Contenu connexe

Tendances (20)

Cisco discovery drs ent module 6 - v.4 in english.
Cisco discovery   drs ent module 6 - v.4 in english.Cisco discovery   drs ent module 6 - v.4 in english.
Cisco discovery drs ent module 6 - v.4 in english.
 
Is is
Is isIs is
Is is
 
Ospf
OspfOspf
Ospf
 
An intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocolAn intoroduction to the IS-IS IGP routing protocol
An intoroduction to the IS-IS IGP routing protocol
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHING
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
 
Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area Network
 
Ospf
OspfOspf
Ospf
 
IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTING
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTING
 
acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
 
Layer 2 switching loop
Layer 2 switching loopLayer 2 switching loop
Layer 2 switching loop
 
OSPF Network LSA (Type 2 LSA)
OSPF Network LSA (Type 2 LSA)OSPF Network LSA (Type 2 LSA)
OSPF Network LSA (Type 2 LSA)
 
Routing
RoutingRouting
Routing
 
Designated & Backup Designated Router
Designated & Backup Designated RouterDesignated & Backup Designated Router
Designated & Backup Designated Router
 
IS-IS Protocol Addresses
IS-IS Protocol AddressesIS-IS Protocol Addresses
IS-IS Protocol Addresses
 
Examen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en inglesExamen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en ingles
 
OSPF Configuration
OSPF ConfigurationOSPF Configuration
OSPF Configuration
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
 

Similaire à OSPFv3 IPv6 routing protocol cheat sheet

Similaire à OSPFv3 IPv6 routing protocol cheat sheet (20)

Ospfv3 primer
Ospfv3 primerOspfv3 primer
Ospfv3 primer
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
OSPF.pptx
OSPF.pptxOSPF.pptx
OSPF.pptx
 
Ospf routing protocol
Ospf routing protocolOspf routing protocol
Ospf routing protocol
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
 
ch2_p3_ospf.pptx
ch2_p3_ospf.pptxch2_p3_ospf.pptx
ch2_p3_ospf.pptx
 
OSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdfOSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdf
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Dynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPFDynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPF
 
C C N A Day3
C C N A  Day3C C N A  Day3
C C N A Day3
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
CSC427_Week_11.pdf
CSC427_Week_11.pdfCSC427_Week_11.pdf
CSC427_Week_11.pdf
 
Single-Area OSPFv2 Concepts.pdf
Single-Area OSPFv2 Concepts.pdfSingle-Area OSPFv2 Concepts.pdf
Single-Area OSPFv2 Concepts.pdf
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
 
Ospf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationOspf and eigrp concepts and configuration
Ospf and eigrp concepts and configuration
 

Plus de Fred Bovy

Ospfv3 News version 2
Ospfv3 News version 2Ospfv3 News version 2
Ospfv3 News version 2Fred Bovy
 
IPv6 training
IPv6 trainingIPv6 training
IPv6 trainingFred Bovy
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fred Bovy
 
CEFv6 in a nutshell
CEFv6 in a nutshellCEFv6 in a nutshell
CEFv6 in a nutshellFred Bovy
 
Routing ipv6 v3
Routing ipv6 v3Routing ipv6 v3
Routing ipv6 v3Fred Bovy
 
Neighbor discoverydhcp
Neighbor discoverydhcpNeighbor discoverydhcp
Neighbor discoverydhcpFred Bovy
 
Inter as cisco1
Inter as cisco1Inter as cisco1
Inter as cisco1Fred Bovy
 
IPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a NutshellIPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a NutshellFred Bovy
 
I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?Fred Bovy
 
Fred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alphaFred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alphaFred Bovy
 
I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorialFred Bovy
 
Transition to ipv6 cgv6-edited
Transition to ipv6  cgv6-editedTransition to ipv6  cgv6-edited
Transition to ipv6 cgv6-editedFred Bovy
 
Fred bovyresume@2
Fred bovyresume@2Fred bovyresume@2
Fred bovyresume@2Fred Bovy
 
CEFv6 in a nutshell
CEFv6 in a nutshellCEFv6 in a nutshell
CEFv6 in a nutshellFred Bovy
 
Fred explains IPv6
Fred explains IPv6Fred explains IPv6
Fred explains IPv6Fred Bovy
 
Multicast for IPv6
Multicast for IPv6Multicast for IPv6
Multicast for IPv6Fred Bovy
 
Dhcp pd in brief
Dhcp pd in briefDhcp pd in brief
Dhcp pd in briefFred Bovy
 

Plus de Fred Bovy (20)

Ospfv3 News version 2
Ospfv3 News version 2Ospfv3 News version 2
Ospfv3 News version 2
 
IPv6 training
IPv6 trainingIPv6 training
IPv6 training
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0
 
CEFv6 in a nutshell
CEFv6 in a nutshellCEFv6 in a nutshell
CEFv6 in a nutshell
 
Routing ipv6 v3
Routing ipv6 v3Routing ipv6 v3
Routing ipv6 v3
 
Autoconfig
AutoconfigAutoconfig
Autoconfig
 
Neighbor discoverydhcp
Neighbor discoverydhcpNeighbor discoverydhcp
Neighbor discoverydhcp
 
Inter as cisco1
Inter as cisco1Inter as cisco1
Inter as cisco1
 
IPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a NutshellIPv6 in IPv4/MPLS in a Nutshell
IPv6 in IPv4/MPLS in a Nutshell
 
I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?I pv6 better than IPv4 but why ?
I pv6 better than IPv4 but why ?
 
Fred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alphaFred explainsi pv6-v2-alpha
Fred explainsi pv6-v2-alpha
 
Resume
ResumeResume
Resume
 
I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorial
 
Transition to ipv6 cgv6-edited
Transition to ipv6  cgv6-editedTransition to ipv6  cgv6-edited
Transition to ipv6 cgv6-edited
 
Fred bovyresume@2
Fred bovyresume@2Fred bovyresume@2
Fred bovyresume@2
 
CEFv6 in a nutshell
CEFv6 in a nutshellCEFv6 in a nutshell
CEFv6 in a nutshell
 
Fred explains IPv6
Fred explains IPv6Fred explains IPv6
Fred explains IPv6
 
IPv6 tools
IPv6 toolsIPv6 tools
IPv6 tools
 
Multicast for IPv6
Multicast for IPv6Multicast for IPv6
Multicast for IPv6
 
Dhcp pd in brief
Dhcp pd in briefDhcp pd in brief
Dhcp pd in brief
 

Dernier

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptJasonTagapanGulla
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 

Dernier (20)

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Solving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.pptSolving The Right Triangles PowerPoint 2.ppt
Solving The Right Triangles PowerPoint 2.ppt
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 

OSPFv3 IPv6 routing protocol cheat sheet

  • 1. 1 RFC5340 OSPFv3 for IPv6 IPv6 For Life Fred Bovy Villa les 2 Soeurs 21, Avenue Theirs 06600 Antibes fred@ipv6forlife.com twitter fredbovy OSPFv3 for IPv6 Cheat sheet
  • 2. !2 1 2 3 EGP versus IGP OSPFv3 is an IGP and it is designed to run within an IPv6 Autonomous system, provide a maximum of information to build a consistent topology of the Autonomous system. Scalability is achieved by the use of Area. Each area router has a common Topological Database. Differences in OSPFv3 • Permit to run 256 instances on the same shared media. • Security is managed by IPSec and is no longer part of OSPF Process. • As many addresses can be configured on each link, OSPFv3 run per link and not per subnet. • OSPF Database has been redesigned with 2 new LSAs. One LSA to advertise addresses in an area and one LSA to advertise Link-Local Addresses. The Type 1 and 2 LSA do not carry any more addresses but topological addresses only. A new Intra-Area LSAhas been introduced to carry these addresses. • Two LSA have been renamed with more explicit names. • Two new bits have been added to Option bits: R-Bit and V6-bit. The R-bit allows a router to signal that it should not be used in the routing process. The V6-bit bit signals that the router is able to carry IPv6 Traffic. • MOSPF has been deprecated in OSPFv3. Common Characteristics with OSPFv2 • It runs directly over IPv6 Protocol number 89. • The router ID still has the format of an IPv4 address. • It uses multicast so non OSPFv3 nodes are not impacted by OSPFv3 traffic. • Multiaccess networks are optimised with a Designated router. • No filtering of routing information in an area. Only ASBR and ABR can summarise Routes. • It still uses multicast addresses: ff02::5, ff02::6. Remarks about OSPFv3 design Routing is operated with Link-Local addresses. The Global addresses are only needed for remote routing for user traffic. If OSPF is a Link-State routing protocol inside an area, it is a Distance-Vector between Area. The Area Border Router transmit routes and not Link-states informations. Same for ASBR, they transmit External Routes and not Link States. This is why 1) ABR should be able to summarise routing information between Area.2) It is not recommended to redistribute BGP routes into OSPF but to run iBGP between routers. Always control with routes-maps the routes that you redistribute in OSPF.
  • 3. HELLO PROTOCOL With OSPF exchanges start with Hello and all OSPF packets starts with a common headers. They are 5 types of packets in OSPF. Two routers are sending Hellos using the AllOspfRouters Multicast address ff02::5. The Finite State Machine for the inteface goes: DOWN -> INIT During the INIT state they check that the parameters found in Hello are compatible. For instance if they are not in the same Area or do both not send hello every 10 seconds, they will not form Neighbour relationship. When a router sees its Router-ID in a Neighbour advertisement, their states becomes TWO-WAY. DR/BDR Election. In addition, they will elect a Designated Router and a Backup Designated Router on Multipoint, Broadcast or Not, interface. They start waiting 40 seconds listening if there are already a DR/BDR on this link. Then they compare their Router Priority with the Priority of the others received. This is not preemptive, if a DR is elected you would not replace it either should you have a better priority. With the same priority, highest Router ID wins. Priority 0 is ineligible. The next state is Database synchronisation with Adjacent routers. On a Point-to-Point you should be systematically adjacent. On a multiaccess you only become adjacent with the DR/BDR. This is to avoid that everybody need to synchronise with everybody!
  • 4. EXSTART Once, routers are neighbours, they may become adjacent. Each router send a DBD with the Master bit set (MS) pretending it is the Master. Highest Router-ID wins. DBD other bits are: I-bit The Init bit. When set to 1, this packet is the first in the sequence of Database Description packets. M-bit The More bit. When set to 1, it indicates that more Database Description packets are to follow. MS-bit The Master/Slave bit. When set to 1, it indicates that the router is the master during the Database Exchange process. Otherwise, the router is the slave. The Master will then be responsible to synchronise the communication. This exchange looks like a simple TFTP file transfer. Each router sends its Database, LSA Headers for each router to check that it has the latest version for each LSA. EXLOAD If a LSA is not up to date, the router will send a Link State Request. It's neighbour should now reply with a Link-State Reply which will be Acked with a Link State Acknowledgement. When both Databases are up to date, the status is now FULL. 3 2 Packet Length Router-ID Area-ID Checksum Instance ID 0 Database Description Packet 0 Options Interface MTU 0 0 0 0 0 0 I M MS DD Sequence Number An LSA Header
  • 5. Other OSPF packets are needed to exchange the Database Records called LSA or Link State Acknowledgement. 3 3 Packet Length Router-ID Area-ID Checksum Instance ID 0 Link State Request 0 LS Type Link-State ID Advertising Router Link-State ID.... 3 4 Packet Length Router-ID Area-ID Checksum Instance ID 0 Link State Update # Link State LSAs.... 3 5 Packet Length Router-ID Area-ID Checksum Instance ID 0 Link State Acknowledgement An LSA Header LSA Header LSA Type U S2 S1 LSA Function Code U=0 Treat the LSA as if it had link-local flooding scope U=1 Store and Flood the LSA as if the type is understood S2 S1 Flooding Scope 0 0 Link-Local Scoping 0 1 Area Scoping 1 0 AS Scoping 1 1 Reserved LSA Function Code LS-Type 1 0x2001 Router-LSA 2 0x2002 Network-LSA 3 0x2003 Inter-Area-Prefix-LSA 4 0x2004 Inter-Area_Router-LSA 5 0x2005 AS-External-LSA 6 Deprecated 7 0x2007 NSSA-LSA 9 0x2009 Intra-Area-Prefix-LSA LS Age LS Type Link State ID Advertising Router LS Sequence Number LS Checksum Length