Routing Algorithms McGraw-Hill The McGraw-Hill Companies, Inc., 2001

Similar documents
Computer Networks. Routing

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

5.2 Routing Algorithms

Telecommunication Protocols Laboratory Course. Lecture 3

Chapter 5 (Week 9) The Network Layer ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP BLM431 Computer Networks Dr.

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

UNIT 2 ROUTING ALGORITHMS

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

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

Routing in packet-switching networks


ITEC310 Computer Networks II

Network Layer, Part 2 Routing. Terminology

Lecture 9: Switched Ethernet Features: STP and VLANs

II. Principles of Computer Communications Network and Transport Layer

IPv6 PIM. Based on the forwarding mechanism, IPv6 PIM falls into two modes:

ECE 435 Network Engineering Lecture 11

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Computer Networks. Routing Algorithms

We will discuss about three different static routing algorithms 1. Shortest Path Routing 2. Flooding 3. Flow Based Routing

DATA COMMUNICATOIN NETWORKING

C13b: Routing Problem and Algorithms

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Network Layer (Routing)

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions

Token Ring VLANs and Related Protocols

IP Multicast Technology Overview

Chapter 7: Routing Dynamically. Routing & Switching

Distributed Queue Dual Bus

ECE 435 Network Engineering Lecture 11

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

EEC-484/584 Computer Networks

Layer 3: Network Layer. 9. Mar INF-3190: Switching and Routing

Routing protocols in WSN

Chapter 5. The Network Layer FATİH ŞAHİN Network Layer Design Isues. Store-and-Forward Packet Switching

Performance Evaluation of Various Routing Protocols in MANET

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

Auxiliary Protocols. Internet Layer. Address Resolution Protocol. Delivery of IP Packets

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

The Spanning Tree Protocol

Lecture 4. The Network Layer (cont d)

Module 8. Routing. Version 2 ECE, IIT Kharagpur

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

Routing. 4. Mar INF-3190: Switching and Routing

EITF25 Internet Routing. Jens A Andersson

Jaringan Komputer. Network Layer. Network Layer. Network Layer. Network Layer Design Issues. Store-and-Forward Packet Switching

The Interconnection Structure of. The Internet. EECC694 - Shaaban

CHAPTER 9: PACKET SWITCHING N/W & CONGESTION CONTROL

Top-Down Network Design

MULTICAST EXTENSIONS TO OSPF (MOSPF)

Configuring Port-Based Traffic Control

Lecture 13: Link-state Routing. CSE 123: Computer Networks Alex C. Snoeren

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Multicast Communications

Request for Comments: S. Gabe Nortel (Northern Telecom) Ltd. May Nortel s Virtual Network Switching (VNS) Overview

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

Connecting to the Network

Table of Contents 1 PIM Configuration 1-1

William Stallings Data and Computer Communications. Chapter 10 Packet Switching

Computer Networks Prof. Ashok K. Agrawala

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

Routing. Advanced Computer Networks: Routing 1

Token Ring VLANs and Related Protocols

Chapter 3 Part 2 Switching and Bridging. Networking CS 3470, Section 1

Routing, Routing Algorithms & Protocols

A COMPARISON OF REACTIVE ROUTING PROTOCOLS DSR, AODV AND TORA IN MANET

ICS 351: Today's plan. distance-vector routing game link-state routing OSPF

Multicast Technology White Paper

Lecture 6. TCP/IP Network Layer (4)

Chapter 5. The Network Layer. Network Layer Design Isues. Store-and-Forward Packet Switching 10/7/2010. Implementation of Connectionless Service

Chapter 5. The Network Layer

CS-461 Internetworking. Dr. Mohamed Aboutabl

Course Routing Classification Properties Routing Protocols 1/39

Chapter 5. The Network Layer. CEN Chapter 5 1

Lesson 5-2: Open Shortest Path First Protocol

Content. 1. Introduction. 2. The Ad-hoc On-Demand Distance Vector Algorithm. 3. Simulation and Results. 4. Future Work. 5.

Chapter 2 Review Questions

Lecture on Computer Networks

Lecture 9. Network Layer (cont d) Network Layer 1-1

BTEC Level 3 Extended Diploma

ECE 4450:427/527 - Computer Networks Spring 2017

Chapter 6. The Network Layer

EEC-684/584 Computer Networks

3.5 CONNECTING DEVICES

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

Performance Evaluation of Mesh - Based Multicast Routing Protocols in MANET s

Homework 3 Discussion

IP Addressing and Subnetting

Chapter 12. Routing and Routing Protocols 12-1

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

Chapter 6. The Network Layer

VI. ROUTING. - "routing protocol" nodes exchange information to ensure consistent understanding of paths

ICMP, ARP, RARP, IGMP

IP Multicast. What is multicast?

Transcription:

Routing Algorithms

Main issue is how the routers that constitute the network layer of a network cooperate to find the best routes between all pairs of stations. Routing algorithm at a router decides which output line an incoming packet should go, i.e. making a routing decision. McGraw-Hill Classified The McGraw-Hill e-material Companies, Inc., 2001 2

