Agenda. distance-vector (what you invented last Friday) hierarchical routing routing in the Internet. v DNS assignment Q&A v Routing Algorithms

Similar documents
Chapter 4: Network Layer

Routing Algorithm Classification. A Link-State Routing Algorithm

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 14

Network Layer: Routing

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Computer Networks. Instructor: Niklas Carlsson

CS 3516: Advanced Computer Networks

Interplay between routing, forwarding

CS 3516: Advanced Computer Networks

Computer Networking. Rou1ng Algorithms. Rou1ng Algorithms. Interplay between rou1ng, forwarding. routing algorithm

Chapter IV: Network Layer

Chapter 4: Network Layer: Part II

Network Layer: Control Plane 5-2

Announcements. CS 5565 Network Architecture and Protocols. Count-To-Infinity. Poisoned Reverse. Distance Vector: Link Cost Changes.

Chapter 4 Network Layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Chapter 4 Network Layer

DATA COMMUNICATOIN NETWORKING

Chapter 4 Network Layer. Network Layer 4-1

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Chapter 5 Network Layer: The Control Plane

11/13/2017 Network Layer (SSL) Network-layer functions. Recall the two network-layer functions:

Chapter 4: Network Layer, partb

CSC 4900 Computer Networks: Routing Algorithms

Intra-AS Routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

EE 122: Intra-domain routing

Network layer: Overview. Network layer functions Routing IP Forwarding

Chapter 5: Network Layer Control Plane. understand principles behind network control plane : traditional routing algorithms

CSC 401 Data and Computer Communications Networks

4.5.2 The Distance-Vector (DV) Routing Algorithm

Chapter 4: Network Layer. Chapter 4 Network Layer. Chapter 4: Network Layer. Network Layer. Chapter goals:

Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Graph abstraction: costs. Graph abstraction 10/26/2018. Interplay between routing and forwarding

Internet rou)ng. V. Arun CS491G: Computer Networking Lab University of MassachuseFs Amherst

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

CMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20

Protocoles et Interconnexions

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Network Layer: Routing. Routing. Routing protocol. Graph abstraction for routing algorithms: graph nodes are routers graph edges are physical links

Chapter 4: Network Layer

Interplay tra routing e forwarding

Routing Algorithms : Fundamentals of Computer Networks Bill Nace

CSCD 330 Network Programming Spring 2018

CSCD 330 Network Programming Spring 2017

Chapter 4 Network Layer

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

Chapter 4: Network Layer

EC441 Fall 2018 Introduction to Computer Networking Chapter 5: Network Layer Control Plane

Internet Technology. 08. Routing. Paul Krzyzanowski. Rutgers University. Spring CS Paul Krzyzanowski

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Module 3 Network Layer CS755! 3-1!

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

Course on Computer Communication and Networks. Lecture 7 Network Layer, Chapter 4 (6/e) - Part B (7/e Ch5)

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

Computer Networking. Intra-Domain Routing. RIP (Routing Information Protocol) & OSPF (Open Shortest Path First)

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

Chapter IV: Network Layer

Announcement. Project 2 extended to 2/20 midnight Project 3 available this weekend Homework 3 available today, will put it online

Computer Networking Introduction

Initialization: Loop until all nodes in N

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

Chapter 4: outline. Network Layer 4-1

Shortest Paths Algorithms and the Internet: The Distributed Bellman Ford Lecturer: Prof. Chiara Petrioli

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Chapter 4: Network Layer

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

CS118 Discussion Week 7. Taqi

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

Chapter 4: Network Layer. Chapter 4 Network Layer. Chapter 4: Network Layer. Key Network-Layer Functions. Network layer.

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

Chapter 4: Network Layer

COMP211 Chapter 5 Network Layer: The Control Plane

Master Course Computer Networks IN2097

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Chapter 4: Network Layer. Chapter 4 Network Layer. Chapter 4: Network Layer. Network layer

Chapter 4: Network Layer

Data Communications & Networks. Session 7 Main Theme Networks: Part II Circuit Switching, Packet Switching, The Network Layer

CSC 8560 Computer Networks: Control Plane

Network layer: Overview. Network layer functions Routing IP Forwarding

DATA COMMUNICATOIN NETWORKING

CS 3516: Computer Networks

CS 3516: Computer Networks

COMP 3331/9331: Computer Networks and Applications

UNIT III THE NETWORK LAYER

CS 3516: Advanced Computer Networks

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

CSc 450/550 Computer Networks Internet Routing

More on Network Routing and Internet Protocol

Chapter 4: Network Layer. Chapter 4 Network Layer. Chapter 4: Network Layer. Network layer. Two Key Network-Layer Functions

Routing Unicast routing protocols

Lecture 4. The Network Layer (cont d)

Routing. Jens A Andersson Communication Systems

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

RSC Part II: Network Layer. 3. IP addressing. II.5 Network routing. II. 1 Basic Network layer concepts II.2 Introduction to IP

CSC 4900 Computer Networks: Routing Protocols

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 13

Department of Computer Science Southern Illinois University Carbondale

Transcription:

Agenda v DNS assignment Q&A v Routing Algorithms distance-vector (what ou invented last Frida) hierarchical routing routing in the Internet Network Laer 4-

