University of Delaware CPEG 4191 zHomework due? zNext lecture is in 311 Pearson Hall (Studio A). Give me or the TA a sheet of paper with your name (attendance)

Slides:



Advertisements
Similar presentations
CSCI-1680 Network Layer: Intra-domain Routing Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

RIP V2 CCNP S1(5), Chapter 4.
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
1 The Network Layer Chapter 5. 2 Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation.
Routing Protocol.
Courtesy: Nick McKeown, Stanford
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
Routing So how does the network layer do its business?
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
Distance-Vector Routing COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
CSE 461: Distance Vector Routing. Next Topic  Focus  How do we calculate routes for packets?  Routing is a network layer function  Routing Algorithms.
1 Computer Networks Routing Algorithms. 2 IP Packet Delivery Two Processes are required to accomplish IP packet delivery: –Routing discovering and selecting.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
Kazi Fall 2007 CSCI 370/EENG CSCI-370/EENG-480 Computer Networks Khurram Kazi.
EE 122: Intra-domain routing Ion Stoica September 30, 2002 (* this presentation is based on the on-line slides of J. Kurose & K. Rose)
University of Milan1 Routing Essentials E. Damiani.
1 Distance Vector Routing Protocols Dr. Rocky K. C. Chang 14 November 2006.
Computer Networking Intra-Domain Routing, Part I RIP (Routing Information Protocol)
CS 4700 / CS 5700 Network Fundamentals Lecture 9: Intra Domain Routing Revised 7/30/13.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
SAvPS – úvod Genči 2009 (bsaed on Tanenbaum’s slides.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Review: routing algorithms. –Choose the appropriate paths. –Routing algorithms Flooding Shortest path routing (example). –Dijkstra algorithm. –Bellman-Ford.
Packet-Switching Networks Routing in Packet Networks.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vector Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
1 3-Oct-15 Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
University of Delaware CPEG 4191 Avoid Routing Loops zThe network must be made into an acyclic tree. zThe root of the tree must be decided. zThe shortest.
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.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Static versus Dynamic Routes Static Route Uses a protocol route that a network administrators enters into the router Static Route Uses a protocol route.
The Network Layer.
Lecture 17 November 8Intra-domain routing November 13Internet routing 1 November 15Internet routing 2 November 20End-to-end protocols 1 November 22End-to-end.
1 1-Dec-15 S Ward Abingdon and Witney College Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
Computer Networks22-1 Network Layer Delivery, Forwarding, and Routing.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
University of Delaware CPEG 4191 Distance Vector Routing – Dynamic Programming zLimited state information. Just the next hop and cost. A B D G F C H E.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
Network-Layer Routing Routing tasks are methods of finding the paths for packet from their sources to their destinations. Routers are responsible mainly.
Lecture 7. Building Forwarding Tables There are several methods Static Method Dynamic Methods Centralized Distributed Distance Vector Link State.
CS 6401 Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm.
4. Interconnecting Networks: Routers. © Tallal Elshabrawy 2 Bridges Vs Routers BRIDGES DO WELL IN SMALL (FEW HUNDRED HOSTS) WHILE ROUTERS USED IN LARGE.
Network Layer Routing Networks: Routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Working at a Small-to-Medium Business or ISP – Chapter 6
(How the routers’ tables are filled in)
Network Layer.
THE NETWORK LAYER.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Routing in Packet Networks Shortest Path Routing
E : Internet Routing Lecture 5 Fundamentals of Routing Protocols
Intradomain Routing Outline Introduction to Routing
Dynamic Routing and OSPF
Chapter 7 Packet-Switching Networks
RFC 1058 & RFC 2453 Routing Information Protocol
ECE453 – Introduction to Computer Networks
Communication Networks NETW 501
Network Layer Routing Networks: Routing.
Working at a Small-to-Medium Business or ISP – Chapter 6
EE 122: Intra-domain routing: Distance Vector
Presentation transcript:

University of Delaware CPEG 4191 zHomework due? zNext lecture is in 311 Pearson Hall (Studio A). Give me or the TA a sheet of paper with your name (attendance)

University of Delaware CPEG 4192 Connection vs. connectionless issuePacket switchingVirtual-circuit SetupNot neededneeded addressingEach packet has full addressJust VC number (label) State informationNothing about the flow is needed Each VC requires a some information RoutingEach packet routing independently Route is chosen at setup. Effect of router failurePerhaps little, a few packets lost until a new route is found. All VC that pass through router have to be re-setup Quality of ServiceDifficultEasy to implement, but hard to plan efficiently. Congestion controlDifficultEasy to implement, but difficult to plan efficiently.

University of Delaware CPEG 4193 zWe mostly look at connectionless routing. zBut connection-oriented is becoming more and more important (maybe).

University of Delaware CPEG 4194 Overview of Routing in the Global Internet Today zThe problem of scalability yEach router must know where to send a packet next. IP addressNext hop (interface #) The forwarding table are huge!!!

University of Delaware CPEG 4195 Subnetting Divide and conquer XX.XXX X.XXX XXX XXX.XXX A B XXX.XXX IP addressmask# ? IP addressmask# ? A B Must carefully distribute addresses AS (e.g. ATT) MCI GE

University of Delaware CPEG 4196 Hierarchical Routing zMust distribute address carefully zThen there are two problems yHow to route between subnets (interdomain routing) xBGP yHow to route in a subnet (intradomain routing) xDistance Vector (RIP) xLink State (OSPF)

University of Delaware CPEG 4197 Routing zBased on knowledge of network topology, choose appropriate paths from source to destination. zGoals yCorrectness ySimplicity (funny, aren’t we smart enough to make complicated things?) yRobustness – when a router or link goes down, the network must remain up. yStability – some routing algorithms never converge or take a very long time to converge after a small change. A small change in one part of the network should not lead to a large change. Currently, BGP does not meet this criteria. yFairness yOptimality

University of Delaware CPEG 4198 Fairness and optimality Total flow is maximized by just sending from 1->2, 3->4 and 5->6, but not so fair to 7->8

University of Delaware CPEG 4199 Adaptive and Non-adaptive Routing zNon-adaptive routing: yFixed routing, static routing. yDo not take current state of the network (e.g., load, topology). yRoutes are computed in advance, off-line, and downloaded to routers when booted. zAdaptive routing: yRoutes change dynamically as function of current state of network. yAlgorithms vary on how they get routing information, metrics used, and when they change routes.

University of Delaware CPEG Hot potato routing zJust send the packet somewhere. IP addressmask# ?

University of Delaware CPEG Flooding zEvery packet is sent to every neighboring router except the one it came on. yIn order to stop the packet from traveling forever, a counter of the number of hops is decremented at every hop. Once the counter hits zero, the packet is dropped. yUse sequence numbers so that if a router sees a packet twice, it will drop it. But then each router need to keep a list of packets it has seen so far. yEach packet could contain a list to routers visited so far. Then… zSelective flooding yFlood to those neighbors that are in the general right direction. zAs we shall see, flooding is used (but not for data). It was used in link layer routing.

University of Delaware CPEG Shortest Path Routing zShortest with respect to some metric yExample: xNumber of hops. xDelay. xBandwidth. xCost.

University of Delaware CPEG Bellman Optimality Principle zGeneral statement about optimal routes (topology, routing algorithm independent). zIf router J is on optimal path between I and K, then the optimal path from J to K also falls along the same route. yProof by contradiction. zCorollary: ySet of optimal routes from all sources to destination form a tree rooted at destination. ySink tree.

University of Delaware CPEG Distance Vector Routing – Dynamic Programming zLimited state information. Just the next hop and cost. A B D G F C H E addressNext hop cost AA0 BB1 CC1 DD1 EE2 FD2 GB2 HB3 A addressNext hop cost AA1 BB1 CA2 DD0 EB2 FF1 GB2 HB3 D

University of Delaware CPEG Distance Vector Routing – Dynamic Programming zSuppose a new node comes on line. A B D G F C H E I addressNext hop Cos t A?  B?  C?  D?  E?  F?  G?  H?  II0 I

University of Delaware CPEG Distance Vector Routing – Dynamic Programming zSuppose a new node comes on line. zSuppose I first talks to A. A B D G F C H E I addressNext hop cost AA0 BB1 CC1 DD1 EE2 FD2 GB2 HB3 A addressNext hop cost AA1 BA2 CA2 DA2 EA3 FA3 GA2 HA2 II0 I

University of Delaware CPEG Distance Vector Routing – Dynamic Programming zSuppose a new node comes on line. zSuppose I first talks to A. zNext I talks to D. A B D G F C H E I addressNext hop cost AA1 BA2 CA2 DD1 EA3 FD2 GA2 HA2 II0 I addressNext hop cost AA1 BB1 CA2 DD0 EB2 FF1 GB2 HB3 D

University of Delaware CPEG Distance Vector - Algorithm zStart with all destinations with infinite distance, except for the actual node, which is distance 0. zEvery 30 seconds (RIP), or when a change occurs in the table, send table to neighbors. zIf the distance to a prefix advertised by a neighbor is less plus the distance to the neighbor is less than known distance, reduce distance to prefix and route packets with that destination prefix to that neighbor.

University of Delaware CPEG Count to Infinity Problem ABCDE  initial 1  1 iteration 12  2 iterations 123  3 iterations iterations ABCDE 1234initial iteration iterations iterations iterations

University of Delaware CPEG Approaches to Mitigate Count Infinity Why is count to infinity a problem? It generates tons of routing updates – too much traffic The network should report that a route is unreachable. Put upper bound an upper bound the the diameter of the network. But what is the network grows (as it did). Split horizon. A router does not report a distance to the neighbor it learned the distance from. Split horizon with poison reverse. If A advertises the best cost to E to B, then B advertises a cost of infinity to E back to A. This only works for loops that involve two nodes. With larger loops, the mitigation is more difficult and these remedies reduce the rate of convergence. The way to fix it is to use link state routing.