SlideShare a Scribd company logo
OSPF
ROUTING PROTOCOL
INTRODUCTION
TO OSPF
• Developed by IETF – RFC1247
• OSPF v2 described in RFC2328/STD54
• OSPF v3 described in RFC2740 - IPv6
• Link state/Shortest Path First Technology
• Dynamic Routing
• Interior gateway protocol
• Fast Convergence
• ECMP
• Route authentication
HOW IT WORKS
Become neighbours - Two routers
running OSPF on the same link agree to
form a neighbour relationship
Exchange database information - The
neighbouring routers exchange their
LSDB information with each other
Choose the best routes – Each router
chooses the best routes to add to its
routing table based on the learned LSDB
information
OSPF METRIC
• It is calculated by dividing reference bandwidth (100 mbps
by default) value by interface’s bandwidth
• Anything faster than Fast Ethernet will be a cost of 1.
• It can be changed using the command : auto-cost refence-
bandwidth mbps or ip ospf cost
ECMP
• Equal Cost Multi-Path or ECMP is a
routing strategy where packets
towards a single destination IP
address are load-balanced over
multiple best paths with equal
metrics.
HELLO MESSAGES
• When OSPF is activated on an interface , the router starts
sending OSPF hello messages out of the interface at regular
intervals (10 s by default)
• They are multicast to 224.0.0.5
• Dead timer - how long the router will wait without hearing a
HELLO message before it assumes the neighbor is dead (40 s
by default)
• The passive interface command tells the router to stop
sending OSPF HELLO messages out of the interface
LOOPBACK INTERFACE
• It is a virtual interface in the router .
• It is always up/up .
• It provides a consistent IP address that can be used to reach the router .
ROUTER ID
Mannually assigned
Highest Ip status loopback
interface Ip address
Highest Ip status non-
loopback interface Ip
address
OSPF NEIGHBORS
OSPF MESSAGES
DR AND BDR
• Only DR and BDR form full
adjacencies with other routers
• The remaining routers remain in a “2-
way” state with each other
• If DR or BDR “disappear”, re-election
of missing router takes place
OSPF NEIGHBOR REQUIREMENTS
Area must
match
Interfaces must
be in the same
subnet
OSPF process
must not be
shutdown
Hello and Dead
timers must
match
Authentification
settings must
match
IP MTU settings
must match
OSPf network
type must
match
OSPF AREAS
• It is uses to divide up the network
• Small networks can be single-areas without any negative effects on performance .
• In Larger networks , a single-area design can have negative effects :
 SFP algorithm takes more time to calculate routes
 Larger LSDB takes up memory
 Any small change in the network causes every router to flood LSAs and run the SPF algorithm again
• The backbone area is an area that all other areas must connect to .
CLASSIFICATION OF
ROUTERS
• Internal Router (IR)
• Area Border Router (ABR)
• Backbone Router (BR)
• Autonomous System Border Router
(ASBR)
LSA 1
• This LSA contains a list with all the directly
connected links of this route , it always
stays within the area
LSA 2
• The network LSA or type 2 is created
for each multi-access network ,
generated by the DR , In this LSA we
will find all the routers that are
connected to the multi-access
network, the DR and of course the
prefix and subnet mask , the network
LSA always stays within the area
LSA 3 SUMMARY
• This LSA generated by the ABR will
flood into all the other areas of our
OSPF network. This way all the
routers in other areas will know
about the prefixes from other areas.
TYPE 4 SUMMARY
ASBR LSA
• This LSA will also be flooded in all
other areas and is required so all
OSPF routers know where to find the
ASBR
LSA TYPE 5
• Generated by the ASBR to advertise
external redistributed routes into the
OSPF’s AS.
STANDARD AREA
• OSPF packets can be normally
transmitted. It supports 1, 2, 3, 4, and
5 LSAs
STUB AREA
• This area does not accept any
external routes of non-OSPF network
, this area supports 1, 2, and 3 LSAs
TOTALLY STUBBY
AREA
• this area does not accept external
routes and does not accept routes
from other areas , This area supports
Type 1, Type 2 LSAs, and Type 3 LSAs
with default routes
NO SO STUBBY AREA
• this mode allows the introduction of
external routes in a completely stub
area environment
OSPF NETWORK TYPES
• Broadcast : enabled by default on
Ethernet and FDDI interfaces .
• Point to point : enabled by default on
PPP and HDLC interfaces (no DR/DBR
election).
VIRTUAL LINK
• By using a virtual link, we can extend area
0 through area 1 so area 2 will be “directly
connected” to area 0
OSPF AUTHENTIFICATION
• OSPF can be configured to authenticate every OSPF message. This is usually done to prevent
a rogue router from injecting false routing information and therefore causing a Denial-of-Service
attack.
• Two types of authentication can be used
 clear text authentication
 MD5 authentication

