Let s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now.

Size: px
Start display at page:

Download "Let s focus on clarifying questions. More Routing. Logic Refresher. Warning. Short Summary of Course. 10 Years from Now."

Transcription

1 Let s focus on clarifying questions I love the degree of interaction in this year s class More Routing all Scott Shenker Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and U erkeley ut there are many people who are confused I d like to give them the chance to ask about basics So today, let s give priority to questions of the form I don t understand X or how does that work? sk speculative questions during or after break Warning. This lecture contains detailed calculations Prolonged exposure may induce drowsiness To keep you awake I will be tossing beanbags o not misplace them o not read the sheet of paper attached If you ve already participated, hand to nbr who hasn t Logic Refresher if means if is true, then is true only if means if is true, then is true if and only if means:. If is true, then is true. If is true, then is true To make the statement that if and only if, you must prove statements and. Short Summary of ourse rchitecture, layering, principle, blah, blah, How functionality is organized There are only two important design challenges: Reliable Transport and Routing Reliable Transport: transport mechanism is reliable if and only if it resends all dropped or corrupted packets Routing: Global routing state is valid if and only if there are no dead ends (easy) and there are no loops (hard) Years from Now. If you remember nothing else from this course except this single slide, I ll be very happy If you don t remember this slide, you have wasted your time 6

2 Previous Routing Lecture We assume destination-based forwarding The key challenge is to compute loop-free routes This is easy when the topology is a tree Loops are impossible without reversing a packet looding always will find the destination an use learning to reduce need for flooding ut this approach has serious disadvantages an t use entire network, must restrict to tree oes not react well to failures or host movement Universally hated by operators. Other Ways to void Loops? If I gave you a network graph, could you define loop-free paths to a given destination? Simple algorithm: or given source, pick an arbitrary path that doesn t loop or any node not on path, draw a path that does not contradict earlier path ontinue until all nodes are covered an pick any spanning tree rooted at destination 8 xample Loops are easy to avoid..if you have the whole graph entralized or pseudo-centralized computation Requirement: routes computed knowing global view One node can do calculation for everyone Or each node can do calculation for themselves ut question is: how do you construct global view? 9 Link-State Routing Is onceptually Simple Link-State etails in Section ach router keeps track of its incident links ach router broadcasts the link state To give every router a complete view of the graph ach router computes paths using same algorithm xample protocols Open Shortest Path irst (OSP) Intermediate System Intermediate System (IS-IS) hallenges: scaling, transient disruptions

3 Link State Routing ach node floods its local information ach node then knows entire network topology Host N Host N N N Host Link State: ach Node Has Global View Host N Host N Host Host N N N Host Host N Host N6 N N6 N How to ompute Routes ach node should have same global view They each compute their own routing tables Using exactly the same algorithm an use any algorithm that avoids loops omputing shortest paths is one such algorithm ssociate cost with links, don t worry what it means. ijkstra s algorithm is one way to compute shortest paths We will review ijkstra s algorithm briefly ut that s just because it is expected from such courses o Snore. Least ost Routes No sensible cost metric will be minimized by traversing a loop Least cost routes an easy way to avoid loops Least cost routes are also destination-based i.e., do not depend on the source Why is this? Therefore, least-cost paths form a spanning tree 6 xample ijkstra s Shortest Path lgorithm INPUT: Network topology (graph), with link costs OUTPUT: Least cost paths from one node to all other nodes Produces tree of routes o ifferent from what we talked about before o Previous tree was rooted at destination o This is rooted at source o ut shortest paths are reversible! Warnings: There is a typo, but I don t remember where (prize!) Most claim to know ijkstra, but in practice they don t 8

