Open Shortest Path First Protocol (OSPF) Sudarshan Vasudevan

Slides:



Advertisements
Presentasi serupa
UNDERSTANDING NETWORK DESIGN IP ADRESS & SUBNETTING
Advertisements

Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus.
2. Introduction to Algorithm and Programming
Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo Surabaya Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
PROTOKOL ROUTING.
Perancangan Database Pertemuan 07 s.d 08
BAGIAN III Lapisan Data Link.
BLACK BOX TESTING.
3 long-distance dial-up connection 4 Figure 7-9 A WAN using frame relay.
Testing Implementasi Sistem Oleh :Rifiana Arief, SKom, MMSI
Routing.
Menulis Kolom  Kolom adalah opini atau artikel. Tidak seperti editorial, kolom memiliki byline.  Kolom Biasanya ditulis reguler. Biasanya mingguan atau.
Masalah Transportasi II (Transportation Problem II)
Pertemuan 07 Peluang Beberapa Sebaran Khusus Peubah Acak Kontinu
Layer Data Link Pertemuan 13 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
OSPF Risanuri Hidayat. 26 June 2015OSPF2 Link State Strategy –send to all nodes (not just neighbors) information about directly connected links (not entire.
9.3 Geometric Sequences and Series. Objective To find specified terms and the common ratio in a geometric sequence. To find the partial sum of a geometric.
Network Design (IP Address dan Subnetting). Tujuan Mengenal IP Address, bisa mengidentifikasinya dan bisa menggunakannya dalam membangun jaringan. Bisa.
Chapter 10 – The Design of Feedback Control Systems PID Compensation Networks.
IP Addressing Laboratorium Teknik Informatika Universitas Gunadarma Stefanus Vlado Adi Kristanto Version 1.4.
B Logical Network Muhammad Anshari Designing Network Topology Designing Models for Addressing & Naming Selecting Switching & Routing Protocol Developing.
Routing & Switching DC608.
Jaringan komputer dan telekomunikasi
Jartel, Sukiswo Sukiswo
Routing.
Routing.
Basic static routing and dynamic routing
KOMUNIKASI DATA Materi Pertemuan 9.
Mobile IP The 12th meeting.
Routing.
Bab 10 Teknologi Network Layer
Pertemuan ke Dynamic Routing.
Pertemuan-12. Routing S. Indriani L, M.T.
OSPF BASIC Rifki Indra, S.Kom., M.Eng.
Rekayasa Perangkat Lunak Class Diagram
AKT211 – CAO 08 – Computer Memory (2)
KOMUNIKASI DATA S. Indriani L, M.T
Pengujian Hipotesis (I) Pertemuan 11
CLASS DIAGRAM.
Routing.
Bab 8 Teknologi Network Layer
Static. Static Dynamic Distance Vector Setelah Kenalan.....
Routed vs Routing Protocol
Pertemuan <<18>> << Penemuan Fakta(01) >>
Pertemuan VI MAPPING FUNCTION.
IP Routing.
Protokol Routing.
Pengantar Teknologi Informasi
Master data Management
Pertemuan 4 CLASS DIAGRAM.
IPv6.
ROUTING PROTOCOL.
1 © 2004, Cisco Systems, Inc. All rights reserved. Module 2 Single-Area OSPF.
Chapter 4/Module 3 EIGRP CCNA 3 version 3.0 EIGRP “Enhanced” Interior Gateway Routing Protocol Based on IGRP and developed to allow easy transition from.
Risanuri Hidayat Routing terletak di layer 3
How to Set Up AT&T on MS Outlook ATT is a multinational company headquartered in Texas. ATT services are used by many people widely across.
Don’t Forget to Avail the Timely Offers with Uber
Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus.
Routing.
Router dan Routing Protokol
Transport Layer Adhitya Nugraha 2013.
HughesNet was founded in 1971 and it is headquartered in Germantown, Maryland. It is a provider of satellite-based communications services. Hughesnet.
 Zoho Mail offers easy options to migrate data from G Suite or Gmail accounts. All s, contacts, and calendar or other important data can be imported.
If you are an user, then you know how spam affects your account. In this article, we tell you how you can control spam’s in your ZOHO.
Right, indonesia is a wonderful country who rich in power energy not only in term of number but also diversity. Energy needs in indonesia are increasingly.
Module M1 – Solar panels TEST 1 TOT-M1-A-TE_00_00_001 1.
HANDLING RUSH PRESIDENT UNIVERSITY NURLAELA RIZKINA.
Draw a picture that shows where the knife, fork, spoon, and napkin are placed in a table setting.
Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus.
Transcript presentasi:

Open Shortest Path First Protocol (OSPF) Sudarshan Vasudevan

Overview Introduction Motivation OSPF Basics Hierarchical Routing in OSPF Summary

Introduction Development began in 1987 OSPF Working Group (part of IETF) OSPFv2 first established in 1991 Many new features added since then Updated OSPFv2 specification in RFC 2178

Motivation Original IGP used was RIP Based on Bellman-Ford Algorithm Worked well in small systems Suffered from problems of Distance Vector Protocol –Count to Infinity Problem –Slow Convergence

Motivation Problems with Distance Vector Protocol –Large update packets –Slow response to topological changes Need for a Link State Protocol A long list of functional requirements follows

Functional Requirements of OSPF Faster Convergence and less consumption of network resources A more descriptive routing metric –configurable –value ranges between 1 and 65,535 –no restriction on network diameters Equal-cost multipath –a way to do load balancing

Functional Requirements(contd.) Routing Hierarchy –support large routing domains Separate internal and external routes Support of flexible subnetting schemes –route to arbitrary [address,mask] combinations using VLSMs Security Type of Service Routing

OSPF Basics the essence Distributed, replicated database model –describes complete routing topology Link state advertisements –carry local piece of routing topology Distribution of LSAs using reliable flooding Link state database –identical for all the routers

Link State Advertisements(LSAs) LS Age OptionsLS Type Link State ID Advertising Router LS Sequence Number LS Checksum Length LSA Header 0 16

LSAs contd. Identifying LSAs –LS type field –Link State ID field mostly carries addressing information e.g. IP address of externally reachable network –Advertising Router field originating router’s OSPF router ID

LSAs contd. Identifying LSA instances –needed to update self-originated LSAs –LS Sequence Number field 32 bit values monotonically increasing until some max value 600 years to roll over! LSA checksum and LS Age guard against potential problems

LSAs contd. Verifying LSA contents –LS Checksum field computed by the originating router and left unchanged thereafter LS age field not included in checksum Removing LSAs from databases –LS Age field ranges from 0 to 30 min. Max Age LSAs used to delete outdated LSAs

LSAs contd. Other LSA Header fields –Options field sometimes used to give special treatment during flooding or routing calculations –Length field includes LSA header and contents ranges from bytes

Sample Router LSA

Sample Router LSA contd.. LS Age Options LS Type Link State ID Advertising Router LS Sequence Number LS Checksum Length Router Type 0 # of links Link ID Link Data Link Type#TOS Metrics Metric 0 seconds E-bit,LS Type x x9b47 60 bytes 0 (ordinary) Ifindex 2 (unnumbered link) 1(point to point), 0 5 Link 1

Link State Database Collection of all OSPF LSAs databases exchanged between neighbors synchronization thru reliable flooding gives the complete routing topology each OSPF router has identical link-state database

Link State Database contd.. Example of a link state database LS TypeLink State IDAdv RouterLS ChecksumLS Seq NoLS Age Router LSA x9b470x …..…...….. ….…...

Communication between OSPF Routers OSPF packets encapsulated in IP packets –standard 24 byte header –OSPF packet type field –OSPF router ID of sender –Packet checksum –Authentication fields –OSPF Area ID

Neighbor Discovery and Maintenance OSPF Hello Protocol Hello packets sent out every 10 seconds helps to detect failed neighbors RouterDeadInterval (default 40 seconds) also ensures that link is bidirectional neighboring routers agree on intervals –hello interval set so that a link is not accidentally brought down

Database Synchronization Crucial to ensure correct and loop free routing must be done before 2 neighbors start communication also whenever new LSAs are introduced –uses reliable flooding each router sends LSA headers to its neighbor when connection comes up requests only those LSAs which are recent

Database Exchange Neighboring routers first exchange hellos a database description packet packet establishes the sequence number the other router sends LSA headers sequence number incremented for every pair od database description packets –implicit acknowledgement for the previous pair after examining LSA headers explicit request sent for complete LSAs

Reliable Flooding Starts when a router wants to update self- originated LSAs Link State Update packets Neighbor installs more recent LSAs into its database floods out on all interfaces except the one on which it arrived reliability-retransmissions until acks received

Reliable Flooding (contd..) Time T1 u u u

Reliable Flooding (contd..) Time T2 u u u u u

Reliable Flooding (contd..) Time T3 u u

Reliable Flooding (contd..) Time T3+ ack

Reliable Flooding(contd..) Robustness –updates flooded over all the links, so failure of any link doesn’t affect database synchronization –LSAs refreshed every 30 minutes –LSA checksum field detects corruption –flooding loops avoided by LS Age field –MinLSInterval limits rate of LSA origination –Receivers can refuse to accept LSA updates if they received an update less than a second ago

Routing Calculations Link costs configurable by administrator Smaller values for more preferred links must make sense to add link costs different costs for each link direction possible Dijkstra’s shortest path algorithm –incrementally calculates tree of shortest paths –each link in the network examined once –computes multiple shortest paths (equal-cost multipath)

Hierarchical Routing Technique used to build large networks minimizes consumption of network resources such as –router memory –router computing resources –link bandwidth with flat routing linear increase in routing table size with hierarchical, size increases logarithmically

an example /

example contd.. Consider a router in assume 16 entries in each of the first level partitions with flat routing, 9*16 = 144 entries/router with 3 level hierarchy, the router has 16 entries within /24 + entries for /24, /24, /16 for a total of 19 entries. Marked reduction in routing table size but might lead to suboptimal routing

OSPF Areas Two-level hierarchical routing scheme through the use of areas areas identified by 32-bit id each area has its own link state database which is a collection of network-LSAs and router-LSAs area’s topology hidden from all other areas interconnection of areas through area border routers (ABRs) ABR leaks IP addressing information to other areas through summary LSAs

Sample Area Configuration A B C D G H F E IJ AA / /24 Area / /24 Area / /24 Area Area

OSPF Areas contd.. Example of Summary LSA(router B) LS Age OptionsLS Type Link State ID Advertising Router LS Sequence Number LS Checksum Length Network Mask TOS Metric 0 0x2, Type 3(summary-LSA) Router B’s router ID 0x bytes TOS 0 (normal) Cost of 7

OSPF Areas contd.. Reduction in link state databases of an area reduction in amount of flooding traffic needed for synchronization reduction in the cost of the shortest path calculations increased robustness routing protection Hidden prefixes

Area Organization All the areas are connected to area also called the backbone area need not have a direct physical connection though –virtual links provide logical link to backbone –summary LSAs tunneled across non backbone areas exchange of routing information between areas using Distance Vector Protocol –absence of redundant paths between areas –not subject to convergence problems

Incorporating external routing information Special routers called AS boundary routers at the edge of OSPF domain ASBRs originate AS-External LSAs only routes for which the choice of an ASBR makes sense are imported otherwise default routes are used AS external LSAs similar to Summary LSAs with 2 additional fields –Forwarding address –external route tag

Interaction with areas AS-External LSAs flooded across borders ASBR summary LSAs used to know the location of the originator of AS-External LSA Link State ID of ASBR Summary LSA set to the OSPF router ID of the ASBR whose location is advertised similar to summary LSA in all other respects

OSPF Area Types Restrict the amount of external routing information within an area used when resources especially router memory is very limited two types of restricted areas –Stub Areas –NSSAs or Not-So-Stubby-Areas

OSPF Area Types Stub Areas –don’t support ASBRs and hence no AS-External-LSAs –routing to external destinations based on default routes originated by the area’s border routers –summary LSAs also made optional –must lie on the edge of OSPF routing domain –inter-area routing may also be based on default routes –improved scaling –but not preferred due to the possibility of suboptimal routes

OSPF Area Types contd.. NSSAs –import small amount of routing information –this information flooded to other areas by the NSSA Border router –Use Type-7 LSAs to import external routing information –translated into AS-External-LSA at the NSSA Border –one-way filter

Summary Why OSPF is needed in the Internet? The basics of the protocol –The Link state Advertisements –Neighbor Discovery (Hello Protocol) –Database Synchronization and reliable flooding Hierarchical Routing in OSPF –OSPF Areas and Area Organization –Interaction with External Routing Information –OSPF Area Types viz. Stub Areas and NSSAs

Issues not covered OSPF Network Types –Broadcast subnets –NBMA Subnets OSPF Extensions Multicast Routing using OSPF (MOSPF) OSPF Management and a whole lot of others!

Further Reading John T. Moy, OSPF - An Anatomy of an Internet Routing Protocol Christian Huitema, Routing in the Internet RFC 2178

Concluding Remark Thank You!