More Related Content

What's hot

IS-IS Protocol
IS-IS ProtocolIS-IS Protocol
IS-IS Protocol
Mhd Khaled Alhalai
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
Respa Peter
 
Is Is Routing Protocol
Is Is Routing ProtocolIs Is Routing Protocol
Is Is Routing Protocolhayenas
 
IS-IS vs OSPF
IS-IS vs OSPFIS-IS vs OSPF
IS-IS vs OSPF
NetProtocol Xpert
 
OSPF Fundamental
OSPF FundamentalOSPF Fundamental
OSPF Fundamental
Reza Farahani
 
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
NetProtocol Xpert
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
Muuluu
 
LSA (Link State Advertisement) Types Explanation
LSA (Link State Advertisement) Types Explanation LSA (Link State Advertisement) Types Explanation
LSA (Link State Advertisement) Types Explanation
NetProtocol Xpert
 
OSPF LSA Types Explained
OSPF LSA Types ExplainedOSPF LSA Types Explained
OSPF LSA Types Explained
Duane Bodle
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
NetProtocol Xpert
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
Ann Joseph
 
IS-IS Packet Types
IS-IS Packet TypesIS-IS Packet Types
IS-IS Packet Types
NetProtocol Xpert
 
OSPF Summary LSA (Type 3 LSA)
OSPF Summary LSA (Type 3 LSA)OSPF Summary LSA (Type 3 LSA)
OSPF Summary LSA (Type 3 LSA)
NetProtocol Xpert
 
BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)
NetProtocol Xpert
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
Gino McCarty
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
NetProtocol Xpert
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution ProtocolKashif Latif
 

What's hot (20)

IS-IS Protocol
IS-IS ProtocolIS-IS Protocol
IS-IS Protocol
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
Is Is Routing Protocol
Is Is Routing ProtocolIs Is Routing Protocol
Is Is Routing Protocol
 
IS-IS vs OSPF
IS-IS vs OSPFIS-IS vs OSPF
IS-IS vs OSPF
 
OSPF Fundamental
OSPF FundamentalOSPF Fundamental
OSPF Fundamental
 
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
 
Spanning tree protocol
Spanning tree protocolSpanning tree protocol
Spanning tree protocol
 
LSA (Link State Advertisement) Types Explanation
LSA (Link State Advertisement) Types Explanation LSA (Link State Advertisement) Types Explanation
LSA (Link State Advertisement) Types Explanation
 
OSPF LSA Types Explained
OSPF LSA Types ExplainedOSPF LSA Types Explained
OSPF LSA Types Explained
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
 
OSPF
OSPF OSPF
OSPF
 
OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
 
VTP
VTPVTP
VTP
 
IS-IS Packet Types
IS-IS Packet TypesIS-IS Packet Types
IS-IS Packet Types
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
OSPF Summary LSA (Type 3 LSA)
OSPF Summary LSA (Type 3 LSA)OSPF Summary LSA (Type 3 LSA)
OSPF Summary LSA (Type 3 LSA)
 
BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)BGP (Border Gateway Protocol)
BGP (Border Gateway Protocol)
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
 

Similar to OSPF - Copie.pptx

Allwyn ospf ppt
Allwyn ospf pptAllwyn ospf ppt
Allwyn ospf ppt
Allwyngeorge4
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocols
assinha
 
Ospf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationOspf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationIT Tech
 
