cs/ee 143 Communication Networks
|
|
- Shon Turner
- 6 years ago
- Views:
Transcription
1 cs/ee 143 Communication Networks Chapter 5 Routing Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech
2 Warning These notes are not self-contained, probably not understandable, unless you also were in the lecture They are supplement to not replacement for class attendance
3 Lecture outline Inter-domain routing n BGP Intra-domain routing n Shortest path algortihms Coding n FEC, network coding
4 Putting it all together Figure 5.19: Figure for Routing Problem 3. [W&P 2010] initially unconnected
5 What is routing? Choose red or blue. Internet A B
6 How to route? Two layers of routing: 1. Choose which AS? - BGP 2. How to route inside an AS? - OSPF A Internet Autonomy system (AS) e.g., AT&T, Verizon, MIT. B
7 Why two layers? o Different objectives n Choose AS: special policies n Inside AS: minimize delay, # hops o Simplify routing n Choose AS: ignore details inside AS n Inside AS: only details inside AS
8 Inter-domain routing: BGP Peering relation: A-B, B-C A, B, C carry each other s traffic free of charge B only advertises B to A and to C A does not know how to reach C through this. A must have transit relation with anther ISP (not shown here) that carries its traffic to C. Transit relation: A-B, B-C Customer-provider relation, e.g., B is provider for A and for C. A (C) pays B for carrying to/from A (C). B advertises {B,C} to A and {A, B} to C so that all ISP s know how to reach all destinations.
9 Inter-domain routing: BGP A typical configuration
10 Inter-domain routing: BGP BGP is policy-based routing o Generally not shortest-path o Other factors are generally more important in determining an AS-path than performance n Peering agreement n Pricing (revenue/cost) with next hop n Reliability, security, political reasons o Can lead to oscillation and bad performance
11 Inter-domain routing: BGP Example BGP policy at Berkeley: 1. If possible, avoid AT&T 2. Choose path with smallest #hops 3. Alphabetical Berkeley decision: use path Sprint-Verizon-MIT to reach MIT
12 Border Gateway Protocol (BGP) Every AS keeps a list of (Destination, Path) pairs & policies. Policy: avoid AT&T. How to reach MIT from Berkeley? Verizon AT&T Sprint Berkeley (MIT, Verizon---MIT) (MIT, AT&T---MIT) (MIT, NA) (MIT, NA)
13 Border Gateway Protocol (BGP) Every AS keeps a list of (Destination, Path) pairs & policies. Policy: avoid AT&T. How to reach MIT from Berkeley? Verizon AT&T Sprint Berkeley (MIT, Verizon---MIT) (MIT, AT&T---MIT) (MIT, Sprint---Verizon---MIT) (MIT, Berkeley---AT&T---MIT) (MIT, Verizon---AT&T---MIT) (MIT, AT&T---Verizon---MIT) (MIT, Sprint---AT&T---MIT)
14 Border Gateway Protocol (BGP) Every AS keeps a list of (Destination, Path) pairs & policies. Policy: avoid AT&T. How to reach MIT from Berkeley? Verizon AT&T Sprint Berkeley (MIT, Verizon---MIT) (MIT, AT&T---MIT) (MIT, Sprint---Verizon---MIT) (MIT, Berkeley---AT&T---MIT) (MIT, Berkeley---Sprint---Verizon---MIT)
15 Border Gateway Protocol (BGP) In BGP, each AS o Announces itself to other ASes and which ASes it can reach o Obtains ASes reachability info from neighboring Ases o Propagate reachability info to all routers internal to the AS o Determine good routes to ASes based on reachability info and AS policy
16 BGP: potential oscillation Example BGP policy to reach D: 1. Prefer 2-hop path to 1-hop 2. Avoid 3-hop paths Oscillation: Every node will alternate between choosing an 1- hop path and 2-hop path
17 Some questions Q1: Why not 3-level, or N-level, routing? Q2: How can a source ensure that its packets follow the inter-domain path it wants? Q3: In BGP, can one prevent a domain from lying and funneling all traffic through itself in order eavesdrop?
18 Lecture outline Inter-domain routing n BGP Intra-domain routing n Shortest path algortihms Coding n FEC, network coding
19 Shortest-path algorithm Input: graph G = ( V, E), link costs d ij ( d ij = if ( i, j) E) Execution: algorithm run at each node Output: n n Dijkstra: shortest-path tree rooted at the node Bellman-Ford: next hop to all destinations from the node (entries in forwarding table) Notation: n D x (i) : min cost to reach node i from x n pred x (i) : parent node of i (for Dijkstra) n next x (i) : next hop to i from x (for Bellman-Ford)
20 Dijkstra algorithm Init: Dx ( i) = d xi, Dx ( x) = 0, R = { x}, pred x (i) = null Each node x sends d xi to all other nodes i R V while * { i = argmin R R i R do D { i * } x ( i) Run at each source node x for all j N( i * ) \ R { if D then x ( j) > Dx ( i * ) + d * i j { D x( j) Dx ( i * ) + d * i j * pred(j) = i }if }for Which step requires global info? }while
21 Dijkstra algorithm Init: Dx ( i) = d xi, Dx ( x) = 0, R = { x}, pred x (i) = null Each node x sends d xi to all other nodes i R V while * { i = argmin R R i R do D { i * } x ( i) Run at each source node x for all j N( i * ) \ R { if D then x ( j) > Dx ( i * ) + d * i j { D x( j) Dx ( i * ) + d * i j * pred(j) = i }if }for Which step requires global info? }while
22 Dijkstra algorithm B A F C E D P(1) 1 B A F C E D P(2) 1 B A F C E D P(3) 1 2 B A F C E D P(4) B A F C E D P(5) B A F C E D P(6): Final
23 Bellman-Ford algorithm Init: Dx ( i) = d xi, Dx ( x) = 0, R = { x}, pred x (i) = null Each node x sends distance vector ( D x ( i), i V ) to all its neighbors whenever ( i), i V changes ( ) D x do (execute when link cost changes or on receipt of a DV from neighbor) { for all destination nodes i { }for } until no change D x (i) := min next x (i) = j N (x) ( d xj + D j (i)) j * := argmin j N (i) ( d xj + D j (i)) Run at each source node x
24 Bellman-Ford algorithm A 1 4 B 1 1 F 3 1 C E D Consider the calculations at all nodes to reach node D Every node has access to distance estimates from neighbors to D Assume synchronous operation P(1) iteration D A (D) next A (D) D B (D) next B (D) D C (D) next C (D) D E (D) next E (D) D F (D) next F (D) 0 Inf - Inf - 2 D 4 D Inf - 1 Inf - 5 C 2 D 3 C 5 E 2 6 B 4 E 2 D 3 C 4 E 3 5 B 4 E 2 D 3 C 4 E 4 5 B 4 E 2 D 3 C 4 E
25 Compare Dijsktra & BF o Message exchange n n Dijkstra: every node sends only its incident link costs to all other nodes. This requires O( V E ) messages. BF: every node sends only to its neighbors least-cost estimates from itself to all other nodes o Speed of convergence n n Disjstra: above implementation takes O( V 2 ); can be reduced using heap BF: can converge slowly and have routing loops during transient; count-to-infinity problem (can be solved using poisoned reverse) o No clear winner n n n Both are used on Internet RIP: distance-vector protocol OSPF: link-state protocol (meant to be successor to RIP)
26 Count-to-infinity problem Example Link between B & C fails A and B will not realize it, a routing route is created and their cost estimate to C keeps going up A solution: poisoned reverse: instead of telling B its true cost (2) to reach C, A tells B that its cost to reach C is infinity because A uses B to reach C.
27 Compare Dijsktra & BF o Dijkstra algorithm n Needs global information (link-state alg) n Each node broadcasts link-state packets to all other nodes in network n Each node executes Dijkstra alg to calculate shortest paths to all other nodes n After k iteration, shortest paths to k destinations are known (and they are the k shortest paths among the shortest paths to all nodes) n Terminates after N-1 iterations (N = #nodes)
28 Compare Dijsktra & BF o Bellman-Ford algorithm n Only needs local information (distance-vector alg) n Each node exchanges with neighbors the vector of distances from itself to all other nodes n Each node then updates the next hop and associated distance to all other nodes using Bellman-Ford (DP) equation n Decentralized, asynchronous, distributed
29 Other questions o How can routers trust each other? o How to deal with non-convergence in DV protocol? How often is oscillation encountered in practice? o Router R1 can route a pkt to host A through R2 or R3; R2 can route through R4 or R5 and has chosen R4. But R1 prefers R5 to R2 to R4. What happens?
30 Other questions o What is timescale for routing update? o What are major impediments to making significant changes to routing architecture? Would a bio-inspired routing system feasible? o Can network coding & FEC be combined?
31 Putting it all together Figure 5.19: Figure for Routing Problem 3. [W&P 2010] initially unconnected
32 Putting it all together Thenetworkaddressesofnodesaregivenby<AS>.<Network>.0.<node>, e.g., node A has the address AS1.E1.0.A, The bridge IDs satisfy B1 < B2 < B3, HisnotconnectedtoAS2.E5forpart(a), TheBGPSpeakersusetheleast-next-hop-costpolicyforrouting(i.e.,amongalternative paths to the destination AS, choose the one that has the least cost on the first hop), and The network topology shown has been stable for a long enough time to allow all the routing algorithms to converge and all the bridges to learn where to forward each packet. Figure 5.19: Figure for Routing Problem 3. [W&P 2010]
33 Putting it all together 1. How to route G à A? 2. As soon as H is added, D tries to send a packet to H. What happens? 3. If AS2.R2 goes down, what will be the routing changes? later goes down Figure 5.19: Figure for Routing Problem 3. [W&P 2010] initially unconnected
34 1. compute spanning tree Figure 5.19: Figure for Routing Problem 3. [W&P 2010]
35 2. compute intra-as routing Figure 5.19: Figure for Routing Problem 3. [W&P 2010]
36 3. compute inter-as routing 1. How to route G à A? Figure 5.19: Figure for Routing Problem 3. [W&P 2010]
37 3. compute inter-as routing 1. How to route G à A? Does A à G follow the same path? Figure 5.19: Figure for Routing Problem 3. [W&P 2010]
38 4. Address resolution protocol 1. How to route G à A? 2. As soon as H is added, D tries to send a packet to H. What happens? 3. If AS2.R2 goes down, what will be the routing changes? Figure 5.19: Figure for Routing Problem 3. [W&P 2010] initially unconnected
39 4. Address resolution protocol Packets from D can be delivered to subnet AS2.B1 based on IP address of H AS2.B1 does not know H AS2.B1 uses ARP to find H s MAC address Use STP to forward pkts to H Figure 5.19: Figure for Routing Problem 3. [W&P 2010] initially unconnected
40 Example: H1 wants to send packet to H2 Network Link [all, gateway e1, who is IP2?] Ethernet switch Link layer on H1 broadcasts a message (ARP query) on its layer 2 network asking for the MAC address corresponding to IP2
41 Example: H1 wants to send packet to H2 Network Link [all, gateway e1, who is IP2?] Ethernet switch Network Link [e1, e2, I am IP2] Link layer on H2 responds to the ARP query with its MAC address
42 Example: H1 wants to send packet to H2 Network Link [e2, gateway e1,[ip1, IP2, X]] Ethernet switch Network Link Once the link layer on H1 knows e2, it can now send the original message
43 Example: H1 wants to send packet to H2 Network Link [e2, gateway e1,[ip1, IP2, X]] Ethernet switch Network Link [IP1, IP2, X] [e2, e1,[ip1, IP2, X]] Link layer on H2 delivers the packet to the network layer on H2
44 5. re-compute routing table 1. How to route G à A? 2. As soon as H is added, D tries to send a packet to H. What happens? 3. If AS2.R2 goes down, what will be the routing changes? goes down Figure 5.19: Figure for Routing Problem 3. [W&P 2010]
45 5. re-compute routing tables Failure detected by AS2.R1 and AS2.R3; update routing tables (intra-as) Failure detected by border gateway in AS5 BGP re-computes The path between AS2 and AS5 will be changed goes down Figure 5.19: Figure for Routing Problem 3. [W&P 2010]
46 Lecture outline Inter-domain routing n BGP Intra-domain routing n Shortest path algortihms Coding n FEC, network coding
47 FEC: packet erasure code Recover from packet loss Coding n Input: n packets n Output: m packets o C k P 1,, P n C 1,,C m, m > n { } = bit-by-bit XOR of a random subset of C k := P i1 P i2 P ij k P 1,, P n o Header of C k specifies the subset used to generate C k
48 FEC: packet erasure code Decoding n If C j = P i for some i, then C k := C k P i for all pkts C k that contains P i n Remove from the collection of rec d pkts C j n Repeat until all P 1,, P n have been decoded n If at one step, there is no C j { P 1,, P n } then decoding fails
49 FEC: example P1 P2 P3 P4 C1 C2 C3 C4 C5 C6 C7 Decoding: received pkts C = { C 1,C 3,C 5,C 6 } C = { C 1,C 3,C 5,C 6 } P = { } : received pkt C 1 = P 1 C 3 = P 1 P 2 P 3 C 5 = P 4 C 6 = P 3 P 4 C 3 C 3 C 1 = P 2 P 3 C = { C 3,C 5,C 6 } P { P 1 }
50 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 1,C 3,C 5,C 6 } P = { } C 1 = P 1 C 3 = P 1 P 2 P 3 C 5 = P 4 C 6 = P 3 P 4 C 3 C 3 C 1 = P 2 P 3 C = { C 3,C 5,C 6 } P { P 1 }
51 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 1,C 3,C 5,C 6 } P = { } C 1 = P 1 C 3 = P 1 P 2 P 3 C 5 = P 4 C 6 = P 3 P 4 C 3 C 3 C 1 = P 2 P 3 C = { C 3,C 5,C 6 } P { P 1 }
52 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3,C 5,C 6 } C 3 = P 2 P 3 P = { P 1 } C 5 = P 4 C 6 = P 3 P 4 C = { C 3,C 6 } P { P 1, P 4 } C 6 C 6 C 5 = P 3
53 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3,C 5,C 6 } C 3 = P 2 P 3 P = { P 1 } C 5 = P 4 C 6 = P 3 P 4 C = { C 3,C 6 } P { P 1, P 4 } C 6 C 6 C 5 = P 3
54 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3,C 5,C 6 } C 3 = P 2 P 3 P = { P 1 } C 5 = P 4 C 6 = P 3 P 4 C = { C 3,C 6 } P { P 1, P 4 } C 6 C 6 C 5 = P 3
55 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3,C 6 } P = { P 1, P 4 } C 3 = P 2 P 3 C 6 = P 3 C 3 C 3 C 6 = P 2 C = { C 6 } P { P 1, P 3, P 4 }
56 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3,C 6 } P = { P 1, P 4 } C 3 = P 2 P 3 C 6 = P 3 C 3 C 3 C 6 = P 2 C = { C 6 } P { P 1, P 3, P 4 }
57 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3,C 6 } P = { P 1, P 4 } C 3 = P 2 P 3 C 6 = P 3 C 3 C 3 C 6 = P 2 C = { C 3 } P { P 1, P 3, P 4 }
58 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3 } P = { P 1, P 2, P 4 } C 3 = P 3 C = { } P { P 1, P 2, P 3, P 4 }
59 FEC: example P1 P2 P3 P4 : received pkt C1 C2 C3 C4 C5 C6 C7 Decoding: C = { C 3 } P = { P 1, P 2, P 4 } C 3 = P 3 C = { } P { P 1, P 2, P 3, P 4 }
60 Network coding: example link rate = R on every link multicast to both Y & Z T Y S b 1 b 2 b 1 b 2 W X U b 1 b b 1 2 b 1 b 1 Z throughput = 1.5R T b 1 b 1 b 2 Y S b 1 b 2 b 1 b 2 W X b 1 b 2 b 1 b 2 U Z throughput = 2R b 2
61 Network coding: example X and Y want to exchange A & B (1) (2) A B X Z Y A B (3) A B Without network coding, needs 4 pkt xmissions With network coding, needs 3 pkt xmissions
cs/ee 143 Communication Networks
cs/ee 143 Communication Networks Chapter 4 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech Warning These notes are not self-contained, probably not understandable, unless you also
More informationCOM-208: Computer Networks - Homework 6
COM-208: Computer Networks - Homework 6. (P22) Suppose you are interested in detecting the number of hosts behind a NAT. You observe that the IP layer stamps an identification number sequentially on each
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 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 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 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 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 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 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 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 informationInter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley
Inter-AS routing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Some materials copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Chapter 4:
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 informationLink State Routing & Inter-Domain Routing
Link State Routing & Inter-Domain Routing CS640, 2015-02-26 Announcements Assignment #2 is due Tuesday Overview Link state routing Internet structure Border Gateway Protocol (BGP) Path vector routing Inter
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 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 informationHomework 3 Discussion
Homework 3 Discussion Address Resolution Protocol (ARP) Data Link Layer Network Layer Data Link Layer Network Layer Protocol Data Unit(PDU) Frames Packets Typical Device Switch/Bridge Router Range Local
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 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 informationOutline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting
Outline Routing Fundamentals of Computer Networks Guevara Noubir Introduction Broadcasting and Multicasting Shortest Path Unicast Routing Link Weights and Stability F2003, CSG150 Fundamentals of Computer
More informationCSCD 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 informationHierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice
Hierarchical Routing Our routing study thus far - idealization all routers identical network flat not true in practice scale: with 200 million destinations: can t store all destinations in routing tables!
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 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 informationLecture 19: Network Layer Routing in the Internet
Lecture 19: Network Layer Routing in the Internet COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F
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 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 informationNetwork layer: Overview. Network layer functions Routing IP Forwarding
Network layer: Overview Network layer functions Routing IP Forwarding Network Layer Functions Transport packet from sending to receiving hosts Network layer protocols in every host, router application
More informationRouting Algorithms. 1 Administrivia. Tom Kelliher, CS 325. Apr. 25, Announcements. Assignment. Read 4.6. From Last Time. IP protocol.
Routing Algorithms Tom Kelliher, CS 325 Apr. 25, 2008 1 Administrivia Announcements Assignment Read 4.6. From Last Time IP protocol. Outline 1. Introduction. 2. Link state routing. 3. Distance vector routing.
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 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 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 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 informationHomework 2: IP Due: 11:59 PM, Oct 20, 2016
C68 Computer Networks Fonseca Contents Homework : IP Due: :59 PM, Oct 0, 06 IP Forwarding Spanning Tree BGP IP Forwarding Consider this diagram and answer the following questions: H H 00... 00... 00...
More informationLecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011
Lecture 4: Intradomain Routing CS 598: Advanced Internetworking Matthew Caesar February 1, 011 1 Robert. How can routers find paths? Robert s local DNS server 10.1.8.7 A 10.1.0.0/16 10.1.0.1 Routing Table
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 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 informationCS4450. 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 informationCS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013
CS 43: Computer Networks Internet Routing Kevin Webb Swarthmore College November 14, 2013 1 Reading Quiz Hierarchical routing Our routing study thus far - idealization all routers identical network flat
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 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 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 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 informationCS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol) Intra-domain routing The Story So Far Routing protocols generate the forwarding
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 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 informationCourse on Computer Communication and Networks. Lecture 7 Network Layer, Chapter 4 (6/e) - Part B (7/e Ch5)
Course on Computer Communication and Networks Lecture 7 Network Layer, Chapter 4 (6/e) - Part B (7/e Ch5) EDA344/DIT 420, CTH/GU Based on the book Computer Networking: A Top Down Approach, Jim Kurose,
More informationRouting. Routing. Overview. Overview. Routing vs. Forwarding. Why Routing
Routing Dr. Arjan Durresi Department of Computer Science Louisiana State University Overview Routing vs. Forwarding Routing Algorithms, Distance Vector, Link State Dijkstra s Algorithm ARPAnet Routing
More informationOutline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure
Outline 15-441 15-441 Computer Networking 15-641 Lecture 10: Inter-Domain outing Border Gateway Protocol -BGP Peter Steenkiste Fall 2016 www.cs.cmu.edu/~prs/15-441-f16 outing hierarchy Internet structure
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 informationChapter IV: Network Layer
Chapter IV: Network Layer UG3 Computer Communications & Networks (COMN) Myungjin Lee myungjin.lee@ed.ac.uk Slides copyright of Kurose and Ross Hierarchical routing our routing study thus far - idealization
More informationNetwork 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 informationAnnouncements. Late homework policy
Announcements Late homework policy n Updated on course website n Up to 1 HW can be late for up to 5 days without penalty n After that, late HW accepted and graded with discount of 10%/day for up to 5 days
More informationRouting Algorithms. Daniel Zappala. CS 460 Computer Networking Brigham Young University
Routing Algorithms Daniel Zappala CS 460 Computer Networking Brigham Young University Routing 2/20 How does the Internet determine which path to use from the source to the destination? Challenges need
More informationWhy dynamic route? (1)
Routing Why dynamic route? (1) Static route is ok only when Network is small There is a single connection point to other network No redundant route 2 Why dynamic route? (2) Dynamic Routing Routers update
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 informationRouting. Outline. Algorithms Scalability
Routing Outline Algorithms Scalability 1 Internetworking What is internetwork An arbitrary collection of networks interconnected to provide some sort of host-host to packet delivery service A simple internetwork
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 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 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 informationCS 43: Computer Networks. 24: Internet Routing November 19, 2018
CS 43: Computer Networks 24: Internet Routing November 19, 2018 Last Class Link State + Fast convergence (reacts to events quickly) + Small window of inconsistency Distance Vector + + Distributed (small
More informationTop-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols
Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features
More informationCMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 13
CMPE 50/L : Introduction to Computer Networks Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 3 Lab3 online Due March 4 th. Introduction -2 IP addresses: how to get one? Q: how does network
More informationOutline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits
Lecture 2 Outline Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits TCP/IP protocol suite Good name for our book! User application, e.g., http with Mozilla Communication
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 informationRouting Protocols. Autonomous System (AS)
Routing Protocols Two classes of protocols: 1. Interior Routing Information Protocol (RIP) Open Shortest Path First (OSPF) 2. Exterior Border Gateway Protocol (BGP) Autonomous System (AS) What is an AS?
More informationChapter 4: outline. Network Layer 4-1
Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram networks 4.3 what s inside a router 4.4 IP: Internet Protocol datagram format IPv4 addressing ICMP IPv6 4.5 routing algorithms link
More informationECE 428 Internet Protocols (Network Layer: Layer 3)
ECE 428 Internet Protocols (Network Layer: Layer 3) 1 Done so far MAC protocols (with PHYsical layer) Transport bits from one node to another. Key element: Determine WHEN to transmit DLC protocol (running
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 informationMaster Course Computer Networks IN2097
Chair for Network Architectures and Services Prof. Carle Department of Computer Science TU München Master Course Computer Networks IN2097 Prof. Dr.-Ing. Georg Carle Christian Grothoff, Ph.D. Stephan Günther
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 informationInternet Routing Protocols Tuba Saltürk
Internet Routing Protocols 15505068 Tuba Saltürk Outline Internet Routers Routing Protocol Interior Gateway Protocol (IGP) Distance- Vector Routing Protocol Routing Information Protocol (RIP) Interior
More informationCSE 123: Computer Networks
CSE 123: Computer Networks Homework 3 Out: 11/19 Due: 11/26 Instructions 1. Turn in a physical copy at the beginning of the class on 11/26 2. Ensure the HW cover page has the following information clearly
More informationCS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017
CS 43: Computer Networks Internet Routing Kevin Webb Swarthmore College November 16, 2017 1 Hierarchical routing Our routing study thus far - idealization all routers identical network flat not true in
More informationCSCE 463/612 Networks and Distributed Processing Spring 2018
CSCE 463/612 Networks and Distributed Processing Spring 2018 Network Layer V Dmitri Loguinov Texas A&M University April 17, 2018 Original slides copyright 1996-2004 J.F Kurose and K.W. Ross Chapter 4:
More informationRouting in the Internet
Routing in the Internet Daniel Zappala CS 460 Computer Networking Brigham Young University Scaling Routing for the Internet 2/29 scale 200 million destinations - can t store all destinations or all prefixes
More informationLecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage
Lecture 16: Interdomain Routing CSE 123: Computer Networks Stefan Savage Overview Autonomous Systems Each network on the Internet has its own goals Path-vector Routing Allows scalable, informed route selection
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 informationDistance Vector Routing
ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE Routing in General Distance Vector Routing Jean Yves Le Boudec Fall 22 Contents. Routing in General 2. Distance vector: theory. Distance vector: practice 4. Dynamic
More informationInterplay Between Routing, Forwarding
Internet Routing 1 Interplay Between Routing, Forwarding routing algorithm local forwarding table header value output link 0100 0101 0111 1001 3 1 value in arriving packet s header 0111 3 1 Graph Abstraction
More informationComputer Networking Introduction
Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.15 Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram
More informationCSC 8560 Computer Networks: Control Plane
CSC 8560 Computer Networks: Control Plane 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 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 informationCMPE 151 Routing. Marc Mosko
CMPE 151 Routing Marc Mosko Talk Outline Routing basics Why segment networks? IP address/subnet mask The gateway decision based on dest IP address default gateway and static routing gateway discovery (DHCP,
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 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 informationInitial motivation: 32-bit address space soon to be completely allocated. Additional motivation:
IPv6 Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation: header format helps speed processing/forwarding header changes to facilitate QoS IPv6 datagram format:
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 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 informationCSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics
CSC458 Lecture 6 Inter-domain Routing IP Addressing Administrivia Homework: #2 due today #3 out today, due in two weeks (same date as midterm) No lecture next week Reading Week Midterm in two weeks 60
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 informationCommunication Networks
Communication Networks Spring 2018 Q&A Session Rüdiger Birkner Tobias Bühler https://comm-net.ethz.ch/ ETH Zürich August 6 2018 Old exam from 2016 3 hours instead of 2.5 Topics which we did not discuss
More informationCSCI Topics: Internet Programming Fall 2008
CSCI 491-01 Topics: Internet Programming Fall 2008 Network Layer Derek Leonard Hendrix College November 17, 2008 Original slides copyright 1996-2007 J.F Kurose and K.W. Ross 1 Chapter 4: Roadmap 4.1 Introduction
More informationCOMP211 Chapter 5 Network Layer: The Control Plane
COMP211 Chapter 5 Network Layer: The Control Plane All material copyright 1996-2016 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th edition Jim Kurose, Keith
More informationIntroduction to Computer Networks
Introduction to Computer Networks Tian Song ( 嵩天 ), Ph.D., Assoc. Prof. songtian@bit.edu.cn Introduction to Computer Networks ICMP, ARP, DHCP, OSPF, BGP Tian Song ( 嵩天 ), Ph.D., Assoc. Prof. songtian@bit.edu.cn
More informationIP Addressing & Interdomain Routing. Next Topic
IP Addressing & Interdomain Routing Next Topic IP Addressing Hierarchy (prefixes, class A, B, C, subnets) Interdomain routing Application Presentation Session Transport Network Data Link Physical Scalability
More informationInter-AS routing and BGP. Network Layer 4-1
Inter-AS routing and BGP Network Layer 4-1 Review: intra-as routing v Also known as interior gateway protocols (IGP) v Most common intra-as routing protocols: RIP: Routing Information Protocol, distance
More informationChapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP
Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram networks 4.3 what s inside a router 4.4 IP: Internet Protocol datagram format IPv4 addressing ICMP IPv6 4.5 routing algorithms link
More informationExercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)
Exercise Sheet 4 Exercise 1 (Routers, Layer-3-Switches, Gateways) 1. What is the purpose of Routers in computer networks? (Also explain the difference to Layer-3-Switches.) 2. What is the purpose of Layer-3-Switches
More informationInter-Domain Routing: BGP
Inter-Domain Routing: BGP Richard T. B. Ma School of Computing National University of Singapore CS 3103: Compute Networks and Protocols Inter-Domain Routing Internet is a network of networks Hierarchy
More information