Adaptive Algorithm (Dynamic Routing) change their routing decisions (based on factors) to reflect changes in the topology Non Adaptive Algorithm (Static Routing) choice of the route to use to get from source I to destination J (for all I and J) is computed in advance, off-line, and downloaded to the routers when the network is booted McGraw-Hill Classified The McGraw-Hill e-material Companies, Inc., 2001 4

Adaptive Algorithms Distance Vector Routing Link State Routing Hierarchical Routing Broadcast Routing Multicast Routing Routing for Mobile Hosts Routing in Ad Hoc Networks Non Adaptive Algorithms Shortest Path Routing Flooding McGraw-Hill Classified The McGraw-Hill e-material Companies, Inc., 2001 5

Each router periodically shares its knowledge about the entire network with its neighbors. Three key steps: 1. Knowledge about the whole network. 2. Routing only to neighbors. 3. Information sharing at regular intervals.

Example of an Internet

The Concept of Distance Vector Routing

Distance Vector Routing Table In Distance vector routing, each router periodically shares its knowledge about the entire network with its neighbors.

Routing Table Distribution

Final Routing Tables

Each router shares its knowledge of its neighborhood with every other router in the internetwork. Three key steps: 1. Knowledge about the neighborhood. 2. To all Routers. 3. Information sharing when there is a change.

Concept of Link State Routing

Cost in Link State Routing

Link State Packet

Link State Database

Costs in the Dijkstra Algorithm

Shortest Path Calculation, Part I

Shortest Path Calculation, Part II

Shortest Path Calculation, Part III

Shortest Path Calculation, Part IV

Shortest Path Calculation, Part V

Shortest Path Calculation, Part VI

Shortest Path Calculation, Part VII

Shortest Path Calculation, Part VIII

Shortest Path Calculation, Part IX

Shortest Path Calculation, Part X

Shortest Path Calculation, Part XI

Shortest Path Calculation, Part XII

Shortest Path Calculation, Part XIII

Routing Table for Router A

Internet growth translates into Routing table growth. In Hierarchical Routing, the routers are divided into regions. Each router knowing all the details about its own region, but knowing nothing about the internal structure of other regions. Routing Procedure: Route first to the Region Then network within the Region Then particular node within the network

McGraw-Hill The McGraw-Hill Companies, Inc., 35 2001

Broadcast Send same packet to all receivers. all usually limited in some way LAN, subnet, organization

Sending a packet to all destinations simultaneously is called Broadcasting. Direct Method: Source sends a distinct packet to each destination routers in the subnet: 1. Wasteful of the bandwidth. 2. It requires source to have a list of all destinations. Flooding: Ordinarily ill suited for point-to-point communication: Generates to many packets, and Consumes to much bandwidth. McGraw-Hill Veton Këpuska April The 26, McGraw-Hill 2014 Companies, Inc., 37 2001

Multi-destination Routing Each packets contains: A list of destinations, or A bit map indicating the desired destinations. When packet arrives at a router: The router checks all the destinations to determine the set of output lines that will be needed. Generates a new copy of the packed for each output line to be used and includes in each packet only those destinations that are to use the line. After a sufficient number of hops, each packed will carry only one destination and can be treated as normal packet. Multi-destination routing is like separately addressed packets, except that when several packets must follow the same route, one of them pays full fare and the rest ride free. McGraw-Hill Veton Këpuska April The 26, McGraw-Hill 2014 Companies, Inc., 38 2001

Spanning Tree: It is a subset of the subnet that includes all routers but contains no loops. Each router knows which of its lines belong to the spanning tree, it can copy an incoming broadcast packet onto all the spanning tree lines except the one it arrived on. Makes excellent use of bandwidth (generates absolute minimum number of packets necessary to do the job) Must have knowledge of some spanning tree for the method to be applicable. Information available in some instances (e.g., link state routing) Information not available (e.g., distance vector routing) McGraw-Hill Veton Këpuska April The 26, McGraw-Hill 2014 Companies, Inc., 39 2001

Reverse Path Forwarding: Router checks if the broadcast packet arrived on the line that is normally used for sending packets to the source of the broadcast. If so, there is excellent chance that the broadcast packet itself followed the best route from the router and is therefore the first copy to arrive at the router. The router forwards copies of it onto all lines except the one it arrived on. If the broadcast packet arrived on a line other than the preferred one for reaching the source, the packet is discarded as a likely duplicate. McGraw-Hill Veton Këpuska April The 26, McGraw-Hill 2014 Companies, Inc., 40 2001

April 26, 2014 Veton Këpuska 41 Example of Reverse path Forwarding A B C D G J O M N L K H E I F A B C D G J O M N L K H E I F A subnet A sink tree for router I

The tree build by reverse path forwarding. After 5 hops and 24 packets the broadcasting terminates compared to 14 packets had the sink tree been followed exactly I F H J N A D E K G O M O E C G D N K H B L H L B McGraw-Hill Veton Këpuska April The 26, McGraw-Hill 2014 Companies, Inc., 42 2001