Introduction to OSPF OSPF. Link State Routing. Link State. Fast Convergence. Low Bandwidth Utilisation

Similar documents
Introduction to OSPF

Introduction to OSPF

Introduction to OSPF

OSPF Protocol Overview on page 187. OSPF Standards on page 188. OSPF Area Terminology on page 188. OSPF Routing Algorithm on page 190

Introduction to OSPF. ISP Training Workshops

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls

Link State Routing. Link State Packets. Link State Protocol. Link State Protocols Basic ideas Problems and pitfalls

Table of Contents 1 OSPF Configuration 1-1

Configuring OSPF. Cisco s OSPF Implementation

OSPF. Unless otherwise noted, OSPF refers to OSPFv2 throughout this document.

OSPF Commands. Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols IP2R-61

Table of Contents 1 Static Routing Configuration RIP Configuration 2-1

Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of opaque LSAs 40 Configuring OSPF to

Logging neighbor state changes 38 Configuring OSPF network management 39 Enabling message logging 39 Enabling the advertisement and reception of

Chapter 8 Configuring OSPF

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC

OSPF (Open Shortest Path First)

OSPF Not So Stubby Area (NSSA)

Vanguard Managed Solutions

Operation Manual Routing Protocol. Table of Contents

Open Shortest Path First (OSPF)

Cabrillo College. Rick Graziani, Instructor

Symbols. Numerics I N D E X

DD2490 p Link-state routing and OSPF. Olof Hagsand KTH/CSC

Which of the following describe the process identifier that is used to run OSPF on a router? (Choose two)

CSCD 433/533 Advanced Networks Spring 2016

OSPF (Open Shortest Path First)

Lab 4: Routing using OSPF

OSPF. OSPF processs can be enabled on 2 levels

BTEC Level 3 Extended Diploma

IPv6 Routing: OSPFv3

4A Alcatel-Lucent. Alcatel-Lucent Interior Routing Protocols and High Availability

Configuring Networking Protocols

Configuring OSPF. Finding Feature Information

DD2490 p Link state routing and OSPF. Olof Hagsand KTH/CSC

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

IP Routing Tecnologie e Protocolli per Internet II rev 1

REDDIG II Computer Networking Training

Routing Protocols. Technology Description BGP CHAPTER

Configuring OSPF. Finding Feature Information

Unit 3: Dynamic Routing

Configuring OSPF with CLI

Configuring OSPF. Finding Feature Information. Contents

Part II. Chapter 3. Determining IP Routes

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

OSPF Demand Circuit Feature

Operation Manual OSPF. Table of Contents

CCNP 1: Advanced Routing

OSPF. About OSPF. CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.4 1

ABR (Area Border Router), 206, 216 access, dedicated networks, 23 access layer, three-layer hierarchical design model, 6

Routing Protocol - IS-IS

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

Teldat Router. OSPF Protocol

Network Working Group. Category: Standards Track Juniper Networks J. Moy Sycamore Networks December 1999

Routing in the Internet

OSPF Commands: A through Z

Nortel Ethernet Routing Switch 5000 Series Configuration IP Routing Protocols. Release: 6.1 Document Revision:

Internet Routing Protocols Tuba Saltürk

Routing Protocol. RIPv1

The Quickest Way To Get Certified (BSCI ) TestKing's Building Scalable Cisco Internetworks. Version 20.

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

9.1. Routing Protocols

HP Load Balancing Module

Chapter 1 The IP Routing Protocols

Cisco Building Scaleable Cisco Internetworks (BSCI) Practice Test. Version

Standard Areas OSPF AREA TYPES:

Introduction to IS-IS

Chapter 7: Routing Dynamically. Routing & Switching

Performance Comparison of OSPF and IS-IS Routing Protocols in Dual-Stack Enterprise Networks. Paris Alexandros Roussinos

TDC 363 Introduction to LANs

Simulation Based EIGRP over OSPF Performance Analysis

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Interior Routing Protocols and High Availability.

Planning for Information Network

OSPF Stub Router Advertisement

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

Alcatel-lucent EXAM - 4A Alcatel-Lucent Interior Routing Protocols and High Availability. Buy Full Product.

Implementing Cisco IP Routing (ROUTE)

BSCI. Section 5. Intermediate System-to- Intermediate System (IS-IS)

Explanation: In order to verify proper route redistribution, use the "show ip route" command on all routers

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1

Chapter 3 Lab 3-2, Multi-Area OSPFv2 and OSPFv3 with Stub Area

Configuring OSPF. Finding Feature Information. Last Updated: June 24, 2011

