Chapter 10 Link-State Routing Protocols



Similar documents
Link-State Routing Protocols

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

Chapter 4. Distance Vector Routing Protocols

Router and Routing Basics

Introduction to Dynamic Routing Protocols

Layer 3 Routing User s Manual

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

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

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

Distance Vector Routing Protocols. Routing Protocols and Concepts Ola Lundh

COURSE AGENDA. Lessons - CCNA. CCNA & CCNP - Online Course Agenda. Lesson 1: Internetworking. Lesson 2: Fundamentals of Networking

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

CCNA 2 v5.0 Routing Protocols Final Exam Answers

CCNA2 Chapter 11 Practice

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Introduction to LAN/WAN. Network Layer

Introduction to Link State Protocols

Table of Contents. Cisco How Does Load Balancing Work?

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

Course Contents CCNP (CISco certified network professional)

IMPLEMENTING CISCO IP ROUTING V2.0 (ROUTE)

A REPORT ON ANALYSIS OF OSPF ROUTING PROTOCOL NORTH CAROLINA STATE UNIVERSITY

Interconnecting Cisco Network Devices 1 Course, Class Outline

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

How To Learn Cisco Cisco Ios And Cisco Vlan

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

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

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

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

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

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

INTERCONNECTING CISCO NETWORK DEVICES PART 1 V2.0 (ICND 1)

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

"Charting the Course...

: Interconnecting Cisco Networking Devices Part 2 v1.1

Routing with OSPF. Introduction

Interconnecting Cisco Networking Devices Part 2

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

Introduction to ISIS. ISP/IXP Workshops

Configuring a Gateway of Last Resort Using IP Commands

Integrated IS-IS Design and Deployment Guide

OSPF Routing Protocol

Using OSPF in an MPLS VPN Environment

Administrative Distance

KT The Value Networking Company

Lecture 12: Link-state Routing"

Switching Basics and Intermediate Routing CCNA 3 Labs and Study Guide Allan Johnson

ISOM3380 Advanced Network Management. Spring Course Description

Cisco 12 CCNA Certification

Simulation of Heuristic Usage for Load Balancing In Routing Efficiency

Interconnecting Cisco Networking Devices, Part 2 Course ICND2 v2.0; 5 Days, Instructor-led

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

GregSowell.com. Mikrotik Routing

INTERCONNECTING CISCO NETWORKING DEVICES PART 2 V2.0 (ICND 2)

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)

Using the Border Gateway Protocol for Interdomain Routing

Interconnecting Cisco Networking Devices: Accelerated (CCNAX) 2.0(80 Hs) 1-Interconnecting Cisco Networking Devices Part 1 (40 Hs)

Cisco Discovery 3: Introducing Routing and Switching in the Enterprise hours teaching time

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

Evaluation And Implementation Of The Open Shortest Path First (OSPF) Routing Protocol

Description: Objective: Upon completing this course, the learner will be able to meet these overall objectives:

CS335 Sample Questions for Exam #2

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

Cisco Certified Network Associate (CCNA) 120 Hours / 12 Months / Self-Paced WIA Fee: $

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

DG Forwarding Algorithm

Introduction about cisco company and its products (network devices) Tell about cisco offered courses and its salary benefits (ccna ccnp ccie )

Cisco Configuring Basic MPLS Using OSPF

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

6.02 Practice Problems: Routing

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

Internet Control Message Protocol (ICMP)

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

ASM Educational Center (ASM) Est. 1992

MPLS Traffic Engineering in ISP Network

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

CCNA Exploration 4.0: (II) Routing Protocols and Concepts. Chapter 1: Introduction to Routing and Packet Forwarding

Question 1. [7 points] Consider the following scenario and assume host H s routing table is the one given below:

Route Discovery Protocols

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

Computer Networks. Main Functions

OSPF Configuring Multi-Area OSPF

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

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Routing in packet-switching networks

Advanced IP Addressing

ANZA Formación en Tecnologías Avanzadas

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

The Complete IS-IS Routing Protocol

Configuring RIP. Overview. Routing Update Process CHAPTER

IP Routing Configuring RIP, OSPF, BGP, and PBR

Chapter 3. Enterprise Campus Network Design

Introduction to IP Multicast Routing

ProCurve Networking IPv6 The Next Generation of Networking

Border Gateway Protocol (BGP)

Transcription:

