SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Seminar Presenting On
Open Shortest Path First (OSPF)

Abdullah Mukhtar
13SCSE201018
M-TECH (CSE) BATCH -1
Overview
•
•
•
•
•
•
•

Introduction
Simple basic configuration
OSPF configuration
Header format
Important term used in OSPF
Hello packet
Drawback & Benefit
Introduction of OSPF
1. The OSPF protocol is a link state Protocol that handles routing for IP traffic.
2.

Open Shortest Path First (OSPF) uses the Shortest Path First (SPF) algorithm, to provide
a loop-free topology.

3. Open Shortest Path First (OSPF) provides fast convergence with triggered, incremental
updates via Link State Advertisements (LSAs).
4. Open Shortest Path First (OSPF) is a classless protocol and allows for a hierarchical
design with VLSM and route summarization.
5. The two important concepts in case of OSPF are Autonomous Systems and Areas.
Important Term Related with OSPF
Loopback Interface:- A loopback interface is a logical, virtual interface on a router
o Router(Config)#int loopback 2
o Router(Config-if)#ip address 200.0.0.10 255.255.255.0
Area Border Router (ABR):-An Area border router (ABR) is a router that connects one or more
OSPF areas to the main backbone network. It is considered a member of all areas it is connected to.
Internal Router:-An Internal Router is a router that has only OSPF neighbour relationships with routers
in the same area.
Backbone Router:-Backbone Routers are part of the OSPF backbone. This includes all area border
routers and also routers connecting different areas.
Designated Router (DR) and Backup Designated Router (BDR):-A DR is the router interface elected
among all routers on a network segment, and BDR is a backup for the DR. DRs are used for reducing
network traffic by providing a source for routing updates. The DR maintains a complete topology table of
the network and sends the updates to the other routers via multicast. All routers in an area will form a
slave/master relationship with the DR .
OSPF Areas

Group of contiguous nodes/networks
Per area topology DB
Invisible outside the area
Reduces routing traffic
Backbone Area is contiguous
All others areas must connect to the
backbone
Virtual Links

Area 2

Area 3
Area 0
Backbone Area

Area 4

Area 1
OSPF protocol configuration
Router01(config)#interface fa0/0
Router01(config-if)#ip address
172.16.0.1 255.255.0.0
Router01(config-if)#no shutdown

Router01(config)#interface s0/0
Router01(config-if)#clock rate 64000
Router01(config-if)#ip address
172.17.0.1 255.255.0.0
Router01(config-if)#no shutdown

Router02(config)#interface s0/0
Router02(config-if)#ip address
172.17.0.2 255.255.0.0
Router02(config-if)#no shutdown

Router03(config)#interface s0/1
Router03(config-if)#ip address
172.19.0.2 255.255.0.0
Router03(config-if)#no
shutdown

Continue…
OSPF protocol configuration
Required Commands:
Rtr(config)# router ospf process-id
Rtr(config-router)#network address wildcard-mask area area-id
Optional Commands:
Rtr(config-router)# default-information originate
(Send default)
Rtr(config-router)# area area authentication
(Plain authen.)
Rtr(config-router)# area area authentication message-digest
(md5 authen.)
Rtr(config)# interface loopback number
(Configure lo as RtrID)
Rtr(config)# interface type slot/port
(int Fa0/0)
Rtr(config-if)# ip ospf priority <0-255>
(DR/BDR election)
Rtr(config-if)# bandwidth kbps
(Modify default bandwdth)
RTB(config-if)# ip ospf cost cost
(Modify inter. cost)
Rtr(config-if)# ip ospf hello-interval seconds
(Modify Hello)
Rtr(config-if)# ip ospf dead-interval seconds
(Modify Dead)
Rtr(config-if)# ip ospf authentication-key passwd
(Plain/md5authen)
Rtr(config-if)# ip ospf message-digest-key key-id md5 password
Header format of OSPF Packet
0

8
Version

Type

16

31
Packet length

Router Id
Area Id
Check sum

Authentication type
Authentication

OSPF
common
header

Authentication
Data

Fig.

OSPF packet
body

OSPF common header precedes each OSPF Packet
Configuring a Loopback Address
Rtr(config)# interface loopback 0
Rtr(config-if)# ip add 10.1.1.1 255.255.255.0
 Automatically are “up” and “up”
 Very useful in setting Router IDs as they never go down.
 RouterID is used to identify the routers in the OSPF network
– IP address configured with the Router-ID command
– Highest loopback address
– Highest active IP address



Important for DR/BDR elections unless you use the ip ospf priority command
Extra: Also, useful to configure “virtual” networks that you can ping and route as if they
were attached networks.
The Hello Protocol