Chapter 7 Routing Protocols

Alcatel-Lucent 7705 SERVICE AGGREGATION ROUTER OS RELEASE 5.0 ROUTING PROTOCOLS GUIDE ROUTING PROTOCOLS GUIDE

Basic Idea. Routing. Example. Routing by the Network

Configuration OSPF and RIP Avaya Virtual Services Platform 9000

Routing by the Network

Routing II: Protocols (RIP, EIGRP, OSPF, PNNI, IS-IS): Brief Version

Network Working Group. Category: Standards Track Stanford University March 1994

Introduction to Routing

OSPF Commands. adjacency stagger, page 7. authentication-key (OSPF), page 14

This document is exclusive property of Cisco Systems, Inc. Permission is granted to print and copy this document for non-commercial distribution and

CIS 83 Midterm Spring 2004 Answer Sheet Name Score Grade Question Answer Question Answer

DD2490 p Lecture 4: OSPF. Link-state routing and Open Shortest Path First. Olof Hagsand KTH CSC

Fravo.com. Certification Made Easy. MCSE, CCNA, CCNP, OCP, CIW, JAVA, Sun Solaris, Checkpoint. World No1 Cert Guides

OSPFv3 Commands. address-family (OSPFv3), page 4. authentication (OSPFv3), page 7

Table of Contents. Cisco Introduction to EIGRP

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full

OSPF Commands on Cisco IOS XR Software

Transcription:

Introduction to OSPF ISP/IP Workshops OSPF Open Shortest Path First Link state or SPF technology Developed by OSPF working group of IETF (RFC 47) Designed for TCP/IP Internet environment Fast convergence Variable-length subnet masks Discontiguous subnets No periodic updates Route authentication OSPF standard described in RFC8 Link State Link State Routing Q s Link State Q s Link State Z Y Z s Link State A B C Q Z Topology Information Is Kept in a Database Separate from the Routing Table Neighbour discovery Constructing a Link State Packet (LSP) Distribute the LSP (Link State Announcement LSA) Compute routes On network failure New LSPs flooded All routers recompute routing tables 4 Low Bandwidth Utilisation Fast Convergence LSA LSA Detection Plus LSA/SPF Alternate Path Only changes propagated Multicast on multi-access broadcast N R N Primary Path 5 6

Fast Convergence IP Multicast for Sending/Receiving Updates Finding a new route LSA flooded throughout area Acknowledgement based Topology database synchronised Each router derives routing table to destination N LSA Broadcast All routers must accept packets sent to AllSPFRouters (4.0.0.5) All DR and BDR routers must accept packets sent to AllDRouters (4.0.0.6) packets sent to AllSPFRouters (Unicast on point-to-point and virtual links) 7 8 OSPF Areas Classification of Routers Group of contiguous hosts and Per area topological database Invisible outside the area Reduction in routing traffic Backbone area contiguous Area Area Rc Rb Backbone Area All other areas must be Area 4 connected to the backbone R5 R8 R7 Virtual Links Area Rd R6 Ra R R4 To other AS R5 IR Area Area Area Rc Rd R ABR/BR R4 Rb Ra IR/BR IR Internal Router (IR) Area Border Router (ABR) Backbone Router (BR) Autonomous System Border Router () 9 0 OSPF Route Types Inter-Area Route Summarisation To other AS R5 IR Area Area Area Rc Rd R ABR/BR R4 Rb Ra IR Intra-area Route all routes inside an area Inter-area Route routes advertised from one area to another by an Area Border Router Route routes imported into OSPF from other protocol or static routes Prefix or all subnets Prefix or all Area range command With summarisation Without summarisation Network Network.A.B.C Next Hop Next Hop (ABR) FDDI Dual Ring.A.B.C Backbone Area

Routes Prefixes which are redistributed into OSPF from other protocols Flooded unaltered throughout the AS OSPF supports two types of external metrics Type external metrics Type external metrics () OSPF Redistribute RIP IGRP EIGRP BGP etc. Routes Type external metric: metrics are added to the summarised internal link cost Network N N Type 0 Cost = 0 Cost = 8 Next Hop R R Selected Route to N Cost = to N Cost = 4 Routes Type external metric: metrics are compared without adding to the internal link cost Network N N Type Cost = 0 Cost = 8 Next Hop R R Selected Route to N Cost = to N Cost = Topology/Link State Database A router has a separate LS database for each area to which it belongs All routers belonging to the same area have identical database SPF calculation is performed separately for each area LSA flooding is bounded by area 5 6 Protocol Functionality The Protocol Bringing up adjacencies LSA types Area classification Responsible for establishing and maintaining neighbour relationships Elects designated router on multi-access FDDI Dual Ring 7 8