Chapter 10 Link-State Routing Protocols CCNA2-1 Chapter 10 Note for Instructors These presentations are the result of a collaboration among the instructors at St. Clair College in Windsor, Ontario. Thanks must go out to Rick Graziani of Cabrillo College. His material and additional information was used as a reference in their creation. If anyone finds any errors or omissions, please let me know at: tdame@stclaircollege.ca. CCNA2-2 Chapter 10

EIGRP Link-State Routing CCNA2-3 Chapter 10 Link-State Routing Protocols Link-state routing protocols are also known as shortest path first protocols and are built around Edsger Dijkstra s s shortest path first (SPF) algorithm. While they have the reputation of being much more complex than distance vector, the basic functionality and configuration of link state routing protocols are not complex. CCNA2-4 Chapter 10

Link-State Routing Protocols Distance Vector routing protocols are like road signs. Routers must make preferred path decisions based on a distance or metric to a network. Link-State routing protocols are more like a road map. They create a topological map of the network and each router uses this map to determine the shortest path to each network. CCNA2-5 Chapter 10 Introduction to the SPF Algorithm Dijkstra s s algorithm is commonly referred to as the Shortest Path First (SPF) algorithm. This algorithm accumulates costs along each path, from source to destination. CCNA2-6 Chapter 10

Introduction to the SPF Algorithm We will see that Cisco's implementation of OSPF specifies the cost of the link (the OSPF routing metric) as the bandwidth of the outgoing interface. CCNA2-7 Chapter 10 Introduction to the SPF Algorithm To illustrate how SPF operates, each path in the figure is labeled with an arbitrary value for cost. Each router calculates the SPF algorithm and determines the cost of a link from its own perspective. CCNA2-8 Chapter 10

Introduction to the SPF Algorithm For example: The cost of the shortest path for R2 to send packets to the LAN attached to R3 is 27 (20 + 5 + 2 = 27). CCNA2-9 Chapter 10 Introduction to the SPF Algorithm R1 uses 3 hops but faster links. 2 7 32 R1 has data to send to the network on R5. You might think that R1 would send directly to R4 (2 hops) instead of to R3 (3 hops). CCNA2-10 Chapter 10

Link-State Routing Process How does a link-state routing protocol work? 5 Step Process: 1. Each router learns about its own directly connected networks. 2. Each router is responsible for contacting its neighbors on directly connected networks. 3. Each router builds a link-state packet (LSP) containing the state of each directly connected link. 4. Each router floods the LSP to all neighbors, who then store all LSPs received in a database. 5. Each router uses the LSPs to construct a database that is a complete map of the topology and computes the best path to each destination network. CCNA2-11 Chapter 10 Step 1: Directly Connected Networks We will focus on the Link-State routing process from the perspective of R1. Step 1: Each router learns about its own directly connected networks. When a router interface is configured with an IP address and subnet mask and activated, the interface becomes part of that network. Regardless of the routing protocols used,, these directly connected networks are now part of the routing table. CCNA2-12 Chapter 10

Step 1: Directly Connected Networks Information about the state of a router s s links is known as link states. CCNA2-13 Chapter 10 Step 2: Hello Packets Step 2: Each router is responsible for contacting its neighbors on directly connected networks. The router will not be aware of any neighbor routers on the link until it receives a Hello packet from that neighbor. At that time, it establishes an adjacency with the neighboring router. CCNA2-14 Chapter 10

Step 2: Hello Packets CCNA2-15 Chapter 10 Step 2: Hello Packets A neighbor is any other router that is enabled with the same link-state routing protocol. These small Hello packets continue to be exchanged between two adjacent neighbors. These packets serve as a keepalive function to monitor the state of the neighbor. CCNA2-16 Chapter 10

Step 3: Build the Link-State Packet (LSP) Step 3: Each router builds a link-state packet (LSP) containing the state of each directly connected link. The LSP contains the link-state information about the sending router s s links. The router only sends LSPs out interfaces where it has established adjacencies with other routers. CCNA2-17 Chapter 10 Step 4: Flooding Link-State Packets No response to Hello no LSP sent. Flooding of R1 LSP Step 4: Each router floods the LSP to all neighbors,, who then store all LSPs received in a database. Whenever a router receives an LSP from a neighboring router, it immediately sends that LSP out all other interfaces, except the interface that received the LSP. CCNA2-18 Chapter 10

Step 4: Flooding Link-State Packets Link-state routing protocols calculate the SPF algorithm after the flooding is complete. As a result, link-state routing protocols reach convergence much faster than distance vector routing protocols. CCNA2-19 Chapter 10 Step 4: Flooding Link-State Packets An LSP needs to be sent only: During initial startup of the router or routing protocol. Whenever there is a change in the topology (link going down or coming up) or a neighbor adjacency being established or broken. CCNA2-20 Chapter 10