Chapter 4 Network Laer A note on the use of these ppt slides: We re making these slides freel available to all (facult, students, readers). The re in PowerPoint form so ou see the animations; and can add, modif, and delete slides (including this one) and slide content to suit our needs. The obviousl represent a lot of work on our part. In return for use, we onl ask the following: v If ou use these slides (e.g., in a class) that ou mention their source (after all, we d like people to use our book!) v If ou post an slides on a www site, that ou note that the are adapted (or perhaps identical to) our slides, and note our copright of this material. Thanks and enjo! JFK/KWR Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesle March 202 All material copright 996-202 J.F Kurose and K.W. Ross, All Rights Reserved Network Laer 4-2

Chapter 4: outline 4. 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 state distance vector hierarchical routing 4.6 routing in the Internet RIP OSPF BGP 4.7 broadcast and multicast routing Network Laer 4-3

Distance vector algorithm Bellman-Ford equation (dnamic programming) Note: assumes no negative link costs! let D () := cost of least-cost path to then v D () = min {c(,v) + D v () } cost neighbor v to destination neighbor v min taken over all neighbors v of Network Laer 4-4

Bellman-Ford eample u 2 5 v 2 3 3 w 5 2 clearl, we should have D v () = 5, D () = 3, D w () = 3 B-F equation sas: D u () = min { c(u,v) + D v (), c(u,) + D (), c(u,w) + D w () } = min {2 + 5, + 3, 5 + 3} = 4 node achieving minimum for u becomes net hop in shortest path, used in forwarding table Network Laer 4-5

Distance vector algorithm v D () = estimate of least cost to maintains distance vector D = [D (): є N ] v node : knows each neighbor v: c(,v) maintains a cop of its neighbors distance vectors. For each neighbor v, maintains: D v = [D v (): є N ] Network Laer 4-6

Distance vector algorithm ke idea: v time-to-time, each node sends its own distance vector (= estimates distances) to its neighbors v when receives new DV estimate neighbor, it updates its own DV using B-F equation: D () min v {c(,v) + D v ()} for each node N v under minor, natural conditions, the estimates D () converge to the actual least cost d () Network Laer 4-7

Distance vector algorithm iterative, asnchronous: each local iteration caused b: v local link cost change v DV update message neighbor distributed: v each node notifies neighbors onl when its DV changes neighbors then notif their neighbors if necessar each node: wait for (change in local link cost or msg neighbor) recompute estimates if DV to an dest has changed, notif neighbors Network Laer 4-8

node table 0 2 7 D () = min{c(,) + D (), c(,) + D ()} = min{2+0, 7+} = 2 0 2 3 2 0 7 0 D () = min{c(,) + D (), c(,) + D ()} = min{2+, 7+0} = 3 node table 2 0 2 7 node table 7 0 time Network Laer 4-9

node table node table 0 2 7 D () = min{c(,) + D (), c(,) + D ()} = min{2+0, 7+} = 2 2 0 0 2 0 2 7 2 0 3 2 0 7 0 7 0 0 2 3 2 0 3 0 0 2 3 2 0 3 0 D () = min{c(,) + D (), c(,) + D ()} = min{2+, 7+0} = 3 2 7 node table 7 0 0 2 7 2 0 3 0 0 2 3 2 0 3 0 time Network Laer 4-0

Distance vector: link cost changes link cost changes: v node detects local link cost change v updates routing info, recalculates distance vector v if DV changes, notif neighbors 4 50 good news travels fast t 0 : detects link-cost change, updates its DV, informs its neighbors. t : receives update, updates its table, computes new least, sends its neighbors its DV. t 2 : receives s update, updates its distance table. s least costs do not change, so does not send a message to. Network Laer 4-

Distance vector: link cost changes link cost changes: v node detects local link cost change v updates routing info, recalculates distance vector v if DV changes, notif neighbors 60 4 50 Q: What happens when - cost goes 4 to 60? Network Laer 4-2

Distance vector: link cost changes link cost changes: v node detects local link cost change v bad news travels slowl - count to infinit problem! v 44 iterations before algorithm stabilies: see tet poisoned reverse: v If Z routes through Y to get to X : Z tells Y its (Z s) distance to X is infinite (so Y won t route to X via Z) v will this completel solve count to infinit problem? 60 4 50 Network Laer 4-3

Comparison of LS and DV algorithms message compleit v v LS: with n nodes, E links, O(nE) msgs sent DV: echange between neighbors onl convergence time varies speed of convergence v v LS: O(n 2 ) algorithm requires O(nE) msgs ma have oscillations DV: convergence time varies ma be routing loops count-to-infinit problem robustness: what happens if router malfunctions? LS: node can advertise incorrect link cost each node computes onl its own table DV: DV node can advertise incorrect path cost each node s table used b others error propagate thru network Network Laer 4-4

Chapter 4: outline 4. 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 state distance vector hierarchical routing 4.6 routing in the Internet RIP OSPF BGP 4.7 broadcast and multicast routing Network Laer 4-5

Hierarchical routing our routing stud thus far - idealiation v all routers identical v network flat not true in practice scale: with 600 million destinations: v can t store all dest s in routing tables! v routing table echange would swamp links! administrative autonom v internet = network of networks v each network admin ma want to control routing in its own network Network Laer 4-6

Hierarchical routing v aggregate routers into regions, autonomous sstems (AS) v routers in same AS run same routing protocol intra-as routing protocol routers in different AS can run different intra- AS routing protocol gatewa router: v at edge of its own AS v has link to router in another AS Network Laer 4-7