Why dynamic route? (1)

Similar documents
BTEC Level 3 Extended Diploma

Introduction to Dynamic Routing Protocols

Routing Protocols and

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

Chapter 7: Routing Dynamically. Routing & Switching

Chapter 7 Routing Protocols

Lecture 12. Introduction to IP Routing. Why introduction? Routing

Routing in the Internet

Interplay Between Routing, Forwarding

Introduction to Computer Networks

SEMESTER 2 Chapter 3 Introduction to Dynamic Routing Protocols V 4.0

Planning for Information Network

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Chapter 3. Introduction to Dynamic Routing Protocols. CCNA2-1 Chapter 3

Chapter 4: Network Layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

Computer Networking Introduction

Antonio Cianfrani. Routing Protocols

Course Routing Classification Properties Routing Protocols 1/39

Internet Routing Protocols Tuba Saltürk

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Chapter 4: outline. Network Layer 4-1

ROUTING PROTOCOLS. Mario Baldi Routing - 1. see page 2

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

Chapter IV: Network Layer

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Determining IP Routes. 2000, Cisco Systems, Inc. 9-1

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

Topics for This Week

IP Routing. Bharat S. Chaudhari International Institute of Information Technology Pune, India

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

COMPARATIVE ANALYSIS OF ROUTING PROTOCOLS

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

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

Internet Routing : Fundamentals of Computer Networks Bill Nace

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

CSc 450/550 Computer Networks Internet Routing

Routing Protocol. Seiya Tsubone. Apr The University of Tokyo. Seiya Tsubone (The University of Tokyo) Routing Protocol Apr. 25.

Inter-domain Routing. Outline. Border Gateway Protocol

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

COMP/ELEC 429 Introduction to Computer Networks

Routing Protocols. Autonomous System (AS)

CS4700/CS5700 Fundamentals of Computer Networks

CSCD 330 Network Programming Spring 2018

Open Shortest Path First (OSPF)

CSCD 330 Network Programming Spring 2017

Finish Network Layer Start Transport Layer. CS158a Chris Pollett Apr 25, 2007.

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Basic Idea. Routing. Example. Routing by the Network

Routing. Advanced Computer Networks: Routing 1

Routing by the Network

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

CS321: Computer Networks Unicast Routing

Department of Computer and IT Engineering University of Kurdistan. Computer Networks II Border Gateway protocol (BGP) By: Dr. Alireza Abdollahpouri

Routing. Info 341 Networking and Distributed Applications. Addresses, fragmentation, reassembly. end-to-end communication UDP, TCP

CS BGP v4. Fall 2014

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

TDC 363 Introduction to LANs

Overview. Information About Layer 3 Unicast Routing. Send document comments to CHAPTER

Overview 4.2: Routing

Border Gateway Protocol

Overview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load

Network Layer: Routing

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Top-Down Network Design

Inter-AS routing and BGP. Network Layer 4-1

Shortest Paths Algorithms and the Internet: The Distributed Bellman Ford Lecturer: Prof. Chiara Petrioli

Configuring BGP. Cisco s BGP Implementation

Chapter 6 Reading Organizer

CSC 4900 Computer Networks: Routing Protocols

DATA COMMUNICATOIN NETWORKING

The most simple way to accelerate a Router is at 9.8 m/sec/sec.

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

Introduction to IP Routing. Geoff Huston

Inter-Domain Routing: BGP

Lecture 19: Network Layer Routing in the Internet

Lecture 4. The Network Layer (cont d)

IP Protocols. ALTTC/Oct

Internet Routing Protocols, DHCP, and NAT

Routing. Outline. Algorithms Scalability

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Network Protocols. Routing. TDC375 Winter 2002 John Kristoff - DePaul University 1

Table of Contents. Cisco Introduction to EIGRP

Configuring IP Routing Protocols

Routing Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of

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

MPLS VPN--Show Running VRF

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

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

Chapter 5 RIP version 1

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

Network Layer, Part 2 Routing. Terminology

Keywords RIP, OSPF, IGP, EGP, AS, LSA

Unit 3: Dynamic Routing

Transcription:

Routing

Why dynamic route? (1) Static route is ok only when Network is small There is a single connection point to other network No redundant route 2

Why dynamic route? (2) Dynamic Routing Routers update their routing table with the information of adjacent routers Dynamic routing need a routing protocol for such communication Advantage: They can react and adapt to changing network condition 3

Routing Protocol Used to change the routing table according to various routing information Specify detail of communication between routers Specify information changed in each communication, Network reachability Network state Metric Metric A measure of how good a particular route Hop count, bandwidth, delay, load, reliability, Each routing protocol may use different metric and exchange different information 4

Autonomous System Autonomous System (AS) Internet is organized into a collection of autonomous system An AS is a collection of networks with same routing policy Single routing protocol Normally administered by a single entity Corporation or university campus All depend on how you want to manage routing 5