Step 5: Constructing a Link-State Database Step 5: Each router uses the LSPs to construct a database that is a complete map of the topology and computes the best path to each destination network. CCNA2-21 Chapter 10 Step 5: Constructing a Link-State Database As a result of the flooding process, router R1 has learned the link-state information for each router in its routing area. CCNA2-22 Chapter 10

Step 5: Constructing a Link-State Database Each router in the topology determines the shortest path from its own perspective. With a complete link-state database, R1 can now use the database and the shortest path first (SPF) algorithm to calculate the preferred path or shortest path to each network. CCNA2-23 Chapter 10 R1: Building the SPF Tree CCNA2-24 Chapter 10

R1: Building the SPF Tree Root All LSPs have been processed using the SPF algorithm and R1 has now constructed the complete SPF tree. CCNA2-25 Chapter 10 R1: Determining the Shortest Path Root Using this tree, the SPF algorithm results indicate the shortest path to each network. CCNA2-26 Chapter 10

R1: Determining the Shortest Path Root Network 10.5.0.0/16 via R2 Serial 0/0/0 at a cost of 22 CCNA2-27 Chapter 10 R1: Determining the Shortest Path Root Network 10.6.0.0/16 via R3 Serial 0/0/1 at a cost of 7 CCNA2-28 Chapter 10

R1: Determining the Shortest Path Root Network 10.7.0.0/16 via R3 Serial 0/0/1 at a cost of 15 CCNA2-29 Chapter 10 R1: Determining the Shortest Path Root Network 10.8.0.0/16 via R3 Serial 0/0/1 at a cost of 17 CCNA2-30 Chapter 10

R1: Determining the Shortest Path Root Network 10.9.0.0/16 via R2 Serial 0/0/0 at a cost of 30 CCNA2-31 Chapter 10 R1: Determining the Shortest Path Root Network 10.10.0.0/16 via R3 Serial 0/0/1 at a cost of 25 CCNA2-32 Chapter 10

R1: Determining the Shortest Path Root Network 10.11.0.0/16 via R3 Serial 0/0/1 at a cost of 27 CCNA2-33 Chapter 10 Generating a Routing Table CCNA2-34 Chapter 10

EIGRP Implementing Link-State Routing Protocols CCNA2-35 Chapter 10 Advantages: Link-State CCNA2-36 Chapter 10

Hierarchical Design Link-state routing protocols such as OSPF and IS-IS use the concept of areas. Multiple areas create a hierarchical design to networks, allowing better route aggregation (summarization) and the isolation of routing issues within an area. CCNA2-37 Chapter 10 Requirements: Link-State Memory Requirements: Link-state routing protocols typically require more memory, more CPU processing and, at times, more bandwidth than distance vector routing protocols. The memory requirements are because of the use of: Link-state databases. Creation of the SPF tree. CCNA2-38 Chapter 10

Requirements: Link-State Processing Requirements: Link-state protocols can also require more CPU processing than distance vector routing protocols. The SPF algorithm requires more CPU time than distance vector algorithms because link-state protocols build a complete map of the topology. CCNA2-39 Chapter 10 Requirements: Link-State Bandwidth Requirements: The flooding of link-state packets can adversely affect the available bandwidth on a network. This should only occur during initial startup of routers, but it can also be an issue on unstable networks. CCNA2-40 Chapter 10

Comparison: Link-State There are two link-state routing protocols used for routing IP today: Open Shortest Path First (OSPF) Intermediate System to Intermediate System (IS-IS) IS) CCNA2-41 Chapter 10 Comparison: Link-State OSPF was designed by the IETF (Internet Engineering Task Force) OSPF Working Group. It which still exists today. The development of OSPF began in 1987 and there are two current versions in use: OSPFv2: OSPF for IPv4 networks OSPFv3: OSPF for IPv6 networks CCNA2-42 Chapter 10

Comparison: Link-State IS-IS was designed by the ISO (International Organization for Standardization). IS-IS was originally designed for the OSI protocol suite. Later, Integrated IS-IS, IS, or Dual IS-IS, IS, included support for IP networks. Although IS-IS has been known as the routing protocol used mainly by ISPs and carriers,, more enterprise networks are beginning to use IS-IS. IS. CCNA2-43 Chapter 10