Ospf
OspfOspf
Osp fv3 cs
Osp fv3 csOsp fv3 cs
Osp fv3 cs
Fred Bovy
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
Abdullah Mukhtar
 
OSPF- Multi area
OSPF- Multi area OSPF- Multi area
OSPF- Multi area
Ahmed Ali
 
Ospf hassan jamal.ppt
Ospf hassan jamal.pptOspf hassan jamal.ppt
Ospf hassan jamal.ppt
almazeedihassan
 
OSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdfOSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdf
Denis Rasskazov
 
20407473 ospf
20407473 ospf20407473 ospf
20407473 ospf
bui thequan
 
Mpls based vpn connectivity
Mpls based vpn connectivityMpls based vpn connectivity
Mpls based vpn connectivity
Prem kumar
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7Tutun Juhana
 
Multi-area ospf adjacency on ios-xr
Multi-area ospf adjacency on ios-xrMulti-area ospf adjacency on ios-xr
Multi-area ospf adjacency on ios-xr
CoderGenie Technologies
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
Reetesh Gupta
 
ENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qeda
ENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qedaENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qeda
ENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qeda
drainagememes
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
AIRTEL
 
Segment Routing Session#1.pdfSegment Routing Session#1.pdf
Segment Routing Session#1.pdfSegment Routing Session#1.pdfSegment Routing Session#1.pdfSegment Routing Session#1.pdf
Segment Routing Session#1.pdfSegment Routing Session#1.pdf
AhMEd22627
 

Similar to OSPF - Copie.pptx (20)

Allwyn ospf ppt
Allwyn ospf pptAllwyn ospf ppt
Allwyn ospf ppt
 
Layer3protocols
Layer3protocolsLayer3protocols
Layer3protocols
 
OSPF Configuration
OSPF ConfigurationOSPF Configuration
OSPF Configuration
 
Ospf routing protocol
Ospf routing protocolOspf routing protocol
Ospf routing protocol
 
Ospf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationOspf and eigrp concepts and configuration
Ospf and eigrp concepts and configuration
 
Ospf
OspfOspf
Ospf
 
Osp fv3 cs
Osp fv3 csOsp fv3 cs
Osp fv3 cs
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
 
OSPF- Multi area
OSPF- Multi area OSPF- Multi area
OSPF- Multi area
 
Ospf hassan jamal.ppt
Ospf hassan jamal.pptOspf hassan jamal.ppt
Ospf hassan jamal.ppt
 
OSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdfOSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdf
 
20407473 ospf
20407473 ospf20407473 ospf
20407473 ospf
 
ch2_p3_ospf.pptx
ch2_p3_ospf.pptxch2_p3_ospf.pptx
ch2_p3_ospf.pptx
 
Mpls based vpn connectivity
Mpls based vpn connectivityMpls based vpn connectivity
Mpls based vpn connectivity
 
Network layer Part 7
Network layer Part 7Network layer Part 7
Network layer Part 7
 
Multi-area ospf adjacency on ios-xr
Multi-area ospf adjacency on ios-xrMulti-area ospf adjacency on ios-xr
Multi-area ospf adjacency on ios-xr
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
ENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qeda
ENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qedaENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qeda
ENSA_UNIT 1.pdfasasasaasafsedfsecfwefw wefwefw qeda
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
Segment Routing Session#1.pdfSegment Routing Session#1.pdf
Segment Routing Session#1.pdfSegment Routing Session#1.pdfSegment Routing Session#1.pdfSegment Routing Session#1.pdf
Segment Routing Session#1.pdfSegment Routing Session#1.pdf
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 

Recently uploaded (20)

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 

