Data and Computer Communications Ninth Edition by William Stallings Chapter 12 – Routing in Switched Data Networks Data and Computer Communications, Ninth.

Slides:



Advertisements
Similar presentations
Ch. 12 Routing in Switched Networks
Advertisements

1 Routing Protocols I. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Ch. 12 Routing in Switched Networks Routing in Packet Switched Networks Routing Algorithm Requirements –Correctness –Simplicity –Robustness--the.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 12 – Routing in Switched Networks.
Data and Computer Communications
William Stallings Data and Computer Communications 7 th Edition Chapter 12 Routing.
Routing Basics What’s going on the back … Faisal Karim Shaikh DEWSNet Group Dependable Embedded Wired/Wireless Networks.
What is “Routing”? Routing algorithm that part of the network layer responsible for deciding on which output line to transmit an incoming packet Adaptive.
Routing Strategies Fixed Routing
1 Routing Lesson 10 NETS2150/2850 School of Information Technologies.
EE 4272Spring, 2003 Chapter 10 Packet Switching Packet Switching Principles  Switching Techniques  Packet Size  Comparison of Circuit Switching & Packet.
Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
Computer Networks The Data Link / Network Layer Functions: Routing
Data Communications Packet Switching.
Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks.
Teknik Routing Pertemuan 20 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Data Communication and Networks Lecture 7 Networks: Part 2 Routing Algorithms October 27, 2005.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
Packet Switching EE3900 Data Communications and LANs Packet Switching Slide 1.
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
The Internet: Packet Switching and Other Big Ideas Ian Foster.
William Stallings Data and Computer Communications 7th Edition (Selected slides used for lectures at Bina Nusantara University) Routing.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
Layer-3 Routing Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Data Communications & Computer Networks
Distributed Quality-of-Service Routing of Best Constrained Shortest Paths. Abdelhamid MELLOUK, Said HOCEINI, Farid BAGUENINE, Mustapha CHEURFA Computers.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
Chapter 12 Routing in Switched Networks. Routing in Packet Switched Network  key design issue for (packet) switched networks  select route across network.
Computer Networks with Internet Technology William Stallings Chapter 11 Interior Routing Protocols.
Packet-Switching Networks Routing in Packet Networks.
Chapter 10: Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach Third.
TCP Traffic and Congestion Control in ATM Networks
Network and Communications Ju Wang Chapter 5 Routing Algorithm Adopted from Choi’s notes Virginia Commonwealth University.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
CIS Routing in IP. Introduction Routers forward IP datagrams from one router to another on path from source to destination Router must have idea.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Data and Computer Communications Ninth Edition by William Stallings Unit 12 – Routing in Switched Data Networks Data and Computer Communications, Ninth.
CSCI 465 D ata Communications and Networks Lecture 15 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Data Communications and Networking Chapter 11 Routing in Switched Networks References: Book Chapters 12.1, 12.3 Data and Computer Communications, 8th edition.
Advance Computer Networks Lecture#08 Instructor: Engr. Muhammad Mateen Yaqoob.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
Networking and internetworking devices. Repeater.
TELE202 Lecture 6 Routing in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Packet switching in Wide Area Networks »Source: chapter 10 ¥This Lecture.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
William Stallings Data and Computer Communications 7th Edition
Teknik Routing Pertemuan 10 Matakuliah: H0524/Jaringan Komputer Tahun: 2009.
Computer Networks with Internet Technology William Stallings Chapter 11 Interior Routing Protocols.
Shortest Path Algorithm
Computer Networks with Internet Technology William Stallings Chapter 11 Interior Routing Protocols.
Distance Vector Routing
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Network Layer Routing Networks: Routing.
William Stallings Data and Computer Communications
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Dijkstra’s shortest path Algorithm
Network Layer.
Network Layer – Routing 1
Computer Networks The Data Link / Network Layer Functions: Routing
Shortest Path Algorithm
Packet Switching Around 1970, research began on a new form of architecture for long distance communications: Packet Switching.
Data and Computer Communications
ECE453 – Introduction to Computer Networks
Network Layer Routing Networks: Routing.
Shortest Path Algorithm
COMPUTER NETWORKS CS610 Lecture-16 Hammad Khalid Khan.
CSCI 465 Data Communications and Networks Lecture 16
Presentation transcript:

Data and Computer Communications Ninth Edition by William Stallings Chapter 12 – Routing in Switched Data Networks Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education - Prentice Hall, 2011

Routing in Packet Switching Networks  key design issue for (packet) switched networks  select route across network between end nodes  characteristics required: correctness correctness simplicity simplicity robustness robustness stability stability fairness fairness optimality optimality efficiency efficiency