When a router starts an OSPF routing process on an
interface, it sends a hello packet and continues to send
hellos at regular intervals
◦ The rules that govern the exchange of OSPF hello packets are
called the Hello protocol
◦ Type field is set to 1 to indicate packet contains hello
information
More on Hello Packets…

• Hello packet timing…
– sent every 10 seconds by default on broadcast multi-access and point-to-point
networks
– 30 seconds by default on interfaces that connect to NBMA networks, such as
Frame Relay
Disadvantage and Benefit
Disadvantages:OSPF is very processor intensive.
OSPF maintains multiple copies of routing information, increasing the amount of memory needed.

OSPF is not as easy to learn as some other protocols.

Advantages:OSPF is hierarchical, using area 0 as the top as the hierarchy.
OSPF is a Link State Algorithm.
OSPF supports Variable Length Subnet Masks (VLSM).
OSPF uses multicasting within areas.
THANK
YOU

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
OSPF
OSPF OSPF
OSPF
 
03 ospf
03 ospf 03 ospf
03 ospf
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
BGP
BGP BGP
BGP
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
CCCNP ROUTE v6_ch06
CCCNP ROUTE v6_ch06CCCNP ROUTE v6_ch06
CCCNP ROUTE v6_ch06
 
Open shortest path first (ospf)
Open shortest path first (ospf)Open shortest path first (ospf)
Open shortest path first (ospf)
 
3. OSPFv3 Redes IPv6
3. OSPFv3   Redes IPv63. OSPFv3   Redes IPv6
3. OSPFv3 Redes IPv6
 
CCNA Advanced Routing Protocols
CCNA Advanced Routing ProtocolsCCNA Advanced Routing Protocols
CCNA Advanced Routing Protocols
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
HSRP (hot standby router protocol)
HSRP (hot standby router protocol)HSRP (hot standby router protocol)
HSRP (hot standby router protocol)
 
Ospf area types
Ospf area typesOspf area types
Ospf area types
 
Rip presentation
Rip presentationRip presentation
Rip presentation
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)Dynamic routing protocols (CCNA)
Dynamic routing protocols (CCNA)
 
Ospf
OspfOspf
Ospf
 
4. OSPF - Multiarea
4. OSPF - Multiarea4. OSPF - Multiarea
4. OSPF - Multiarea
 

Ähnlich wie OSPF by Abdullah Mukhtar

Ähnlich wie OSPF by Abdullah Mukhtar (20)

ospf-config.pdf
ospf-config.pdfospf-config.pdf
ospf-config.pdf
 
1cospf
1cospf1cospf
1cospf
 
1cospf
1cospf1cospf
1cospf
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
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
 
Configurasi ospf
Configurasi ospfConfigurasi ospf
Configurasi ospf
 
Ospf
OspfOspf
Ospf
 
CSC427_Week_11.pdf
CSC427_Week_11.pdfCSC427_Week_11.pdf
CSC427_Week_11.pdf
 
Day 12.2 enablingospf
Day 12.2 enablingospfDay 12.2 enablingospf
Day 12.2 enablingospf
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Ospf
OspfOspf
Ospf
 
Ospf
OspfOspf
Ospf
 
OSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdfOSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdf
 
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 ConfigurationENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
 
Allwyn ospf ppt
Allwyn ospf pptAllwyn ospf ppt
Allwyn ospf ppt
 
ENSA_Module_2.pptx
ENSA_Module_2.pptxENSA_Module_2.pptx
ENSA_Module_2.pptx
 
ENSA_Module_2.pptx
ENSA_Module_2.pptxENSA_Module_2.pptx
ENSA_Module_2.pptx
 

Kürzlich hochgeladen

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 

Kürzlich hochgeladen (20)

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