The Packet Designated Router Router priority interval There is ONE designated router per multi-access network Generates network link advertisements Assists in database synchronization Router dead interval FDDI Dual Ring Designated Router Backup Designated Router Network mask Options: T-bit, E-bit List of neighbours Designated Router Backup Designated Router 9 0 Designated Router by Priority Neighbouring States Configured priority (per interface) Else determined by highest router ID Router ID is the loopback interface address, if configured, otherwise the highest IP address Full Routers are fully adjacent Databases synchronised Relationship to DR and BDR.08...08.. DR Router ID = 44.54..5 Router ID =.08.. Full 44.54..5 DR BDR Neighbouring States When to Become Adjacent -way Router sees itself in other packets DR selected from neighbours in state -way or greater -way Underlying network is point to point Underlying network type is virtual link The router itself is the designated router The router itself is the backup designated router The neighbouring router is the designated router The neighbouring router is the backup designated router DR BDR 4 4

LSAs Propagate Along Adjacencies Routing Protocol Packets DR BDR LSAs acknowledged along adjacencies Share a common protocol header Routing protocol packets are sent with type of service (TOS) of 0 Five types of OSPF routing protocol packets packet type Database description packet type Link-state request packet type Link-state update packet type 4 Link-state acknowledgement packet type 5 5 6 Different Types of LSAs Router LSA (Type ) Four distinct type of LSAs Type : Router LSA Type : Network LSA Type and 4: Summary LSA Type 5 and 7: LSA Describes the state and cost of the router s links to the area All of the router s links in an area must be described in a single LSA Flooded throughout the particular area and no more Router indicates whether it is an, ABR, or end point of virtual link 7 8 Network LSA (Type ) Summary LSA (Type and 4) Generated for every transit broadcast and NBMA network Describes all the routers attached to the network Only the designated router originates this LSA Flooded throughout the area and no more Describes the destination outside the area but still in the AS Flooded throughout a single area Originated by an ABR Only inter-area routes are advertised into the backbone Type 4 is the information about the 9 0 5

LSA (Type 5 and 7) Defines routes to destination external to the AS route is also sent as external Two types of external LSA: E: Consider the total cost up to the external destination E: Considers only the cost of the outgoing interface to the external destination (Type 7 LSAs used to describe external LSA for one specific OSPF area type) No Summarisation Specific Link LSA advertised out of each area Link state changes propagated out of each area.a.b.c.d.a.c.d.b.a.b.c.d.a.b.a.c links.a.b.c.d.d.b.c.d With Summarisation Only summary LSA advertised out of each area Link state changes do not propagate out of the area links No Summarisation Specific Link LSA advertised in to each area Link state changes propagated in to each area.a.b.c.d.a.b.c.d.a.b.c.d.a.b.c.d links.a.b.c.d.a.b.c.d.a.b.a.b.a.b.a.b.c.d.a.b.c.d.c.d.a.b.c.d.c.d.c.d 4 With Summarisation Only summary link LSA advertised in to each area Link state changes do not propagate in to each area.a.b.a links.b Types of Areas Regular Stub Totally Stubby Not-So-Stubby.C.D.A.B.C.D.C.D 5 6 6

Regular Area (Not a Stub) From Area s point of view, summary from other areas are injected as are external such as..... Normal Stub Area Summary, default route injected Command is area x stub...a.b..a.b..a.b..a.b.c.d..a.b.c.d.c.d..a.b.c.d.c.d.c.d 7 8 Totally Stubby Area Only a default route injected path to closest area border router Command is area x stub no-summary Totally Stubby Area. Not-So-Stubby Area Capable of importing routes in a limited fashion Type-7 LSA s carry external information within an NSSA NSSA Border routers translate selected type-7 LSAs into type-5 external network LSAs. Not-So- Stubby Area.....A.B..A.B..A.B...A.B.C.D..A.C.D.B.C.D..C.D..A.C.D.B.C.D 9 40 Addressing for Areas Summary network 9.7.49.0 range 55.55.55.0 Scalable OSPF Network Design Area hierarchy Stub areas Area network.08.0.0 subnets 0-5 range 55.55.40.0 Area network.08.0.0 subnets 6- range 55.55.40.0 Area network.08.0.0 subnets -47 range 55.55.40.0 Contiguous addressing Route summarisation Assign contiguous ranges of subnets per area to facilitate summarisation 4 4 7

Introduction to OSPF ISP/IP Workshops 4 8