CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal
|
|
- Melinda Conley
- 5 years ago
- Views:
Transcription
1 CS4450 Computer Networks: Architecture and Protocols Lecture 11 Rou+ng: Deep Dive Spring 2018 Rachit Agarwal
2 2 Goals for Today s Lecture Learning about Routing Protocols Link State (Global view) Distance Vector (Local view) Maintain sanity: its one of the harder lectures I ll try to make it -less- hard, but Pay attention Review again tomorrow Work out a few examples
3 3 Recap: Spanning Tree Protocol (failures on later slides) Messages (Y,d,X): For root Y; From node X; advertising a distance d to Y Initially each switch X announces (X,0,X) to its neighbors Switches update their view Upon receiving message (Y,d,Y) from Z, check Y s id If Y s id < current root: set root = Y Switches compute their distance from the root Add 1 to the shortest distance received from a neighbor If root changed OR shortest distance to the root changed, send all neighbors updated message (Y,d+1,X)
4 Recap: Routing via Flooding on Spanning Tree Easy to design routing algorithms for trees Nodes can flood packet to all other nodes Amazing properties: No routing tables needed! No packets will ever loop. At least (and exactly) one packet must reach the destination Assuming no failures Three fundamental issues: Unnecessary processing at end hosts (that are not the destination) Higher latency Lower available bandwidth
5 Recap: Routing via Routing Tables Suppose packet follows Path 1: Cornell - S#1 - S#3 - MIT DESTINATION NEXT HOP CORNELL MIT HARVARD L1 L3 L4 Switch #1 L4 Harvard L1 L2 L3 Switch #3 DESTINATION CORNELL NEXT HOP L5 MIT L6 Cornell HARVARD L3 L5 L6 DESTINATION CORNELL NEXT HOP L2 Switch #2 MIT L5 HARVARD L5 MIT Each Switch stores a table indicating the next hop for corresponding destination of a packet (called a routing table)
6 Recap: Routing Tables Routing state: collection of routing tables across all nodes Two questions: How can we verify given routing state is valid? How can we produce valid routing state? Last lecture: global routing state valid if and only if: There are no dead ends (other than destination) There are no loops Today: How to produce valid routing state?
7 Questions?
8 Producing Valid Routing State Easy to avoid dead ends Avoiding loops is hard The key difference between routing protocols is how they avoid loops!
9 Four flavors of protocols Create Tree, route on tree E.g., Spanning tree protocol (switched Ethernet) Good: easy, no (persistent) loops, no dead ends Not-so-good: unnecessary processing, high latency, low bandwidth Obtain a global view: E.g., Link state (today) Distributed route computation: E.g., Distance vector E.g., Border Gateway Protocol We will try to finish Link state and Distance vector today
10 Routing Metrics Routing goals: compute paths with minimum X X = number of hops (nodes in the middle) X = latency X = weight X = failure probability Generally assume every link has cost associated with it We want to minimize the cost of the entire path We will focus on a subset of properties X, where: Cost of a path = sum of costs of individual links/nodes on the path E.g., number of hops and latency
11 Global view
12 Two Aspects of Global View Method Protocol: What we focus on today Where to create global view How to create global view Disseminating route computation (if necessary) When to run route computation Algorithm: computing loop-free paths on graph Straightforward to compute lowest cost paths Using Dijkstra s algorithm (please study; algorithms course) We won t spend time on this
13 Where to create global view? One option: Central server Collects a global view Computes the routing table for each node Installs routing tables at each node Software-defined Networks: later in course Second option: At each router Each router collects a global view Computes its own routing table using Link-state protocol Link-state routing protocol OSPF is a specific implementation of link-state protocol IETF RFC 2328 (IPv4) or 5340 (IPv6)
14 Overview of Link-State Routing Every router knows its local link state Knows state of links to neighbors Up/down, and associated cost A router floods its link state to all other routers Uses a special packet Link State Announcements (LSA) Announcement is delivered to all nodes (next slide) Hence, every router learns the entire network graph Runs route computation locally Computing least cost paths from them to all other nodes E.g., using Dijkstra s algorithm
15 How does Flooding Work? Link state announcement (LSA) arrives on a link at a router That router: Remembers the packet Forwards the packet out all other links Does not send it out the incoming link Why? If a previously received announcement arrives again Router drops it (no need to forward again)
16 Link-State Routing Host B Host A Host C S2 S1 S3 S4 S5 S7 Host E S6 Host D
17 Each Node Then has a Global View Host B Host A Host C S2 S1 S3 S4 S5 S7 Host E S6 Host D
18 When to Initiate Flooding of announcements? Topology change Link failures Link recovery Configuration change Link cost change (why would one change link cost?) Periodically Refresh the link-state information Typically (say) 30 minutes Corrects for possible corruption of data
19 Making Floods Reliable Reliable Flooding Ensure all nodes receive same link state announcements No announcements dropped Ensure all nodes use the latest version Suppose we can implement reliable flooding. How can it still fail? Can you ever have loops with link-state routing? Again: Can you ever have loops with link-state routing?
20 Are Loops Still Possible? A D E F C B A D E F C B A and D think this is the path to C E-C link fails, but D doesn t know yet E thinks that this the path to C E reaches C via D, D reaches C via E Loop!
21 Transient Disruptions A D E F C B A D E F C B Inconsistent link-state views Some routers know about failure before others The shortest paths are no longer consistent Can cause transient forwarding loops Transient loops are still a problem!
22 Convergence All routers have consistent routing information E.g., all nodes having the same link-state database Forwarding is consistent after convergence All nodes have the same link-state database All nodes forward packets on same paths But while still converging, bad things can happen
23 Time to Reach Convergence Sources of convergence delay? Time to detect failure Time to flood link-state information (~longest RTT) Time to recompute forwarding tables Performance problems during convergence period? Dead ends Looping packets And some more we ll see later.
24 Link State is Conceptually Simple Everyone floods links information Everyone then knows graph of the network Everyone independently computes paths on the graph All the complexity is in the details
25 Distributed Route Computation
26 Distributed Computation of Routes Each node computing the outgoing links based on: Local link costs Information advertised by neighbors Algorithms differ in what these exchanges contain Distance-vector: just the distance (and next hop) to each destination Path vector: the entire path to each destination We will focus on distance-vector for now
27 Recall: Routing Tables = Collection of Spanning Trees Can we use the spanning tree protocol (with modifications)? Messages (Y,d,X): For root Y; From node X; advertising a distance d to Y Initially each switch X announces (X,0,X) to its neighbors For destination X: each switch Z announces (X,d_x, Z) to its neighbors Switches update their view Upon receiving message (Y,d,Y) from Z, check Y s id If Y s id < current root: set root destination = Y Switches compute their shortest distance from the root destination Add link cost c to the shortest distance received from a neighbor If root changed OR shortest distance to the root destination changed, send all neighbors updated message 27(Y,d+c,X)
28 28 Lets focus on one destination = Z first Messages (Y,d,X): For root Y; From node X; advertising a distance d to Y Initially each switch Z announces (Z,0,Z) to its neighbors Switches update their view Upon receiving message (Z,d,Y) from Y, check Y s id If Y s id < current root: set root destination = Z Switches compute their shortest distance from the root destination Add link cost c to the shortest distance received from a neighbor If root changed OR shortest distance to the root destination changed, send all neighbors updated message (Z,d+c,X)
29 Group Exercise: Lets run the Protocol on this example (destination = 1)
30 Round 1 Receive Send 1 (1, 0, 1)
31 Round 2 Receive Send 1 (1, 0, 1) 2 3 (1, 0, 1) (1, 1, 3) 4 5 (1, 0, 1) (1, 1, 5) 6 (1, 0, 1) (1, 1, 6) 7
32 Round 3 Receive Send 1 (1, 0, 1) (1, 1, 3), (1, 1, 5), (1, 1, 6) 2 (1, 1, 3), (1, 1, 6) (1, 2, 2) 3 (1, 1, 3) 4 5 (1, 1, 5) (1, 1, 6) 6 (1, 1, 6) (1, 1, 5) 7
33 Round 4 Receive Send 1 (1, 0, 1) 2 (1, 2, 2) 3 (1, 1, 3) (1, 2, 2) 4 (1, 2, 2) (1, 3, 4) 5 (1, 1, 5) 6 (1, 1, 6) (1, 2, 2) 7 (1, 2, 2) (1, 3, 7)
34 Round 5 Receive Send 1 (1, 0, 1) 2 (1, 2, 2) (1, 3, 4), (1, 3, 7) 3 (1, 1, 3) 4 (1, 3, 4) (1, 3, 7) 5 (1, 1, 5) 6 (1, 1, 6) 7 (1, 3, 7) (1, 3, 4)
35 Group Exercise: Lets run the Protocol on this example (destination = 2)
36 Why not Spanning Tree Protocol? Why Distance Vector? The same algorithm applies to all destinations Each node announces distance to each dest I am 4 hops away from node A I am 6 hops away from node B I am 3 hops away from node C Nodes are exchanging a vector of distances
37 37 Lets see Messages (Y,d,X): For root Y; From node X; advertising a distance d to Y Initially each switch X announces (X,0,X) to its neighbors For destination X: each switch Z announces (X,d_x, Z) to its neighbors Switches update their view Upon receiving message (Y,d,Y) from Z, check Y s id If Y s id < current root: set root destination = Y Switches compute their shortest distance from the root destination Add link cost c to the shortest distance received from a neighbor If root changed OR shortest distance to the root destination changed, send all neighbors updated message (Y,d+c,X)
38 Two Aspects to This Approach Protocol: Exchanging that routing information with neighbors What and when for exchanges RIP is a protocol that implements DV (IETF RFC 2080) Algorithm: How to use the information from your neighbors to update your own routing tables?
39 General Approach to Algorithm Assume link between nodes x,y has cost c(x,y) Node u finds minimal cost paths using the following 1.Neighbors tell me their distance to all nodes v Each neighbor w gives me a distance vector d(w,v) for all v Distance means total cost over path 2.Node u s cost to a given destination v is then: d(u,v) = Min_{nbrs w} [c(u,w) + d(w,v)] 3.Node u tells neighbors about d(u,v) and process repeats
40 Three Node Network from to x y z x y z y 2 1 x 7 z d(x,z) = min { cost (x,z), cost (x,y) + d(y,z)}
41 Three Node Network from to x y z x y z y 2 1 x 7 z d(x,z) = min { cost (x,z), cost (x,y) + d(y,z)}
42 More Generally y 2 x 7 u z 1 w d(x,z) = min { cost (x,y) + d(y,z), cost (x,u) + d(u,z), cost (x,w) + d(w,z) } Bellman Ford equation
43 From Algorithm to Protocol Algorithm: Nodes use Bellman-Ford to compute distances Protocol Nodes exchange distance vectors Update their own routing tables And exchange again Details: when to exchange, what to exchange, etc.
44 Three Node Network This is y s distance vector x y z x y z y 2 1 from x to x y z x y z z x y z x y z 7 1 0
45 Three Node Network x y z This is y s distance vector x y z y 2 1 from x to x y z x y z 7 x y z x y z z 7 1 0
46 Three Node Network This is y s distance vector x y z x y z y 2 1 from x to x y z x y z x y z x y z z 7 1 0
47 Three Node Network This is y s distance vector x y z x y z y 2 1 from x to x y z x y z x y z x y z z 3 1 0
48 A More Complicated Case The three node network: Everyone was neighbors with everyone else What happens in a larger network? I will show you a graph Work out first few steps yourself Then we can go over them together
49 Four Node Network x y v z x y z y 3 z x y v z y v z x 2 v x y v z x y v x y v z x v z
50 After First Exchange x y v z x y z y 3 z x y v z y v z x 2 v x y v z x y v x y v z x v z 3 1 0
51 Recomputing Tables x y v z x y z y 3 z x y v z y v z x 2 v x y v z x y v x y v z x v z
52 Do This One Yourself x y v z x y z y 3 z x y v z y v z x 2 v x y v z x y v x y v z x v z
53 Answers x y v z x y z y 3 z x y v z y v z x 2 v x y v z x y v x y v z x v z
54 Other Aspects of Protocol When do you send messages? When any of your distances d(u,v) change What about when c(u,v) changes Periodically, to ensure consistency between neighbors What information do you send? Could send entire vector Or just updated entries Do you send everyone the same information Consider the following slides
55 Three Node Network x y z y z routing loop! y 2 1 x 7 z x y z What happens now? y z
56 Three Node Network x y z y z routing loop! y 1 x Count to infinity scenario 7 z x y z if c(x,z) was infinite y z
57 How Can You Fix This? Why would you advertise a path back to the person who has advised it to you? Telling them about your entry going through them Doesn t tell them anything new Perhaps misleads them that you have an independent path Solution: if you are using a next-hop s path, then: Tell them not to use your path (by telling them cost of \inf) Called poisoned reverse And it is easy to get them confused
58 Three Node Network Poisoned reverse y x y z z y 2 1 x 7 z x y z Poisoned reverse y z
59 Convergence Distance vector protocols can converge slowly While these corner cases are rare The resulting convergence delays can be significant
60 More Complete Version of Protocol Send distance vectors based on timers: Every so often send complete DV to your neighbors Follow split horizon rule: If use neighbor for path to x, don t send a routing entry for x to the neighbor When any values in your DV change, send updates Only send elements that changed Special cases: Poisoning the route: send when no longer have path Poison reverse: send to neighbor you go through for path
61 Three Node Network x y z Poisoning route Poisoned reverse y 0 1 z 1 0 y 1 x 7 z
62 Poisoning, Split Horizon, etc. Poisoning and split horizon have similar goals But they are used in different contexts And it is easy to get them confused
63 Split Horizon: When and Why Split horizon only works when sending full updates Silence about route is interpreted as lack of route Which only makes sense when sending full update If always send full updates, no need for poison Lack of route to destination has clear meaning Don t send those packets to me! Could be because I have no route, or because O have a route through you
64 Poison: What and Why Poison necessary when sending partial updates Silence with partial updates means no change It does not mean no route Must explicitly tell neighbors not to use route Poisoning a route: telling the truth about absence of path Poison reverse: have a path, but lie about it since it gets through that neighbor But only have to poison if you have ever advertised that route!
65 Why Use Split Horizon At All? Why not always poisoning? No possible confusion Very clear implementation Consider the case of Berkeley s edge router Does it want to advertise all routes in the universe to the next-hop external router All of these paths (except Berkeley destinations) always go through that router Easier and more efficient to just be silent about them You never advertise these routes, so you never have to poison
66 Example in Real Life If I post a new lecture schedule, and it contains no midterm, you know that there is no midterm If I post a small change to the lecture schedule, the fact that I do not mention a midterm does not imply that there is no midterm Would have to explicitly say the midterm was cancelled But if I ve never mentioned midterms in my full schedule, you can assume that there is still no midterm if I make a minor change to my schedule
67 Path Vector When advertise to neighbors, send them your paths Why this might be helpful? This prevents loops, even when not minimizing metric Loop prevention is now separate from routing goal What foals might this accommodate? Policy choices
68 What Might Go Wrong With PV? Every router can make its own decisions about: Which of its neighbors paths to use (if any) Which of its paths to tell each neighbor (if any) What could go wrong with such an algorithm? Go talk to your friends for a few minutes Then I ll ask for volunteers
69 Possible Issues Lack of connectivity If Berkeley refuses to use routes from Stanford, might not be able to reach some places in the Internet Lack of convergence: The routing algorithm is not guaranteed to converge Will discuss this when we get to inter domain routing
70 Comparison of Scalability Link-State: Global flood: each router s link-state (#ports) Send it once per link event, or periodically Distance Vector: Send longer vector (#dest) just to neighbors But might end up triggering their updates Send it every time DV changes (which can be often) Tradeoff: LS: Send it everywhere and be done in predictable time DV: Send locally, and perhaps iterate until convergence
CSCD 330 Network Programming Spring 2018
CSCD 330 Network Programming Spring 018 Lecture 16 Network Layer Routing Protocols Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 017 1 Network
More informationCSCD 330 Network Programming Spring 2017
CSCD 330 Network Programming Spring 017 Lecture 16 Network Layer Routing Protocols Reading: Chapter 4 Some slides provided courtesy of J.F Kurose and K.W. Ross, All Rights Reserved, copyright 1996-007
More informationComputer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)
Computer Networking Intra-Domain Routing RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) IP Forwarding The Story So Far IP addresses are structured to reflect Internet structure IP
More informationCS 457 Networking and the Internet. What is Routing. Forwarding versus Routing 9/27/16. Fall 2016 Indrajit Ray. A famous quotation from RFC 791
CS 457 Networking and the Internet Fall 2016 Indrajit Ray What is Routing A famous quotation from RFC 791 A name indicates what we seek An address indicates where it is A route indicates how we get there
More informationRouting in a network
Routing in a network Focus is small to medium size networks, not yet the Internet Overview Then Distance vector algorithm (RIP) Link state algorithm (OSPF) Talk about routing more generally E.g., cost
More informationMore Routing. EE122 Fall 2012 Scott Shenker
More Routing EE Fall 0 Scott Shenker http://inst.eecs.berkeley.edu/~ee/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC Berkeley Let s focus
More informationRouting Algorithms : Fundamentals of Computer Networks Bill Nace
Routing Algorithms 4-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Recall from Last Time Routing Algorithm
More informationChapter 4: Network Layer, partb
Chapter 4: Network Layer, partb The slides are adaptations of the slides available by the main textbook authors, Kurose&Ross Network Layer 4-1 Interplay between routing, forwarding routing algorithm local
More informationCSC 4900 Computer Networks: Routing Algorithms
CSC 4900 Computer Networks: Routing Algorithms Professor Henry Carter Fall 2017 Last Time Subnets provide granularity for address assignment and ease management. What is 192.168.8.0? 192.168.32.0? 192.168.8.0:
More informationCS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.
CS118 Discussion 1A, Week 7 Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m. 1 Outline Network control plane Routing Link state routing (OSPF) Distance vector routing (RIP) BGP ICMP Midterm/Project 2
More informationRedes de Computadores. Shortest Paths in Networks
Redes de Computadores Shortest Paths in Networks Manuel P. Ricardo Faculdade de Engenharia da Universidade do Porto » What is a graph?» What is a spanning tree?» What is a shortest path tree?» How are
More informationCSE 461 Routing. Routing. Focus: Distance-vector and link-state Shortest path routing Key properties of schemes
CSE 46 Routing Routing Focus: How to find and set up paths through a network Distance-vector and link-state Shortest path routing Key properties of schemes Application Transport Network Link Physical Forwarding
More informationLink-State Routing OSPF
CE Computer Networks Link-State Routing OSPF Behnam Momeni Computer Engineering Department Sharif University of Technology Acknowledgments: Lecture slides are from Computer networks course thought by Jennifer
More informationMissing Pieces of the Puzzle
Missing Pieces of the Puzzle EE122 Fall 2011 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and
More informationNetwork Layer: Routing
Network Layer: Routing The Problem A B R 1 R 2 R 4 R 3 Goal: for each destination, compute next hop 1 Lecture 9 2 Basic Assumptions Trivial solution: Flooding Dynamic environment: links and routers unreliable:
More informationCSC 401 Data and Computer Communications Networks
CSC 40 Data and Computer Communications Networks Network Layer NAT, Routing, Link State, Distance Vector Prof. Lina Battestilli Fall 07 Chapter 4 Outline Network Layer: Data Plane 4. Overview of Network
More informationCS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016
9/9/6 S 7 Networking and the Internet Fall 06 Shortest-Path Problem Given: network topology with link costs c(x,y): link cost from node x to node y Infinity if x and y are not direct neighbors ompute:
More informationReview: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues
Review: Routing in Packet Networks Shortest Path lgorithms: ijkstra s & ellman-ford Routing: Issues How are routing tables determined? Who determines table entries? What info used in determining table
More informationYouki Kadobayashi NAIST
Information Network 1 Routing (1) Youki Kadobayashi NAIST 1 The Routing Problem! How do I get from source to destination?! Which path is best? In terms of:! Number of hops! Delay! Bandwidth! Policy constraints!
More informationCSCE 463/612 Networks and Distributed Processing Spring 2018
CSCE 463/612 Networks and Distributed Processing Spring 2018 Network Layer IV Dmitri Loguinov Texas A&M University April 12, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross 1 Chapter
More informationYouki Kadobayashi NAIST
Information Network 1 Routing (1) Image: Part of the entire Internet topology based on CAIDA dataset, using NAIST Internet viewer Youki Kadobayashi NAIST 1 The Routing Problem! How do I get from source
More informationLast time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm
Last time Transitioning to IPv6 Tunneling Gateways Routing Graph abstraction Link-state routing Dijkstra's Algorithm Distance-vector routing Bellman-Ford Equation 10-1 This time Distance vector link cost
More informationTop-Down Network Design
Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic
More informationInternet rou)ng. V. Arun CS491G: Computer Networking Lab University of MassachuseFs Amherst
Internet rou)ng V. Arun CS491G: Computer Networking Lab University of MassachuseFs Amherst Slide material copyright 1996-2013 J.F Kurose and K.W. Ross, All Rights Reserved Graph abstraction 5 graph: G
More informationChapter 5 Network Layer: The Control Plane
Chapter 5 Network Layer: The Control Plane A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you
More informationRouting Protocols and the IP Layer
Routing Protocols and the IP Layer CS244A Review Session 2/0/08 Ben Nham Derived from slides by: Paul Tarjan Martin Casado Ari Greenberg Functions of a router Forwarding Determine the correct egress port
More informationCOMP/ELEC 429/556 Introduction to Computer Networks
OMP/ELE 49/6 Introduction to omputer Networks Intra-domain routing Some slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang T. S. Eugene Ng eugeneng at cs.rice.edu
More informationCS 43: Computer Networks. 23: Routing Algorithms November 14, 2018
S 3: omputer Networks 3: Routing lgorithms November, 08 Last class NT: Network ddress Translators: NT is mostly bad, but in some cases, it s a necessary evil. IPv6: Simpler, faster, better Tunneling: IPv6
More informationYouki Kadobayashi NAIST
Information Network 1 Routing (1) Image: Part of the entire Internet topology based on CAIDA dataset, using NAIST Internet viewer Youki Kadobayashi NAIST 1 The Routing Problem How do I get from source
More informationICS 351: Today's plan. netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing
ICS 351: Today's plan netmask exercises network and subnetwork design dynamic routing RIP distance-vector routing Netmask exercises how many bits in this netmask: 255.128.0.0 using this netmask and the
More informationLecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview
Lecture : Link-state Routing CSE 3: Computer Networks Chris Kanich Lecture Overview Routing overview Intra vs. Inter-domain routing Link-state routing protocols CSE 3 Lecture : Link-state Routing Router
More informationCS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013
CS 5 Network Programming Languages Control Plane http://www.flickr.com/photos/rofi/0979/ Nate Foster Cornell University Spring 0 Based on lecture notes by Jennifer Rexford and Michael Freedman Announcements
More informationDATA COMMUNICATOIN NETWORKING
DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book & Slides: Computer Networking, A Top-Down Approach By: Kurose, Ross Introduction Course Overview Basics of Computer Networks
More informationIntra-domain Routing
Intra-domain Routing Outline Introduction to Routing Distance Vector Algorithm CS 640 1 Goal Build router forwarding tables in an internetwork using intra-domain routing protocols High level approach Distributed
More informationLink State Rou.ng Reading: Sec.ons 4.2 and 4.3.4
Link State Rou.ng Reading: Sec.ons. and.. COS 6: Computer Networks Spring 0 Mike Freedman hep://www.cs.princeton.edu/courses/archive/spring/cos6/ Inside a router Goals of Today s Lecture Control plane:
More informationIP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing
IP Forwarding 5-44 omputer Networking Lecture : Intra-omain Routing RIP (Routing Information Protocol) & OSPF (Open Shortest Path First) The Story So Far IP addresses are structured to reflect Internet
More informationRouting Outline. EECS 122, Lecture 15
Fall & Walrand Lecture 5 Outline EECS, Lecture 5 Kevin Fall kfall@cs.berkeley.edu Jean Walrand wlr@eecs.berkeley.edu Definition/Key Questions Distance Vector Link State Comparison Variations EECS - Fall
More informationOverview. Problem: Find lowest cost path between two nodes Factors static: topology dynamic: load
Dynamic Routing Overview Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph C
More informationETSF05/ETSF10 Internet Protocols. Routing on the Internet
ETSF05/ETSF10 Internet Protocols Routing on the Internet Circuit switched routing ETSF05/ETSF10 - Internet Protocols 2 Routing in Packet Switching Networks Key design issue for (packet) switched networks
More information(Refer Slide Time: 01:08 to 01:25min)
COMPUTER NETWORKS Prof. Sujoy Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture-27 RIP- Distance Vector Routing We have seen basic routing. Now we will
More informationETSF05/ETSF10 Internet Protocols Routing on the Internet
ETSF05/ETSF10 Internet Protocols Routing on the Internet 2014, (ETSF05 Part 2), Lecture 1.1 Jens Andersson Circuit switched routing 2014 11 05 ETSF05/ETSF10 Internet Protocols 2 Packet switched Routing
More informationRouting Unicast routing protocols
Routing Unicast routing protocols Jens A Andersson Electrical and Information Technology R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 10 R5 1 Router A router is a type
More informationShortest Paths Algorithms and the Internet: The Distributed Bellman Ford Lecturer: Prof. Chiara Petrioli
Shortest Paths Algorithms and the Internet: The Distributed Bellman Ford Lecturer: Prof. Chiara Petrioli Dipartimento di Informatica Rome University La Sapienza G205: Fundamentals of Computer Engineering
More informationCS118 Discussion Week 7. Taqi
CS118 Discussion Week 7 Taqi Outline Hints for project 2 Lecture review: routing About Course Project 2 Please implement byte-stream reliable data transfer Cwnd is in unit of bytes, not packets How to
More informationECE 435 Network Engineering Lecture 11
ECE 435 Network Engineering Lecture 11 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 5 October 2017 Announcements Back from Memsys. Related things: fast memories for network
More informationcs/ee 143 Communication Networks
cs/ee 143 Communication Networks Chapter 5 Routing Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech Warning These notes are not self-contained, probably not understandable, unless you also were
More informationCS321: Computer Networks Unicast Routing
CS321: Computer Networks Unicast Routing Dr. Manas Khatua Assistant Professor Dept. of CSE IIT Jodhpur E-mail: manaskhatua@iitj.ac.in Introduction The goal of the network layer is deliver a datagram from
More informationLecture 9. Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1
Lecture 9 Reminder: Homework 3, Programming Project 2 due today. Questions? Thursday, September 22 CS 475 Networks - Lecture 9 1 Outline Chapter 3 - Internetworking 3.1 Switching and Bridging 3.2 Basic
More informationNetwork Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture
Network Routing Packet Routing, Routing Algorithms, Routers, Router Architecture Routing Routing protocol Goal: determine good path (sequence of routers) thru network from source to dest. Graph abstraction
More informationWhat is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats
What is Routing? Routing implements the core function of a network: : Shortest Path Routing Ion Stoica Ts: Junda Liu, K Moon, avid Zats http://inst.eecs.berkeley.edu/~ee/fa9 (Materials with thanks to Vern
More informationInterplay between routing, forwarding
Chapter 4: outline 4. introduction 4. virtual circuit and datagram networks 4. what s inside a router 4.4 IP: Internet Protocol datagram format IPv4 addressing ICMP IPv6 4.5 routing algorithms link state
More informationRouting. Jens A Andersson Communication Systems
Routing Jens A Andersson Communication Systems R1 Choosing an Optimal Path R4 5 R7 5 10 40 R6 6 5 B R2 15 A 20 4 10 10 R8 R3 5 R5 10 Router A router is a type of internetworking device that passes data
More informationCMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20
CMPE 80N: Introduction to Networking and the Internet Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 0 Announcements Final exam: June 7 th at 4pm. Comprehensive. Photo id required.
More informationCSc 450/550 Computer Networks Internet Routing
CSc 450/550 Computer Networks Internet Routing Jianping Pan Summer 2007 7/12/07 CSc 450/550 1 Review Internet Protocol (IP) IP header addressing class-based, classless, hierarchical, NAT routing algorithms
More informationECE 435 Network Engineering Lecture 11
ECE 435 Network Engineering Lecture 11 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 11 October 2018 Midterm on Tues Announcements 1 HW#4 Review maine.edu created? What is a
More informationRouting, Routing Algorithms & Protocols
Routing, Routing Algorithms & Protocols Computer Networks Lecture 6 http://goo.gl/pze5o8 Circuit-Switched and Packet-Switched WANs 2 Circuit-Switched Networks Older (evolved from telephone networks), a
More informationChapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1
Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 22-3 UNICAST ROUTING PROTOCOLS 22.2 A routing
More informationLecture 9. Network Layer (cont d) Network Layer 1-1
Lecture 9 Network Layer (cont d) Network Layer 1-1 Agenda Routing Tables Unicast and Multicast Routing Protocols Routing Algorithms Link State and Distance Vector Routing Information and Open Shortest
More informationChapter 4: Network Layer
Chapter 4: Network Laer 4. Introduction 4. Virtual circuit and datagram networks 4. What s inside a router 4.4 IP: Internet Protocol Datagram format IPv4 addressing ICMP IPv6 4. Routing algorithms Link
More informationTopology. Youki Kadobayashi NAIST. Outline. Routing system: its function. Gateway Model Revisited. Routing system: its structure
Information Network 1 Routing (1) Topology Topology 1: 2a (1): a branch of mathematics concerned with those properties of geometric configurations (as point sets) which are unaltered by elastic deformations
More informationICS 351: Today's plan. distance-vector routing game link-state routing OSPF
ICS 351: Today's plan distance-vector routing game link-state routing OSPF distance-vector routing game 1. prepare a list of all neighbors and the links to them, and the metric for each link 2. create
More informationC13b: Routing Problem and Algorithms
CISC 7332X T6 C13b: Routing Problem and Algorithms Hui Chen Department of Computer & Information Science CUNY Brooklyn College 11/20/2018 CUNY Brooklyn College 1 Acknowledgements Some pictures used in
More informationDynamic Routing. The Protocols
Dynamic Routing The Protocols Desirable Characteristics of Dynamic Routing Automatically detect and adapt to topology changes Provide optimal routing Scalability Robustness Simplicity Rapid convergence
More informationChapter 4 Network Layer
Chapter 4 Network Layer A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see the animations; and
More informationELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition
ELEC / COMP 177 Fall 01 Some slides from Kurose and Ross, Computer Networking, 5 th Edition Homework #4 Due Thursday, Nov 1 st Project # Due Tuesday, Nov 6 th Later this semester: Homework #5 Due Thursday,
More informationYouki Kadobayashi NAIST
Information Network 1 Routing (1) Image: Part of the entire Internet topology based on CAIDA dataset, using NAIST Internet viewer Youki Kadobayashi NAIST 1 The Routing Problem How do I get from source
More informationLet s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now.
Let s focus on clarifying questions I love the degree of interaction in this year s class More Routing all Scott Shenker http://inst.eecs.berkeley.edu/~ee/ Materials with thanks to Jennifer Rexford, Ion
More informationIntra-AS Routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
Intra-AS Routing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesle http://xkcd.com/85/ Some materials copright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved
More informationInternet Protocol: Routing Algorithms. Srinidhi Varadarajan
Internet Protocol: Routing Algorithms Srinidhi Varadarajan Routing Routing protocol Goal: determine good path (sequence of routers) thru network from source to dest. Graph abstraction for routing algorithms:
More informationLecture 4. The Network Layer (cont d)
Lecture 4 The Network Layer (cont d) Agenda Routing Tables Unicast and Multicast Routing Protocols Routing Algorithms Link State and Distance Vector Routing Information and Open Shortest Path First Protocols
More informationCSEP 561 Routing. David Wetherall
CSEP 561 Routing David Wetherall djw@cs.washington.edu Routing Focus: How to find and set up paths through a network Distance-vector and link-state Application Shortest path routing Transport Key properties
More informationBasic Idea. Routing. Example. Routing by the Network
Basic Idea Routing Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:
More information6.02 Fall 2014! Lecture #21. Failures in routing Routing loops Counting to infinity
6.02 Fall 2014! Lecture #21 Failures in routing Routing loops Counting to infinity Unanswered questions (about packet-switched networks) How do nodes determine routes to every other node? Nodes determine
More informationChapter 4: Network Layer
Chapter 4: Network Layer Chapter goals: understand principles behind layer services: routing (path selection) dealing with scale how a router works advanced topics: IPv6, mobility instantiation and implementation
More informationRouting by the Network
Routing Basic Idea Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:
More informationRouting Protocols. The routers in an internet are responsible for receiving and. forwarding IP datagrams through the interconnected set of
Routing Protocols MITA DUTTA The routers in an internet are responsible for receiving and forwarding IP datagrams through the interconnected set of sub-networks from source to destination. Routing protocols
More informationNetwork Layer, Part 2 Routing. Terminology
Network Layer, Part Routing These slides are created by Dr. Huang of George Mason University. Students registered in Dr. Huang s courses at GMU can make a single machine readable copy and print a single
More informationCommunication Networks
Communication Networks Spring 208 Roland Meier / Thomas Holterbach Slides: Laurent Vanbever nsg.ee.ethz.ch ETH Zürich (D-ITET) April 9 208 Materials inspired from Scott Shenker & Jennifer Rexford Last
More informationCMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 14
CMPE 150/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 14 1 Two notes on routing algorithm Do not believe ou can understand an routing protocol, e.g.,
More information5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet
Chapter 5: outline 5.1 introduction 5.5 The SDN control 5.2 routing protocols plane link state 5.6 ICMP: The Internet distance vector Control Message 5.3 intra-as routing in Protocol the Internet t 5.7
More informationEE 122: Intra-domain routing
EE : Intra-domain routing Ion Stoica September 0, 00 (* this presentation is based on the on-line slides of J. Kurose & K. Rose) Internet Routing Internet organized as a two level hierarchy First level
More information5.2 Routing Algorithms
CEN445 Network Protocols and Algorithms Chapter 5 Network Layer 5. Routing Algorithms Dr. Mostafa Hassan Dahshan Department of Computer Engineering College of Computer and Information Sciences King Saud
More informationAnnouncements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms
Announcements CS 6 Network Architecture and Protocols Lecture 8 Godmar Back Project A due Apr 8 (toda) Project B due in parts: Apr 9 and Ma 6 See link to NY Times article on RFC Project B Project B Highlevel
More informationIP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing
IP orwarding - omputer Networking Lecture : Intra-omain Routing RIP (Routing Information Protocol) & OSP (Open Shortest Path irst) The Story So ar IP addresses are structure to reflect Internet structure
More informationComputer Networks. Routing Algorithms
Computer Networks Routing Algorithms Topics Routing Algorithms Shortest Path (Dijkstra Algorithm) Distance Vector Routing Count to infinity problem Solutions for count to infinity problem Link State Routing
More informationDistance vector and RIP
DD2490 p4 2008 Distance vector and RIP Olof Hagsand KTHNOC/NADA Literature RIP lab RFC 245: RIPv2. Sections 1 2 contains some introduction that can be useful to understand the context in which RIP is specified..1.4
More informationImportant Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)
Important Lessons From Last Lecture 15-441 Computer Networking Inter-Domain outing BGP (Border Gateway Protocol) Every router needs to be able to forward towards any destination Forwarding table must be
More informationDefault & Static Routes and Routing Information Protocol. Presented by : Mohammed Hamad
Default & Static Routes and Routing Information Protocol Presented by : Mohammed Hamad When a device has multiple paths to reach a destination, it always selects one path by preferring it over others.
More informationIntroduction to Intra-Domain Routing
Introduction to Intra-Domain Routing Stefano Vissicchio UCL Computer Science COMP3 Agenda We delve into network layer s main functionality. Setting Context Routing players. Intra-domain routing problem
More informationIntroduction to IP Routing. Geoff Huston
Introduction to IP Routing Geoff Huston Routing How do packets get from A to B in the Internet? A Internet B Connectionless Forwarding Each router (switch) makes a LOCAL decision to forward the packet
More informationOverview 4.2: Routing
Overview 4.2: Routing Forwarding vs Routing forwarding: to select an output port based on destination address and routing table routing: process by which routing table is built Network as a Graph A 6 1
More informationNetwork Routing - II Failures, Recovery, and Change
MIT 6.02 DRAFT Lecture Notes Spring 2009 (Last update: April 27, 2009) Comments, questions or bug reports? Please contact Hari Balakrishnan (hari@mit.edu) or 6.02-staff@mit.edu LECTURE 21 Network Routing
More informationChapter 7 Routing Protocols
Chapter 7 Routing Protocols Nonroutable Protocols In the early days of networking, networks were small collections of computers linked together For the purposes of sharing information and expensive peripherals
More informationEECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.
EECS 122, Lecture 16 Kevin Fall kfall@cs.berkeley.edu edu Link Costs and Metrics Routing protocols compute shortest/cheapest paths using some optimization criteria Choice of criteria has strong effect
More informationAnnouncement. Project 2 extended to 2/20 midnight Project 3 available this weekend Homework 3 available today, will put it online
Announcement Project 2 extended to 2/20 midnight Project 3 available this weekend Homework 3 available today, will put it online Outline Introduction and Network Service Models Routing Principles Link
More informationNetwork layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical
Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving side, delivers segments to transport layer network layer protocols in every
More informationCS 138: Communication I. CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved.
CS 138: Communication I CS 138 V 1 Copyright 2012 Thomas W. Doeppner. All rights reserved. Topics Network Metrics Layering Reliability Congestion Control Routing CS 138 V 2 Copyright 2012 Thomas W. Doeppner.
More informationRouting Algorithms. CS158a Chris Pollett Apr 4, 2007.
Routing Algorithms CS158a Chris Pollett Apr 4, 2007. Outline Routing Algorithms Adaptive/non-adaptive algorithms The Optimality Principle Shortest Path Routing Flooding Distance Vector Routing Routing
More informationCS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal
CS4450 Computer Networks: Architecture and Protocols Lecture 15 BGP Spring 2018 Rachit Agarwal Autonomous System (AS) or Domain Region of a network under a single administrative entity Border Routers Interior
More informationChapter 4 Network Layer. Network Layer 4-1
Chapter 4 Network Layer Network Layer 4- Chapter 4: Network Layer 4. Introduction 4. Virtual circuit and datagram networks 4. What s inside a router 4.4 IP: Internet Protocol Datagram format IPv4 addressing
More information