OSPF by Abdullah Mukhtar

  • 1. Seminar Presenting On Open Shortest Path First (OSPF) Abdullah Mukhtar 13SCSE201018 M-TECH (CSE) BATCH -1
  • 2. Overview • • • • • • • Introduction Simple basic configuration OSPF configuration Header format Important term used in OSPF Hello packet Drawback & Benefit
  • 3. Introduction of OSPF 1. The OSPF protocol is a link state Protocol that handles routing for IP traffic. 2. Open Shortest Path First (OSPF) uses the Shortest Path First (SPF) algorithm, to provide a loop-free topology. 3. Open Shortest Path First (OSPF) provides fast convergence with triggered, incremental updates via Link State Advertisements (LSAs). 4. Open Shortest Path First (OSPF) is a classless protocol and allows for a hierarchical design with VLSM and route summarization. 5. The two important concepts in case of OSPF are Autonomous Systems and Areas.
  • 4. Important Term Related with OSPF Loopback Interface:- A loopback interface is a logical, virtual interface on a router o Router(Config)#int loopback 2 o Router(Config-if)#ip address 200.0.0.10 255.255.255.0 Area Border Router (ABR):-An Area border router (ABR) is a router that connects one or more OSPF areas to the main backbone network. It is considered a member of all areas it is connected to. Internal Router:-An Internal Router is a router that has only OSPF neighbour relationships with routers in the same area. Backbone Router:-Backbone Routers are part of the OSPF backbone. This includes all area border routers and also routers connecting different areas. Designated Router (DR) and Backup Designated Router (BDR):-A DR is the router interface elected among all routers on a network segment, and BDR is a backup for the DR. DRs are used for reducing network traffic by providing a source for routing updates. The DR maintains a complete topology table of the network and sends the updates to the other routers via multicast. All routers in an area will form a slave/master relationship with the DR .
  • 5. OSPF Areas Group of contiguous nodes/networks Per area topology DB Invisible outside the area Reduces routing traffic Backbone Area is contiguous All others areas must connect to the backbone Virtual Links Area 2 Area 3 Area 0 Backbone Area Area 4 Area 1
  • 6. OSPF protocol configuration Router01(config)#interface fa0/0 Router01(config-if)#ip address 172.16.0.1 255.255.0.0 Router01(config-if)#no shutdown Router01(config)#interface s0/0 Router01(config-if)#clock rate 64000 Router01(config-if)#ip address 172.17.0.1 255.255.0.0 Router01(config-if)#no shutdown Router02(config)#interface s0/0 Router02(config-if)#ip address 172.17.0.2 255.255.0.0 Router02(config-if)#no shutdown Router03(config)#interface s0/1 Router03(config-if)#ip address 172.19.0.2 255.255.0.0 Router03(config-if)#no shutdown Continue…
  • 7. OSPF protocol configuration Required Commands: Rtr(config)# router ospf process-id Rtr(config-router)#network address wildcard-mask area area-id Optional Commands: Rtr(config-router)# default-information originate (Send default) Rtr(config-router)# area area authentication (Plain authen.) Rtr(config-router)# area area authentication message-digest (md5 authen.) Rtr(config)# interface loopback number (Configure lo as RtrID) Rtr(config)# interface type slot/port (int Fa0/0) Rtr(config-if)# ip ospf priority <0-255> (DR/BDR election) Rtr(config-if)# bandwidth kbps (Modify default bandwdth) RTB(config-if)# ip ospf cost cost (Modify inter. cost) Rtr(config-if)# ip ospf hello-interval seconds (Modify Hello) Rtr(config-if)# ip ospf dead-interval seconds (Modify Dead) Rtr(config-if)# ip ospf authentication-key passwd (Plain/md5authen) Rtr(config-if)# ip ospf message-digest-key key-id md5 password
  • 8. Header format of OSPF Packet 0 8 Version Type 16 31 Packet length Router Id Area Id Check sum Authentication type Authentication OSPF common header Authentication Data Fig. OSPF packet body OSPF common header precedes each OSPF Packet
  • 9. Configuring a Loopback Address Rtr(config)# interface loopback 0 Rtr(config-if)# ip add 10.1.1.1 255.255.255.0  Automatically are “up” and “up”  Very useful in setting Router IDs as they never go down.  RouterID is used to identify the routers in the OSPF network – IP address configured with the Router-ID command – Highest loopback address – Highest active IP address   Important for DR/BDR elections unless you use the ip ospf priority command Extra: Also, useful to configure “virtual” networks that you can ping and route as if they were attached networks.
  • 10. The Hello Protocol  When a router starts an OSPF routing process on an interface, it sends a hello packet and continues to send hellos at regular intervals ◦ The rules that govern the exchange of OSPF hello packets are called the Hello protocol ◦ Type field is set to 1 to indicate packet contains hello information
  • 11. More on Hello Packets… • Hello packet timing… – sent every 10 seconds by default on broadcast multi-access and point-to-point networks – 30 seconds by default on interfaces that connect to NBMA networks, such as Frame Relay
  • 12. Disadvantage and Benefit Disadvantages:OSPF is very processor intensive. OSPF maintains multiple copies of routing information, increasing the amount of memory needed. OSPF is not as easy to learn as some other protocols. Advantages:OSPF is hierarchical, using area 0 as the top as the hierarchy. OSPF is a Link State Algorithm. OSPF supports Variable Length Subnet Masks (VLSM). OSPF uses multicasting within areas.

Hinweis der Redaktion

  1. Basic Router Configure