Performance Criteria  used for selection of route  simplest is to choose “minimum hop”  can be generalized as “least cost” routing  because “least cost” is more flexible it is more common than “minimum hop”

Elements of Routing Techniques for Packet- Switching Networks

Example of Packet Switched Network

Decision Time and Place decision time packet or virtual circuit basis fixed or dynamically changing decision place distributed - made by each node more complex, but more robust centralized – made by a designated node source – made by source station

Network Information Source and Update Timing  routing decisions usually based on knowledge of network, traffic load, and link cost distributed routing distributed routing using local knowledge, information from adjacent nodes, information from all nodes on a potential routeusing local knowledge, information from adjacent nodes, information from all nodes on a potential route central routing central routing collect information from all nodescollect information from all nodes issue of update timing depends on routing strategy fixed - never updated adaptive - regular updates

Routing Strategies - Fixed Routing  use a single permanent route for each source to destination pair of nodes  determined using a least cost algorithm  route is fixed until a change in network topology until a change in network topology based on expected traffic or capacity based on expected traffic or capacity  advantage is simplicity  disadvantage is lack of flexibility does not react to network failure or congestion does not react to network failure or congestion

Fixed Routing Tables

ARPANET Routing Strategies 1st Generation

ARPANET Routing Strategies 2nd Generation

ARPANET Routing Strategies 3rd Generation

Least Cost Algorithms  alternatives: Dijkstra or Bellman-Ford algorithms for each pair of nodes, find path with least cost link costs in different directions may be different defines cost of path between two nodes as sum of costs of links traversed network of nodes connected by bi- directional links link has a cost in each direction basis for routing decisions minimize hop with each link cost 1 have link value inversely proportional to capacity

Example of Least-Cost Routing Algorithms (using Figure 12.1)

Dijkstra’s Algorithm  finds shortest paths from given source nodes to all other nodes  develop paths in order of increasing path length  algorithm runs in stages each time adding node with next shortest path each time adding node with next shortest path  algorithm terminates when all nodes have been added to T

Dijkstra’s Algorithm Method Step 3 [Update Least-Cost Paths] L(n) = min[L(n), L(x) + w(x, n)] for all n  T if latter term is minimum, path from s to n is path from s to x concatenated with edge from x to n Step 2 [Get Next Node] find neighboring node not in T with least-cost path from s incorporate node into T also incorporate the edge that is incident on that node and a node in T that contributes to the path Step 1 [Initialization] T = {s} Set of nodes so far incorporated L(n) = w(s, n) for n ≠ s initial path costs to neighboring nodes are simply link costs

Dijkstra’s Algorithm Example

IterTL(2)PathL(3)PathL(4)PathL(5)PathL(6 ) Path 1{1}21– –4  -  - 2{1,4}21– –421-4–5  - 3{1, 2, 4}21– –421-4–5  - 4{1, 2, 4, 5} 21– –311–421-4– –6 5{1, 2, 3, 4, 5} 21– –311–421-4– –6 6{1, 2, 3, 4, 5, 6} –

Bellman-Ford Algorithm  find shortest paths from given node subject to constraint that paths contain at most one link  find the shortest paths with a constraint of paths of at most two links  and so on  and so on

Bellman-Ford Algorithm

Example of Bellman-Ford Algorithm

Results of Bellman-Ford Example hL h (2)PathL h (3)PathL h (4)PathL h (5)PathL h (6)Path 0  -  -  -  -   - 

Comparison  Bellman-Ford calculation for node n needs link cost to neighboring nodes plus total cost to each neighbor from s calculation for node n needs link cost to neighboring nodes plus total cost to each neighbor from s each node can maintain set of costs and paths for every other node each node can maintain set of costs and paths for every other node can exchange information with direct neighbors can exchange information with direct neighbors can update costs and paths based on information from neighbors and knowledge of link costs can update costs and paths based on information from neighbors and knowledge of link costs  Dijkstra each node needs complete topology must know link costs of all links in network must exchange information with all other nodes

Evaluation dependent on processing time of algorithms amount of information required from other nodes implementation specific both converge under static topology and costs both converge to same solution if link costs change, algorithms attempt to catch up if link costs depend on traffic, which depends on routes chosen, may have feedback instability

Summary  routing in packet-switched networks  routing strategies fixed, flooding, random, adaptive fixed, flooding, random, adaptive  ARPANET examples  least-cost algorithms Dijkstra, Bellman-Ford Dijkstra, Bellman-Ford