4 Notation ijkstra s lgorithm c(i,j): link cost from node i to j; cost infinite if not direct neighbors; (v): current value of cost of path from source to destination v p(v): predecessor node along path from source to v, that is next to v S: set of nodes whose least cost path definitively known Source 9 Initialization: S = {}; for all nodes v if v adjacent to then (v) = c(,v); 6 else (v) = ; c(i,j): link cost from node i to j (v): current cost source v p(v): predecessor node along path from source to v, that is next to v S: set of nodes whose least cost path definitively known 9 find w not in S such that (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: if (w) + c(w,v) < (v) then // w gives us a shorter path to v than we ve found so far (v) = (w) + c(w,v); p(v) = w; until all nodes in S; xample: ijkstra s lgorithm xample: ijkstra s lgorithm (),p(), (),p() (),p(),, (),p() (),p() Initialization: S = {}; for all nodes v if v adjacent to then (v) = c(,v); 6 else (v) = ; (),p(), (),p(), (),p(), (),p() (),p() 9 find w not in S s.t. (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: If (w) + c(w,v) < (v) then (v) = (w) + c(w,v); p(v) = w; until all nodes in S; xample: ijkstra s lgorithm xample: ijkstra s lgorithm (),p() (),p() (),p(),,, (),p() (),p() 9 find w not in S s.t. (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: If (w) + c(w,v) < (v) then (v) = (w) + c(w,v); p(v) = w; until all nodes in S; (),p(), (),p() (),p(),,, (),p(), (),p() 9 find w not in S s.t. (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: If (w) + c(w,v) < (v) then (v) = (w) + c(w,v); p(v) = w; until all nodes in S;

5 xample: ijkstra s lgorithm xample: ijkstra s lgorithm (),p(), (),p() (),p(),,,, (),p(), (),p(), 9 find w not in S s.t. (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: If (w) + c(w,v) < (v) then (v) = (w) + c(w,v); p(v) = w; until all nodes in S; (),p(), (),p() (),p(),,,, (),p(), (),p(), 9 find w not in S s.t. (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: If (w) + c(w,v) < (v) then (v) = (w) + c(w,v); p(v) = w; until all nodes in S; 6 xample: ijkstra s lgorithm xample: ijkstra s lgorithm (),p(), (),p() (),p(),,,, (),p(), (),p(), 9 find w not in S s.t. (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: If (w) + c(w,v) < (v) then (v) = (w) + c(w,v); p(v) = w; until all nodes in S; (),p(), (),p() (),p(),,,, (),p(), (),p(), 9 find w not in S s.t. (w) is a minimum; add w to S; update (v) for all v adjacent to w and not in S: If (w) + c(w,v) < (v) then (v) = (w) + c(w,v); p(v) = w; until all nodes in S; 8 xample: ijkstra s lgorithm (),p(), (),p() (),p(),,,, (),p(), (),p() To determine path (say), work backward from via p(v), 9 The orwarding Table Running ijkstra at node gives the shortest path from to all destinations We then construct the forwarding table estination Link (,) (,) (,) (,) (,)

6 omplexity How much processing does running the ijkstra algorithm take? ssume a network consisting of N nodes ach iteration: check all nodes w not in S N(N+)/ comparisons: O(N ) More efficient implementations: O(N log(n)) looding the Topology Information ach router sends information out its ports The next node sends it out through all of its ports xcept the one where the information arrived Need to remember previous msgs, suppress duplicates! X X (a) (b) X X (c) (d) Making looding Reliable Reliable flooding nsure all nodes receive link-state information nsure all nodes use the latest version hallenges Packet loss Out-of-order arrival Solutions cknowledgments and retransmissions Sequence numbers How can it still fail? When to Initiate lood? Topology change Link or node failure Link or node recovery onfiguration change Link cost change Potential problems with making cost dynamic! Periodically Refresh the link-state information Typically (say) minutes orrects for possible corruption of the data onvergence Getting consistent routing information to all nodes.g., all nodes having the same link-state database orwarding is consistent after convergence ll nodes have the same link-state database ll nodes forward packets on same paths onvergence elay Time elapsed before every router has a consistent picture of the network Sources of convergence delay etection latency looding of link-state information Recomputation of forwarding tables Storing forwarding tables Performance during convergence period Lost packets due to blackholes and TTL expiry Looping packets consuming resources Out-of-order packets reaching the destination Very bad for VoIP, online gaming, and video 6 6

7 Transient isruptions Reducing onvergence elay Inconsistent link-state database Some routers know about failure before others The shortest paths are no longer consistent an cause transient forwarding loops aster detection Smaller hello timers Link-layer technologies that can detect failures aster flooding looding immediately Sending link-state packets with high-priority and think that this is the path to Loop! thinks that this is the path to aster computation aster processors on the routers Incremental ijkstra algorithm aster forwarding-table update ata structures supporting incremental updates 8 Scaling Link-State Routing Overhead of link-state routing looding link-state packets throughout the network Running ijkstra s shortest-path algorithm ecomes unscalable when s of routers Introducing hierarchy through areas rea rea What about other approaches? Link-state is essentially a centralized computation: Global state, local computation What about a more distributed approach? Local state, global computation area border router rea rea rea 9 The Task Remove sheet of paper from beanbag, but do not look at sheet of paper until I say so Learn-y-oing I need volunteers If you haven t participated, this is your chance! You will have five minutes to complete this task ach sheet says: You are node X You are connected to nodes Y,Z Your job: find route from source (node ) to destination (node ) in five minutes

8 Ground Rules You may not: Leave your seat (but you can stand) Pass your sheet of paper Let anyone copy your sheet of paper Go! You may: sk nearby friends for advice Shout to other participants (anything you want) urse your instructor (sotto voce) You must: Try istributed omputation of Routes istance-vector etails in Section More scalable than Link-State No global flooding ach node computing the outgoing port based on: Local information (who it is connected to) Paths advertised by neighbors lgorithms differ in what these exchanges contain istance-vector: just the distance to each destination Path-vector: the entire path to each destination We will focus on distance-vector for now 6 xample of istributed omputation I am three hops away This is what you could have done estination stands up I am one hop away nnounces neighbors They stand up I am three hops away I am one hop away They announce their neighbors They stand up (if they haven t already done so) They remember who called them to stand I am three hops away I am one hop away estination..and so on, until source stands Key point: don t stand up twice! 8 8

9 estination stands up 9 estination stands up nnounces neighbors They stand up I am one hop away I am one hop away I am one hop away estination stands up nnounces neighbors They stand up They announce their neighbors They stand up 9

10 Why Not Stand Up Twice? eing called a second time means that there is a second (and longer) path to you You already contacted your neighbors the first time Your distance to destination is based on shorter path ongratulations! You have implemented istance-vector routing or a single destination With the slowest code possible OK, so now let s consider this more generally. 6 Routing Metrics lgorithm finds path with smallest hop-count More complicated if you route with a different metric Other routing goals (besides hop-count) Path with highest capacity Path with lowest latency Path with most reliable links. Generally, assume every link has cost or weight associated with it, and you want to minimize cost istance Vector Routing ach router knows the links to its neighbors oes not flood this information to the whole network ach router has provisional shortest path.g.: Router : I can get to router with cost via next hop router Routers exchange this istance-vector information with their neighboring routers Vector because one entry per destination Routers update their idea of the best path using info from neighbors Iterative process converges to set of shortest paths 8 Information low in istance Vector Information low in istance Vector Host Host Host Host Host Host N N N N N N N N Host N Host Host N Host N6 N N6 N 9 6

11 Information low in istance Vector Host Why is this different from flooding? Host Host N N N N Host N Host N6 N 6 ellman-ord lgorithm INPUT: Link costs to each neighbor Not full topology OUTPUT: Next hop to each destination and the corresponding cost oes not give the complete path to the destination My neighbors tell me how far they are from dest n ompute: (cost to nhbr) plus (nhbr s cost to destination) Pick minimum as my choice dvertise that cost to my neighbors Next few slides also may have a typo. 6 ellman-ord Overview ellman-ord - Overview ach router maintains a table est known distance from X to Y, via Z as next hop = Z (X,Y) ach local iteration caused by: Local link cost change Message from neighbor Notify neighbors only if least cost path to any destination changes Neighbors then notify their neighbors if necessary ach node: wait for (change in local link cost or msg from neighbor) recompute distance table if least cost path to any dest has changed, notify neighbors ach router maintains a table Row for each possible destination olumn for each directly-attached neighbor to node ntry in row Y and column Z of node X best known distance from X to Y, via Z as next hop = Z (X,Y) Node 8 8 Neighbor (next-hop) 6 estinations (, ) ellman-ord - Overview ach router maintains a table Row for each possible destination olumn for each directly-attached neighbor to node ntry in row Y and column Z of node X best known distance from X to Y, via Z as next hop = Z (X,Y) Node 8 8 Smallest distance in row Y = shortest istance of to Y, (, Y) istance Vector lgorithm (cont d) Initialization: for all neighbors V do c(i,j): link cost from node i to j if V adjacent to (, V) = c(,v); Z (,V): cost from to V via Z else (,V): cost of s best path to V 6 (, V) = ; send (, Y) to all neighbors loop: 8 wait (until sees a link cost change to neighbor V /* case */ 9 or until receives update from neighbor V) /* case */ if (c(,v) changes by ±d) /* case */ for all destinations Y that go through V do V (,Y) = V (,Y) ± d else if (update (V, Y) received from V) /* case */ /* shortest path from V to some Y has changed */ V (,Y) = V (,V) + (V, Y); /* may also change (,Y) */ if (there is a new minimum for destination Y) 6 send (, Y) to all neighbors forever 66

12 xample: st Iteration ( ) loop: else if (update (, Y) from ) (,Y) = (,) + (, Y); if (new min. for destination Y) 6 send (, Y) to all neighbors forever Node 8 8 Node Node (, ) = (,) + (, ) = + = 8 (, ) = (,) + (, ) = + = 8 Node xample: st Iteration ( ) loop: else if (update (, Y) from ) (,Y) = (,) + (, Y); if (new min. for destination Y) 6 send (, Y) to all neighbors forever Node 8 8 Node Node (, ) = (,) + (, ) = + = (, ) = (,) + (, ) = + = Node xample: nd of st Iteration xample: nd Iteration ( ) Where What How harm does could does this we this fix come this? cause? from? Node 8 8 Node 8 9 Node 8 8 Node (, ) = (,) + (, ) = + = (, ) = (,) + (, ) = + = nd of st Iteration ll nodes knows the best two-hop paths Node 9 Node 8 loop: else if (update (, Y) from ) (,Y) = (,) + (, Y); if (new min. for destination Y) 6 send (, Y) to all neighbors forever Node 9 Node 8 xample: nd of nd Iteration xample: nd of rd Iteration Node 8 8 Node Node 8 8 Node 6 nd of nd Iteration ll nodes knows the best three-hop paths Node 6 9 Node nd of rd Iteration: lgorithm onverges! Node 9 Node What route does this represent?

13 Intuition Initial state: best one-hop paths One round: best two-hop paths Two rounds: best three-hop paths Kth round: best (k+) hop paths This must eventually converge.but how does it respond to changes in cost? istance Vector: Link ost hanges Node Node loop: 8 wait (until sees a link cost change to neighbor V 9 or until receives update from neighbor V) / if (c(,v) changes by ±d) /* case */ for all destinations Y that go through V do V(,Y) = V(,Y) ± d else if (update (V, Y) received from V) /* case */ V(,Y) = V(,V) + (V, Y); if (there is a new minimum for destination Y) 6 send (, Y) to all neighbors forever Link cost changes here 6 9 time lgorithm terminates good news travels fast V: ount to Infinity Problem loop: 8 wait (until sees a link cost change to neighbor V 9 or until receives update from neighbor V) / if (c(,v) changes by ±d) /* case */ for all destinations Y that go through V do V(,Y) = V(,Y) ± d else if (update (V, Y) received from V) /* case */ V(,Y) = V(,V) + (V, Y); if (there is a new minimum for destination Y) 6 send (, Y) to all neighbors forever Node 6 Node 9 Link cost changes here More like avoidance: believe anything if it hides the bad news time bad news travels slowly istance Vector: Poisoned Reverse Node Node If routes through to get to : - tells its ( s) distance to is infinite (so won t route to via ) Link cost changes here; updates (, ) = 6 as has advertised (, ) = time lgorithm terminates 6 Will PR Solve I Problem ompletely? 6 few comments What if routers don t use the same metric? I want low delay, you want low loss rate? What is routers want a non-additive metric like maximum capacity? What happens if nodes lie? 8

14 No agreement on metrics? What Happens Here? If the nodes choose their paths according to different criteria, then bad things might happen ares about price, then loss Low price link ares about delay, then price xample Node is minimizing latency Node is minimizing loss rate Node is minimizing price ny of those goals are fine, if globally adopted Only a problem when nodes use different criteria Low loss link Low loss link Low delay link Low delay link Low price link ares about loss, then delay 9 8 an You Use ny Metric? re there any metrics that won t work, even if everyone agrees on it? What Happens Here? high ll capacity nodes link want gets to maximize reduced to capacity low capacity What about maximizing capacity? 8 8 Must agree on loop-avoiding metric When all nodes minimize same metric nd that metric increases around loops Then process is guaranteed to converge Routing: Just the eginning Link state and distance-vector (and path vector) are the deployed routing paradigms ut we know how to do much, much better Stay tuned for a later lecture where we: Reduce convergence time to zero Respond to failures instantly! 8 8

More Routing. EE122 Fall 2012 Scott Shenker

More 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 information

What is Routing? EE 122: Shortest Path Routing. Example. Internet Routing. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

What 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 information

Missing Pieces of the Puzzle

Missing 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 information

CS 43: Computer Networks. 23: Routing Algorithms November 14, 2018

CS 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 information

EE 122: Intra-domain routing

EE 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 information

IP Forwarding Computer Networking. Routes from Node A. Graph Model. Lecture 10: Intra-Domain Routing

IP 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 information

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

CS 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 information

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich

Discussion 8: Link State Routing. CSE 123: Computer Networks Marti Motoyama & Chris Kanich iscussion 8: Link State Routing S : omputer Networks Marti Motoyama & hris Kanich Schedule Project Questions: mail hris, post to moodle, or attend his OH Homework Questions? Link State iscussion S iscussion

More information

COMP 3331/9331: Computer Networks and Applications

COMP 3331/9331: Computer Networks and Applications OMP /9: omputer Networks and pplications Week 9 Network Layer: Routing Reading Guide: hapter 4: Sections 4.5 Network Layer nnouncements v Labs Lab 4 ongestion ontrol Lab 5 Simple Router (start up for ssignment,

More information

Link-State Routing OSPF

Link-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 information

COMP/ELEC 429/556 Introduction to Computer Networks

COMP/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 information

Third Generation Routers

Third Generation Routers IP orwarding 5-5- omputer Networking 5- Lecture : Routing Peter Steenkiste all www.cs.cmu.edu/~prs/5-- The Story So ar IP addresses are structured to reflect Internet structure IP packet headers carry

More information

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal

CS4450. Computer Networks: Architecture and Protocols. Lecture 11 Rou+ng: Deep Dive. Spring 2018 Rachit Agarwal CS4450 Computer Networks: Architecture and Protocols Lecture 11 Rou+ng: Deep Dive Spring 2018 Rachit Agarwal 2 Goals for Today s Lecture Learning about Routing Protocols Link State (Global view) Distance

More information

Distance-Vector Routing: Distributed B-F (cont.)

Distance-Vector Routing: Distributed B-F (cont.) istance-vector Routing: istributed - (cont.) xample [ istributed ellman-ord lgorithm ] ssume each node i maintains an entry (R(i,x), L(i,x)), where R(i,x) is the next node along the current shortest path

More information

Review: Routing in Packet Networks Shortest Path Algorithms: Dijkstra s & Bellman-Ford. Routing: Issues

Review: 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 information

Routing. 9: Intro to Routing Algorithms. Routing. Roadmap. Routing Algorithm classification: Static or Dynamic?

Routing. 9: Intro to Routing Algorithms. Routing. Roadmap. Routing Algorithm classification: Static or Dynamic? Routing 9: Intro to Routing lgorithms Last Modified: // :: PM : Netork Layer a- IP Routing each router is supposed to send each IP datagram one step closer to its Ho do they do that? Static Routing Hierarchical

More information

ECE 158A: Lecture 5. Fall 2015

ECE 158A: Lecture 5. Fall 2015 8: Lecture Fall 0 Routing ()! Location-ased ddressing Recall from Lecture that routers maintain routing tables to forward packets based on their IP addresses To allow scalability, IP addresses are assigned

More information

WAN Technology and Routing

WAN Technology and Routing PS 60 - Network Programming WN Technology and Routing Michele Weigle epartment of omputer Science lemson University mweigle@cs.clemson.edu March, 00 http://www.cs.clemson.edu/~mweigle/courses/cpsc60 WN

More information

Initialization: Loop until all nodes in N

Initialization: Loop until all nodes in N Routing Routing lgorithm classification Routing protocol Goal: determine good path (sequence of routers) thru netork from source to dest. Graph abstraction for routing s: graph nodes are routers graph

More information

IP Forwarding Computer Networking. Graph Model. Routes from Node A. Lecture 11: Intra-Domain Routing

IP 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 information

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to.

Network service model. Network service model. Network Layer (part 1) Virtual circuits. By the end of this lecture, you should be able to. Netork Layer (part ) y the end of this lecture, you should be able to. xplain the operation of distance vector routing algorithm xplain shortest path routing algorithm escribe the major points of RIP and

More information

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives

Routers & Routing : Computer Networking. Binary Search on Ranges. Speeding up Prefix Match - Alternatives Routers & Routing -44: omputer Networking High-speed router architecture Intro to routing protocols ssigned reading [McK9] Fast Switched ackplane for a Gigabit Switched Router Know RIP/OSPF L-4 Intra-omain

More information

Link State Rou.ng Reading: Sec.ons 4.2 and 4.3.4

Link 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 information

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE! 1. Link state flooding topology information finding the shortest paths (Dijkstra)

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE! 1. Link state flooding topology information finding the shortest paths (Dijkstra) ontents ÉOL POLYTHNIQU ÉÉRL LUSNN! 1. Link state flooding topology information finding the shortest paths (ijkstra)! 2. Hierarchical routing with areas! 3. OSP Link State Routing database modelling neighbor

More information

4/25/12. The Problem: Distributed Methods for Finding Paths in Networks Spring 2012 Lecture #20. Forwarding. Shortest Path Routing

4/25/12. The Problem: Distributed Methods for Finding Paths in Networks Spring 2012 Lecture #20. Forwarding. Shortest Path Routing //1 The Problem: istributed Methods for Finding Paths in Networks L 1.0 Spring 01 Lecture #0 addressing, forwarding, routing liveness, advertisements, integration distance-vector routing link-state routing

More information

Advanced Topics in Routing

Advanced Topics in Routing Advanced Topics in Routing EE122 Fall 2012 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica, Vern Paxson and other colleagues at Princeton and UC

More information

Lecture 12: Link-state Routing. Lecture 12 Overview. Router Tasks. CSE 123: Computer Networks Chris Kanich. Routing overview

Lecture 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 information

Communication Networks

Communication Networks ommunication Networks Prof. Laurent Vanbever ommunication Networks Spring 08 Roland Meier / Thomas Holterbach Slides: Laurent Vanbever nsg.ee.ethz.ch TH ürich (-ITT) pril 9 08 Materials inspired from Scott

More information

DSDV: Proactive. Distance Vector (Basic idea) Distance Vector. Distance Vector Algorithm: Tables 12/13/2016

DSDV: Proactive. Distance Vector (Basic idea) Distance Vector. Distance Vector Algorithm: Tables 12/13/2016 estination Sequenced istance Vector (SV) Routing [Perkins94] SV: Proactive SV is a proactive protocol means it maintains up-to-date routing information for all available nodes in the network. No extra

More information

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. Internet Routing. Jasleen Kaur.

COMP 631: NETWORKED & DISTRIBUTED SYSTEMS 9/6/16 COMP 631: NETWORKED & DISTRIBUTED SYSTEMS. Internet Routing. Jasleen Kaur. OMP 3: NETWORKE & ISTRIUTE SSTEMS // OMP 3: NETWORKE & ISTRIUTE SSTEMS Internet Routing Jasleen Kaur Fall 0 Forwarding vs. Routing: Local vs. istributed oth datagram and virtual-circuit based networks

More information

Announcement. 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 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 information

Redes de Computadores. Shortest Paths in Networks

Redes 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 information

The Problem: Finding Paths Spring 2011 Lecture #19. Forwarding. Shortest Path Routing

The Problem: Finding Paths Spring 2011 Lecture #19. Forwarding. Shortest Path Routing The Problem: Finding Paths 1 6.02 Spring 20 Lecture # addressing, forwarding, routing liveness, advertisements, integration distance-vector routing routing loops, counting to infinity 6.02 Spring 20 Lecture,

More information

Distributed Algorithms in Networks EECS 122: Lecture 17

Distributed Algorithms in Networks EECS 122: Lecture 17 istributed lgorithms in Networks EES : Lecture 7 epartment of Electrical Engineering and omputer Sciences University of alifornia erkeley Network Protocols often have unintended effects TP Eample TP connections

More information

Routing in Ad-hoc Networks

Routing in Ad-hoc Networks 0/3/ COMP 635: WIRELESS & MOILE COMMUNICTIONS Routing in d-hoc Networks Jasleen Kaur Fall 0 Infrastructure-less Wireless Networks Standard Mobile IP needs an infrastructure Ø Home gent/foreign gent in

More information

Link State Rou.ng Reading: Sec.ons 4.2 and 4.3.4

Link 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 009 (MW :0 :50 in COS 05) Michael Freedman Teaching Assistants: WyaN Lloyd and Jeff Terrace hnp://www.cs.princeton.edu/courses/archive/spring09/cos6/

More information

Routing Algorithm Classification. A Link-State Routing Algorithm

Routing Algorithm Classification. A Link-State Routing Algorithm Routing Algorithm lassification Global or decentralied information? Global: All routers have complete topolog, link cost info Link state algorithms Decentralied: Router knows phsicallconnected neighbors,

More information

Chapter 4: Network Layer

Chapter 4: Network Layer hapter 4: Network Layer hapter goals: understand principles behind layer services: routing (path selection) dealing with scale how a router works advanced topics: IPv6, multicast instantiation and implementation

More information

Chapter 4: Network Layer

Chapter 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 information

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013

CS 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 information

CSE/EE 461 Lecture 7 Bridging LANs. Last Two Times. This Time -- Switching (a.k.a. Bridging)

CSE/EE 461 Lecture 7 Bridging LANs. Last Two Times. This Time -- Switching (a.k.a. Bridging) S/ 461 Lecture 7 ridging LNs Last Two Times Medium ccess ontrol (M) protocols Part of the Link Layer t the heart of Local rea Networks (LNs) ow do multiple parties share a wire or the air? Random access

More information

CSE/EE 461 Distance Vector Routing

CSE/EE 461 Distance Vector Routing S/ 46 istance Vector Routing Last Time Introduction to the Network layer Internetworks atagram and virtual circuit services Internet Protocol (IP) packet format The Network layer Provides end-to-end data

More information

Computer 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) 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 information

Advanced Computer Networks

Advanced Computer Networks istance Vector dvanced omputer Networks Internal routing - distance vector protocols Prof. ndrzej uda duda@imag.fr ontents Principles of internal routing istance vector (ellman-ford) principles case of

More information

Destination Sequenced Distance. [Perkins94] CSE 6811 : Lecture 6

Destination Sequenced Distance. [Perkins94] CSE 6811 : Lecture 6 estination Sequenced istance Vector (SV) Routing [Perkins94] SE 6811 : Lecture 6 SV: Proactive SV is a proactive protocol means it maintains up to date routing information for all available nodes in the

More information

Network Layer (Routing)

Network Layer (Routing) Network Layer (Routing) Topics Network service models Datagrams (packets), virtual circuits IP (Internet Protocol) Internetworking orwarding (Longest Matching Prefix) Helpers: ARP and DHP ragmentation

More information

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni

CEN445 Network Protocols and Algorithms. Chapter 2. Routing Algorithms. Dr. Ridha Ouni 3/4/04 EN44 Network Protocols and lgorithms hapter Routing lgorithms Dr. Ridha Ouni Department of omputer Engineering ollege of omputer and Information Sciences King Saud University References Some slides

More information

2/16/2008. Outline Computer Networking Lecture 11 Routing. Sending Link States by Flooding. Link State Protocol Concept

2/16/2008. Outline Computer Networking Lecture 11 Routing. Sending Link States by Flooding. Link State Protocol Concept //8 Outline - omputer Networking Lecture Routing Link tate OP Peter teenkiste epartments of omputer cience and Electrical and omputer Engineering IP Multicast ervice asics - Networking, pring 8 http://www.cs.cmu.edu/~dga/-/8

More information

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277) Interdomain Routing Reading: Sections K&R 4.6.3 EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277) Guest Lecture by Brighten Godfrey Instructor: Vern Paxson TAs: Lisa Fowler, Daniel

More information

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Interdomain Routing Reading: Sections P&D 4.3.{3,4} Interdomain Routing Reading: Sections P&D 4.3.{3,4} EE122: Intro to Communication Networks Fall 2006 (MW 4:00-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim http://inst.eecs.berkeley.edu/~ee122/

More information

Routing. Effect of Routing in Flow Control. Relevant Graph Terms. Effect of Routing Path on Flow Control. Effect of Routing Path on Flow Control

Routing. Effect of Routing in Flow Control. Relevant Graph Terms. Effect of Routing Path on Flow Control. Effect of Routing Path on Flow Control Routing Third Topic of the course Read chapter of the text Read chapter of the reference Main functions of routing system Selection of routes between the origin/source-destination pairs nsure that the

More information

UNIT 2 ROUTING ALGORITHMS

UNIT 2 ROUTING ALGORITHMS UNIT ROUTING ALGORITHMS Routing Algorithms Structure Page Nos..0 Introduction 3. Objectives 3. Flooding 3.3 Shortest Path Routing Algorithm 5.4 Distance Vector Routing 6.4. Comparison.4. The Count-to-Infinity

More information

Deployment of IGRP/EIGRP

Deployment of IGRP/EIGRP 1 eployment of IGRP/EIGRP Session 2 Presentation_I.scr 1 Understanding EIGRP Understanding and deploying EIGRP is like driving a car 3 genda Fundamentals of EIGRP UL Summarization and Load alancing EIGRP/IGRP

More information

Distance Vector Routing

Distance Vector Routing ÉOL POLYTHNIQU FÉÉRL LUSNN istance Vector Routing Jean Yves Le oudec 20 ontents. Routing in General 2. istance vector: theory 3. istance vector: practice (RIP) 4. Software efined Networking (SN) Textbook

More information

CSCD 330 Network Programming Spring 2018

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 information

CSCD 330 Network Programming Spring 2017

CSCD 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 information

Distance vector and RIP

Distance 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 information

TCP/IP Networking. Part 3: Forwarding and Routing

TCP/IP Networking. Part 3: Forwarding and Routing TP/IP Networking Part 3: Forwarding and Routing Routing of IP Packets There are two parts to routing IP packets:. How to pass a packet from an input interface to the output interface of a router ( IP forwarding

More information

Intra-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-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 information

More on Network Routing and Internet Protocol

More on Network Routing and Internet Protocol omputer Networks //03 More on Network Routing and Internet Protocol Kai Shen Network Routing Link state routing: ijkstra s algorithm efficient approach to calculate least cost routes all routers need complete

More information

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing

06/02/ Local & Metropolitan Area Networks. Overview. Routing algorithm ACOE322. Lecture 6 Routing Local & Metropolitan rea Networks OE3 Lecture 6 Routing r. L. hristofi Overview The main function of the network layer is routing packets from the source to the destination machine. The only exception

More information

Lecture 4 Wide Area Networks - Routing

Lecture 4 Wide Area Networks - Routing DATA AND COMPUTER COMMUNICATIONS Lecture 4 Wide Area Networks - Routing Mei Yang Based on Lecture slides by William Stallings 1 ROUTING IN PACKET SWITCHED NETWORK key design issue for (packet) switched

More information

Where we are in the Course

Where we are in the Course Where we are in the ourse More fun in the Network Layer! We ve covered packet forwarding Now we ll learn about roung Applicaon Transport Network Link Physical SE 61 University of Washington 1 Roung versus

More information

Routing Outline. EECS 122, Lecture 15

Routing 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 information

Question. Reliable Transport: The Prequel. Don t parse my words too carefully. Don t be intimidated. Decisions and Their Principles.

Question. Reliable Transport: The Prequel. Don t parse my words too carefully. Don t be intimidated. Decisions and Their Principles. Question How many people have not yet participated? Reliable Transport: The Prequel EE122 Fall 2012 Scott Shenker http://inst.eecs.berkeley.edu/~ee122/ Materials with thanks to Jennifer Rexford, Ion Stoica,

More information

TCOM 501: Networking Theory & Fundamentals. Lecture 11 April 16, 2003 Prof. Yannis A. Korilis

TCOM 501: Networking Theory & Fundamentals. Lecture 11 April 16, 2003 Prof. Yannis A. Korilis TOM 50: Networking Theory & undamentals Lecture pril 6, 2003 Prof. Yannis. Korilis 2 Topics Routing in ata Network Graph Representation of a Network Undirected Graphs Spanning Trees and Minimum Weight

More information

Routing in a network

Routing 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 information

ECE 435 Network Engineering Lecture 11

ECE 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 information

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

ETSF05/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

Communication Networks

Communication 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 information

ECE 435 Network Engineering Lecture 11

ECE 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 information

Chapter 4: Network Layer, partb

Chapter 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 information

CS 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. 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 information

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Internet 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 information

Main Challenge. Other Challenges. How Did it Start? Napster. Model. EE 122: Peer-to-Peer Networks. Find where a particular file is stored

Main Challenge. Other Challenges. How Did it Start? Napster. Model. EE 122: Peer-to-Peer Networks. Find where a particular file is stored Main hallenge ind where a particular file is stored : Peer-to-Peer Networks Ion Stoica (and righten Godfrey) Ts: Lucian Popa, avid Zats and Ganesh nanthanarayanan http://inst.eecs.berkeley.edu/~ee/ (Materials

More information

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCE 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 information

Shortest 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 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 information

Transport and TCP. EE122 Fall 2011 Scott Shenker

Transport and TCP. EE122 Fall 2011 Scott Shenker Transport and TCP 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 UC Berkeley

More information

Shortest Path Routing Communications networks as graphs Graph terminology Breadth-first search in a graph Properties of breadth-first search

Shortest Path Routing Communications networks as graphs Graph terminology Breadth-first search in a graph Properties of breadth-first search Shortest Path Routing Communications networks as graphs Graph terminology Breadth-first search in a graph Properties of breadth-first search 6.082 Fall 2006 Shortest Path Routing, Slide 1 Routing in an

More information

CSC 4900 Computer Networks: Routing Algorithms

CSC 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 information

Top-Down Network Design

Top-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 information

DATA COMMUNICATOIN NETWORKING

DATA 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 information

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

Fairness Example: high priority for nearby stations Optimality Efficiency overhead Routing Requirements: Correctness Simplicity Robustness Under localized failures and overloads Stability React too slow or too fast Fairness Example: high priority for nearby stations Optimality Efficiency

More information

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day? Goals for Today s Class EE 122: & Protocols Ion Stoica TAs: Junda Liu, DK Moon, David Zats http://inst.eecs.berkeley.edu/~ee122/fa09 (Materials with thanks to Vern Paxson, Jennifer Rexford, and colleagues

More information

Bridges. Bridge Functions. Example of No-frills Bridge. No-frills Bridges. Example of Learning Bridge. Learning Bridges

Bridges. Bridge Functions. Example of No-frills Bridge. No-frills Bridges. Example of Learning Bridge. Learning Bridges ridge Functions To extend size of LNs either geographically or in terms number of users. Protocols that include collisions can be performed in a collision domain of limited size. In ring networks the number

More information

Chapter 12. Routing and Routing Protocols 12-1

Chapter 12. Routing and Routing Protocols 12-1 Chapter 12 Routing and Routing Protocols 12-1 Routing in Circuit Switched Network Many connections will need paths through more than one switch Need to find a route Efficiency Resilience Public telephone

More information

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Important 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 information

Internet Architecture. Network Layer Overview. Fundamental Network Layer Function. Protocol Layering and Data. Computer Networks 9/23/2009

Internet Architecture. Network Layer Overview. Fundamental Network Layer Function. Protocol Layering and Data. Computer Networks 9/23/2009 omputer Networks 9//9 Network Layer Overview Kai Shen Internet rchitecture ottom-up: : electromagnetic signals on the wire : data transfer between neighboring elements encoding, framing, error correction,

More information

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

EECS 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 information

AODV Route Requests (RREQ) are forwarded in a manner similar to DSR

AODV Route Requests (RREQ) are forwarded in a manner similar to DSR d oc On-emand istance Vector (OV) R includes source routes in packet headers Resulting large headers can sometimes degrade performance particularly when data contents of a packet are small OV attempts

More information

Network Layer: Routing

Network Layer: Routing Network Laer: Routing Instructor: Anirban Mahanti Office: ICT 74 Email: mahanti@cpsc.ucalgar.ca Class Location: ICT Lectures: MWF :00 :0 hours Notes derived Computer Networking: A Top Down Approach Featuring

More information

Announcements. Ethernet. Goals of Today s Lecture. Three Ways to Share the Media. Random Access Protocols. Key Ideas of Random Access

Announcements. Ethernet. Goals of Today s Lecture. Three Ways to Share the Media. Random Access Protocols. Key Ideas of Random Access Ethernet EE 1: Intro to ommunication Networks Fall 00 (WF -:0 in ory ) Vern Paxson Ts: Lisa Fowler, aniel Killebrew & Jorge Ortiz http://inst.eecs.berkeley.edu/~ee1/ nnouncements Solutions for Homework

More information

Chapter 4 Network Layer. Network Layer 4-1

Chapter 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

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

Lecture 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 information

Previous Lecture. Link Layer & Network Layer. Link Layer. This Lecture. Framing. Sending bits. Chapter 7.C and 7.D

Previous Lecture. Link Layer & Network Layer. Link Layer. This Lecture. Framing. Sending bits. Chapter 7.C and 7.D hapter 7. and 7. Previous Lecture Layer & Network Layer The network is organized into layers Prof. ina Katabi Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari alakrishnan,

More information

ETSF05/ETSF10 Internet Protocols Routing on the Internet

ETSF05/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 information

William Stallings Data and Computer Communications 7 th Edition. Chapter 12 Routing

William Stallings Data and Computer Communications 7 th Edition. Chapter 12 Routing William Stallings Data and Computer Communications 7 th Edition Chapter 12 Routing Routing in Circuit Switched Network Many connections will need paths through more than one switch Need to find a route

More information

Alternate Routing Diagram

Alternate Routing Diagram 68 0 Computer Networks Chapter Routing Routing in Circuit Switched Network Many connections will need paths through more than one switch Need to find a route Efficiency Resilience Public telephone switches

More information

(Refer Slide Time: 01:08 to 01:25min)

(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 information

CS4450. 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 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 information