OSPF - Copie.pptx

  • 2. INTRODUCTION TO OSPF • Developed by IETF – RFC1247 • OSPF v2 described in RFC2328/STD54 • OSPF v3 described in RFC2740 - IPv6 • Link state/Shortest Path First Technology • Dynamic Routing • Interior gateway protocol • Fast Convergence • ECMP • Route authentication
  • 3. HOW IT WORKS Become neighbours - Two routers running OSPF on the same link agree to form a neighbour relationship Exchange database information - The neighbouring routers exchange their LSDB information with each other Choose the best routes – Each router chooses the best routes to add to its routing table based on the learned LSDB information
  • 4. OSPF METRIC • It is calculated by dividing reference bandwidth (100 mbps by default) value by interface’s bandwidth • Anything faster than Fast Ethernet will be a cost of 1. • It can be changed using the command : auto-cost refence- bandwidth mbps or ip ospf cost
  • 5. ECMP • Equal Cost Multi-Path or ECMP is a routing strategy where packets towards a single destination IP address are load-balanced over multiple best paths with equal metrics.
  • 6. HELLO MESSAGES • When OSPF is activated on an interface , the router starts sending OSPF hello messages out of the interface at regular intervals (10 s by default) • They are multicast to 224.0.0.5 • Dead timer - how long the router will wait without hearing a HELLO message before it assumes the neighbor is dead (40 s by default) • The passive interface command tells the router to stop sending OSPF HELLO messages out of the interface
  • 7. LOOPBACK INTERFACE • It is a virtual interface in the router . • It is always up/up . • It provides a consistent IP address that can be used to reach the router .
  • 8. ROUTER ID Mannually assigned Highest Ip status loopback interface Ip address Highest Ip status non- loopback interface Ip address
  • 11. DR AND BDR • Only DR and BDR form full adjacencies with other routers • The remaining routers remain in a “2- way” state with each other • If DR or BDR “disappear”, re-election of missing router takes place
  • 12. OSPF NEIGHBOR REQUIREMENTS Area must match Interfaces must be in the same subnet OSPF process must not be shutdown Hello and Dead timers must match Authentification settings must match IP MTU settings must match OSPf network type must match
  • 13. OSPF AREAS • It is uses to divide up the network • Small networks can be single-areas without any negative effects on performance . • In Larger networks , a single-area design can have negative effects :  SFP algorithm takes more time to calculate routes  Larger LSDB takes up memory  Any small change in the network causes every router to flood LSAs and run the SPF algorithm again • The backbone area is an area that all other areas must connect to .
  • 14. CLASSIFICATION OF ROUTERS • Internal Router (IR) • Area Border Router (ABR) • Backbone Router (BR) • Autonomous System Border Router (ASBR)
  • 15. LSA 1 • This LSA contains a list with all the directly connected links of this route , it always stays within the area
  • 16. LSA 2 • The network LSA or type 2 is created for each multi-access network , generated by the DR , In this LSA we will find all the routers that are connected to the multi-access network, the DR and of course the prefix and subnet mask , the network LSA always stays within the area
  • 17. LSA 3 SUMMARY • This LSA generated by the ABR will flood into all the other areas of our OSPF network. This way all the routers in other areas will know about the prefixes from other areas.
  • 18. TYPE 4 SUMMARY ASBR LSA • This LSA will also be flooded in all other areas and is required so all OSPF routers know where to find the ASBR
  • 19. LSA TYPE 5 • Generated by the ASBR to advertise external redistributed routes into the OSPF’s AS.
  • 20. STANDARD AREA • OSPF packets can be normally transmitted. It supports 1, 2, 3, 4, and 5 LSAs
  • 21. STUB AREA • This area does not accept any external routes of non-OSPF network , this area supports 1, 2, and 3 LSAs
  • 22. TOTALLY STUBBY AREA • this area does not accept external routes and does not accept routes from other areas , This area supports Type 1, Type 2 LSAs, and Type 3 LSAs with default routes
  • 23. NO SO STUBBY AREA • this mode allows the introduction of external routes in a completely stub area environment
  • 24. OSPF NETWORK TYPES • Broadcast : enabled by default on Ethernet and FDDI interfaces . • Point to point : enabled by default on PPP and HDLC interfaces (no DR/DBR election).
  • 25. VIRTUAL LINK • By using a virtual link, we can extend area 0 through area 1 so area 2 will be “directly connected” to area 0
  • 26. OSPF AUTHENTIFICATION • OSPF can be configured to authenticate every OSPF message. This is usually done to prevent a rogue router from injecting false routing information and therefore causing a Denial-of-Service attack. • Two types of authentication can be used  clear text authentication  MD5 authentication