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

Similar documents
OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Link-State Routing Protocols

OSPF Routing Protocol

Route Discovery Protocols

Introduction to Link State Protocols

Interconnecting Multiple OSPF Areas

Textbook Required: Cisco Networking Academy Program CCNP: Building Scalable Internetworks v5.0 Lab Manual.

OSPF Configuring Multi-Area OSPF

Monitoring Routing. Monitoring OSPF LSAs. Type 1 CHAPTER

CCNA2 Chapter 11 Practice

GregSowell.com. Mikrotik Routing

Example: Advertised Distance (AD) Example: Feasible Distance (FD) Example: Successor and Feasible Successor Example: Successor and Feasible Successor

Layer 3 Routing User s Manual

Routing with OSPF. Introduction

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Deploying OSPF for ISPs. OSPF Design. Agenda. Service Providers. SP Architecture. SP Architecture. OSPF Design in SP Networks

Using OSPF in an MPLS VPN Environment

Networking. Palo Alto Networks. PAN-OS Administrator s Guide Version 6.0. Copyright Palo Alto Networks

Table of Contents. Cisco How Does Load Balancing Work?

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

Introduction to TCP/IP

Configuring a Gateway of Last Resort Using IP Commands

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

How To Understand Bg

CCNA 2 v5.0 Routing Protocols Final Exam Answers

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

Chapter 10 Link-State Routing Protocols

IP Routing Configuring RIP, OSPF, BGP, and PBR

Router and Routing Basics

Using the Border Gateway Protocol for Interdomain Routing

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

Chapter 4. Distance Vector Routing Protocols

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

Understanding Virtual Router and Virtual Systems

ZXR /5200 Series

Introduction to ISIS. ISP/IXP Workshops

Seminar Seite 1 von 10

Based on Computer Networking, 4 th Edition by Kurose and Ross

Administrative Distance

Border Gateway Protocol (BGP)

Cisco Configuring Commonly Used IP ACLs

Route Optimization. rek Petr Grygarek, VSB-TU Ostrava, Routed and Switched Networks 1

GregSowell.com. Intro to Networking Mikrotik/Cisco

IP Routing Configuring Static Routes

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

APNIC elearning: BGP Attributes

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

Advanced IP Addressing

Notice the router names, as these are often used in MPLS terminology. The Customer Edge router a router that directly connects to a customer network.

Introduction to Dynamic Routing Protocols

Interconnecting Cisco Networking Devices Part 2

ASA 9.x EIGRP Configuration Example

Table of Contents. Cisco Configuring a Basic MPLS VPN

Cisco s OSPF Implementation P1C-107

Integrated IS-IS Design and Deployment Guide

Border Gateway Protocol (BGP-4)

Cisco Configuring Basic MPLS Using OSPF

CCNP CISCO CERTIFIED NETWORK PROFESSIONAL LAB MANUAL

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

- Multiprotocol Label Switching -

Network Level Multihoming and BGP Challenges

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Configuration IP Routing and Multicast Avaya Ethernet Routing Switch 4500 Series

Kingston University London

IMPLEMENTING CISCO IP ROUTING V2.0 (ROUTE)

Internet Protocol version 4 Part I

ISIS for ISPs. ISP/IXP Workshops

Chapter 1 Implement EIGRP operations Chapter 2 Implement multiarea OSPF operations Chapter 4 Implement Cisco IOS routing features...

IP Routing Tecnologie e Protocolli per Internet II rev 1

basic BGP in Huawei CLI

Internetworking and Internet-1. Global Addresses

O /27 [110/129] via , 00:00:05, Serial0/0/1

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

BGP. 1. Internet Routing

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

: Interconnecting Cisco Networking Devices Part 2 v1.1

Brocade to Cisco Comparisons

IPv6 over MPLS VPN. Contents. Prerequisites. Document ID: Requirements

04 Internet Protocol (IP)

Advanced Routing. FortiOS Handbook v3 for FortiOS 4.0 MR3

MPLS Implementation MPLS VPN

Understanding Large Internet Service Provider Backbone Networks

Routing Protocols (RIP, OSPF, BGP)

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Border Gateway Protocol BGP4 (2)

Inter-domain Routing. Outline. Border Gateway Protocol

Designing and Developing Scalable IP Networks

Understanding Route Redistribution & Filtering

BGP (Border Gateway Protocol)

DEGREE THESIS. Improving Network Performance by Implementing the Path Control Tools. Derick Kolle Nduge, Augustine Chika, Mohammednur Ibrahim

DG Forwarding Algorithm

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Transcription:

Introduction to OSPF ISP/IP 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 All other areas must be connected to the backbone Area Area Rc Rb Backbone Area Virtual Links Area R8 Rd Area 4 R6 R7 R5 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 Routes Prefixes which are redistributed into OSPF from other protocols Type external metric: metrics are added to the summarised internal link cost Flooded unaltered throughout the AS OSPF supports two types of external metrics Cost = 0 to N Cost = Type external metrics Type external metrics () OSPF Redistribute RIP IGRP EIGRP BGP etc. Network N N Type 0 Cost = 8 Next Hop R R Selected Route to N Cost = 4 Routes Topology/Link State Database Type external metric: metrics are compared without adding to the internal link cost Cost = 0 Cost = 8 R to N Cost = to N Cost = 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 Network N N Type Next Hop R Selected Route LSA flooding is bounded by area 5 6 Protocol Functionality Bringing up adjacencies LSA types Area classification The Protocol 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 9 Designated Router Backup Designated Router 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 Share a common protocol header Routing protocol packets are sent with type of service (TOS) of 0 Five types of OSPF routing protocol packets DR BDR LSAs acknowledged along adjacencies 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.a.b.c.d.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 4 8