SlideShare a Scribd company logo
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
Osp fv3 cs
Osp fv3 cs

More Related Content

What's hot

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.igede tirtanata
 
Ospf
OspfOspf
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 protocolIftach Ian Amit
 
LAYER 2 SWITCHING
LAYER 2 SWITCHINGLAYER 2 SWITCHING
LAYER 2 SWITCHING
anilinvns
 
Day 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHINGDay 4 LAYER 2 SWITCHING
Day 4 LAYER 2 SWITCHING
anilinvns
 
Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area Network
Atakan ATAK
 
Ospf
OspfOspf
IP ROUTING
IP ROUTINGIP ROUTING
IP ROUTING
anilinvns
 
Day 2 IP ROUTING
Day 2 IP ROUTINGDay 2 IP ROUTING
Day 2 IP ROUTING
anilinvns
 
acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
Sleek International
 
Layer 2 switching loop
Layer 2 switching loopLayer 2 switching loop
Layer 2 switching loop
NetProtocol Xpert
 
OSPF Network LSA (Type 2 LSA)
OSPF Network LSA (Type 2 LSA)OSPF Network LSA (Type 2 LSA)
OSPF Network LSA (Type 2 LSA)
NetProtocol Xpert
 
Designated & Backup Designated Router
Designated & Backup Designated RouterDesignated & Backup Designated Router
Designated & Backup Designated Router
NetProtocol Xpert
 
IS-IS Protocol Addresses
IS-IS Protocol AddressesIS-IS Protocol Addresses
IS-IS Protocol Addresses
NetProtocol Xpert
 
Examen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en inglesExamen ccna capitulo 6 en ingles
Examen ccna capitulo 6 en ingles
Carlos Galviz Sanchez
 
OSPF Configuration
OSPF ConfigurationOSPF Configuration
OSPF Configuration
NetProtocol Xpert
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
Reetesh Gupta
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
NetProtocol Xpert
 

What's hot (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
 

Similar to Osp fv3 cs

Ospfv3 primer
Ospfv3 primerOspfv3 primer
Ospfv3 primer
Fred Bovy
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
sarasanandam
 
OSPF.pptx
OSPF.pptxOSPF.pptx
OSPF.pptx
Atakan ATAK
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
Atakan ATAK
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
Respa Peter
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
Ann Joseph
 
OSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdfOSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdf
Denis Rasskazov
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
Sachin Morya
 
Dynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPFDynamic Routing Protocol OSPF
Dynamic Routing Protocol OSPF
Atakan ATAK
 
C C N A Day3
C C N A  Day3C C N A  Day3
C C N A Day3
darulquthni
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
AIRTEL
 
CSC427_Week_11.pdf
CSC427_Week_11.pdfCSC427_Week_11.pdf
CSC427_Week_11.pdf
muazumuhammad6
 
Single-Area OSPFv2 Concepts.pdf
Single-Area OSPFv2 Concepts.pdfSingle-Area OSPFv2 Concepts.pdf
Single-Area OSPFv2 Concepts.pdf
Zulkarman Syafrin
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
NetProtocol Xpert
 
Ospf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationOspf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationIT Tech
 

Similar to Osp fv3 cs (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
Ccna day3Ccna day3
Ccna day3
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
 
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
 

More from Fred Bovy

Ospfv3 News version 2
Ospfv3 News version 2Ospfv3 News version 2
Ospfv3 News version 2
Fred Bovy
 
IPv6 training
IPv6 trainingIPv6 training
IPv6 training
Fred Bovy
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0
Fred Bovy
 
CEFv6 in a nutshell
CEFv6 in a nutshellCEFv6 in a nutshell
CEFv6 in a nutshell
Fred Bovy
 
Routing ipv6 v3
Routing ipv6 v3Routing ipv6 v3
Routing ipv6 v3
Fred Bovy
 
Autoconfig
AutoconfigAutoconfig
Autoconfig
Fred 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 Nutshell
Fred 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@2
Fred Bovy
 
CEFv6 in a nutshell
CEFv6 in a nutshellCEFv6 in a nutshell
CEFv6 in a nutshell
Fred Bovy
 
Fred explains IPv6
Fred explains IPv6Fred explains IPv6
Fred explains IPv6
Fred Bovy
 
IPv6 tools
IPv6 toolsIPv6 tools
IPv6 tools
Fred Bovy
 
Multicast for IPv6
Multicast for IPv6Multicast for IPv6
Multicast for IPv6
Fred Bovy
 
Dhcp pd in brief
Dhcp pd in briefDhcp pd in brief
Dhcp pd in brief
Fred Bovy
 

More from 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
 

Recently uploaded

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
Kamal Acharya
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 

Recently uploaded (20)

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Vaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdfVaccine management system project report documentation..pdf
Vaccine management system project report documentation..pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 

Osp fv3 cs

  • 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