Category of Routing Protocols by AS AS-AS communication Communications between routers in different AS Interdomain routing protocols Exterior gateway protocols (EGP) Ex: BGP (Border Gateway Protocol) Inside AS communication Communication between routers in the same AS Intradomain routing protocols Interior gateway protocols (IGP) Ex: RIP (Routing Information Protocol) IGRP (Interior Gateway Routing Protocol) OSPF (Open Shortest Path First Protocol) 6

Intra-AS and Inter-AS routing a Host h1 C.b A.a b C a d A b Intra-AS routing within AS A inter-as, intra-as routing in gateway A.c Inter-AS routing between A and B A.c c B.a a B c b Host h2 Intra-AS routing within AS B network layer link layer physical layer 7

Category of Routing Protocols by information changed (1) Distance-Vector Protocol Message contains a vector of distances, which is the cost to other network Each router updates its routing table based on these messages received from neighbors Protocols: RIP IGRP BGP 8

Category of Routing Protocols by information changed (2) Link-State Protocol Broadcast their link state to neighbors and build a complete network map at each router using Dijkstra algorithm Protocols: OSPF 9

Difference between Distance-Vector and Link-State Difference Update Convergence Information update sequence Distance-Vector updates neighbor (propagate new info.) Propagation delay cause slow convergence Link-State update all nodes Fast convergence Complexity simple Complex 10 Distance-Vector Link-State

Routing Protocols RIP IGRP OSPF BGP IGP,DV IGP,DV IGP,LS EGP

RIP RIP Routing Information Protocol Category Interior routing protocol Distance-vector routing protocol Using hop-count as the cost metric Example of how RIP advertisements work Destination network Next router # of hops to destination Destination network Next router # of hops to destination Destination network Next router # of hops to destination 1 A 2 30 C 4 1 A 2 20 B 2 1 -- 1 20 B 2 30 B 7 10 -- 1 30 A 5 12 Routing table in router before Receiving advertisement Advertisement from router A Routing table after receiving advertisement

RIP Example Another example 13

RIP Message Format RIP message is carried in UDP datagram Command: 1 for request and 2 for reply Version: 1 or 2 (RIP-2) 20 bytes per route entry 14

RIP Operation routed RIP routing daemon Operated in UDP port 520 Operation Initialization Probe each interface send a request packet out each interface, asking for other router s complete routing table Request received Send the entire routing table to the requestor Response received Add, modify, delete to update routing table Regular routing updates Router sends out their routing table to every neighbor every 30 minutes Triggered updates Whenever a route entry s metric change, send out those changed part routing table 15

RIP Problems of RIP Issues 15 hop-count limits Take long time to stabilize after the failure of a router or link No CIDR RIP-2 EGP support AS number CIDR support 16

IGRP (1) IGRP Interior Gateway Routing Protocol Similar to RIP Interior routing protocol Distance-vector routing protocol Difference between RIP Complex cost metric other than hop count delay time, bandwidth, load, reliability The formula Use TCP to communicate routing information Cisco System s proprietary routing protocol 17

IGRP (2) Advantage over RIP Control over metrics Disadvantage Still classful and has propagation delay 18

OSPF (1) OSPF Open Shortest Path First Category Interior routing protocol Link-State protocol Each interface is associated with a cost Generally assigned manually The sum of all costs along a path is the metric for that path Neighbor information is broadcast to all routers Each router will construct a map of network topology Each router run Dijkstra algorithm to construct the shortest path tree to each routers 19

OSPF Dijkstra Algorithm Single Source Shortest Path Problem Dijkstra algorithm use greedy strategy Ex: 20

OSPF Routing table update example (1) 21

OSPF Routing table update example (2) 22

OSPF Summary Advantage Fast convergence CIDR support Multiple routing table entries for single destination, each for one type-of-service Load balancing when cost are equal among several routes Disadvantage Large computation 23

BGP BGP Border Gateway Protocol Exterior routing protocol Now BGP-4 Exchange network reachability information with other BGP systems Routing information exchange Message: Full path of autonomous systems that traffic must transit to reach destination Can maintain multiple route for a single destination Exchange method Using TCP Initial: entire routing table Subsequent update: only sent when necessary Advertise only optimal path Route selection Shortest AS path 24

BGP Operation Example How BGP work The whole Internet is a graph of autonomous systems X Z Original: X A B C Z X advertise this best path to his neighbor W W Z W X A B C Z W X Z 25

Routing Protocols Comparison 26

routed

routed Routing daemon Speak RIP (v1 and v2) Supplied with most every version of UNIX Two modes Server mode (-s) & Quiet mode (-q) Both listen for broadcast, but server will distribute their information routed will add its discovered routes to kernel s routing table Support configuration file - /etc/gateways Provide static information for initial routing table 28