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

Similar documents
Chapter 4: Network Layer

Chapter 4: Network Layer

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

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

More on Network Routing and Internet Protocol

LAN Interconnection and Other Link Layer Protocols

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

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

DATA COMMUNICATOIN NETWORKING

Transport Layer Overview

EE 122: Intra-domain routing

COMP/ELEC 429/556 Introduction to Computer Networks

Addressing: when mobile is moving around. Mobile Registration. Principles of Mobile Routing. Mobility via Indirect Routing

Lecture 7. Network Layer. Network Layer 1-1

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Chapter 4 Network Layer

Computer Networks. Instructor: Niklas Carlsson

Routing Algorithm Classification. A Link-State Routing Algorithm

Key Network-Layer Functions

Data Link Layer Overview

Computer Networks. General Course Information. Addressing and Routing. Computer Networks 9/8/2009. Basic Building Blocks for Computer Networks

Initialization: Loop until all nodes in N

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

CSC 4900 Computer Networks: Routing Algorithms

Data Link Layer Overview

CS 3516: Advanced Computer Networks

Data Link Layer Overview

CSC 401 Data and Computer Communications Networks

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

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

Lecture 4. The Network Layer (cont d)

Chapter 4: Network Layer

Data Link Layer Overview

CSCE 463/612 Networks and Distributed Processing Spring 2017

Routing Algorithms. CS158a Chris Pollett Apr 4, 2007.

Chapter 4: Network Layer, partb

Network layer overview

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

CSCD 330 Network Programming Spring 2018

C13b: Routing Problem and Algorithms

CSCD 330 Network Programming Spring 2017

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

What s a protocol? CE80N Introduction to Networks & The Internet. Communication Protocol. Protocol Layers. Dr. Chane L. Fullmer UCSC Winter 2002

Lecture 4 Wide Area Networks - Routing

Congestion Control. Principles of Congestion Control. Network assisted congestion. Asynchronous Transfer Mode. Computer Networks 10/23/2013

Congestion Control. Principles of Congestion Control. Network-assisted Congestion Control: ATM. Congestion Control. Computer Networks 10/21/2009

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

Introduction to Internet Routing

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 12. Routing and Routing Protocols 12-1

Network Layer: Routing

CMSC 332 Computer Networks Network Layer

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

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Routing Outline. EECS 122, Lecture 15

of-service Support on the Internet

Chapter 5 Network Layer: The Control Plane

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Routing Algorithms : Fundamentals of Computer Networks Bill Nace

Chapter 4 Network Layer. Network Layer 4-1

CSE 3214: Computer Network Protocols and Applications Network Layer

More Routing. EE122 Fall 2012 Scott Shenker

Chapter 4 Network Layer

Reliable Data Transfer

Interplay between routing, forwarding

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

Foundations of Telematics

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

Network layer: Overview. Network layer functions Routing IP Forwarding

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

COMP 3331/9331: Computer Networks and Applications

Routing in packet-switching networks

CS 457 Networking and the Internet. Network Overview (cont d) 8/29/16. Circuit Switching (e.g., Phone Network) Fall 2016 Indrajit Ray

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

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

ECE 435 Network Engineering Lecture 11

CS 3516: Advanced Computer Networks

Application-layer Protocols

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

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

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

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

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

Alternate Routing Diagram

UNIT III THE NETWORK LAYER

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

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

CHAPTER 9: PACKET SWITCHING N/W & CONGESTION CONTROL

ECE 435 Network Engineering Lecture 11

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

Lecture 13: Link-state Routing. CSE 123: Computer Networks Alex C. Snoeren

Homework 3 Discussion

Routing Algorithms. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Revision of Previous Lectures

Chapter 4: Network Layer

Transcription:

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, access control for shared s : host-to-host connectivity routing, addressing : host-host data reliable data, congestion control, flow control : anything you want to do on computer s 9//9 S 7/47 - Fall 9 9//9 S 7/47 - Fall 9 Fundamental Network Layer Function Protocol Layering and Data fundamental function: packet from sending to receiving hosts addressing: uniquely identify each node in the routing: determine a path from source to dest and route packets along the path layer protocols in every host, router Each layer takes data from above adds header information to create new data unit passes new data unit to layer below Ht HnHt Hl HnHt source destination Ht HnHtH Hl HnHt message segment packet frame 9//9 S 7/47 - Fall 9 9//9 S 7/47 - Fall 9 4 S 7/47 - Fall 9

omputer Networks 9//9 Data Flow across Layers Network Service odel data data loss-free delivery? in-order delivery? preservation of inter-packet delay (no jitter)? guaranteed bandwidth? congestion feedback to sender? virtual circuit or packet switching? 9//9 S 7/47 - Fall 9 9//9 S 7/47 - Fall 9 6 Virtual ircuits Packet Switching provide services such as guaranteed bandwidth, jitter-free, in- order delivery, require signaling protocols to setup, maintain, and teardown virtual circuit router maintains state about ongoing connections no call setup at layer routers: no state about end-to-end connections packets forwarded independently from each other packets between same source-dest pair may take different paths. Data flow begins 6. Receive data 4. all connected. ccept call. Initiate call. incoming call. Send data. Receive data 9//9 S 7/47 - Fall 9 7 9//9 S 7/47 - Fall 9 8 S 7/47 - Fall 9

omputer Networks 9//9 Packet Switching vs. Virtual ircuits Routing Principles Packet switching poor service guarantee Virtual circuits elastic service evolved from telephony efficiency guaranteed service robustness flexibility simple core, complexity at edge manage, control, adapt at smart end systems (computers) e.g., human conversation: strict timing, reliability requirements hard to evolve complex core Internet employs packet switching; virtual circuits are more suitable for s with dumb end terminals telephones. Routing protocol Goal: determine good path (sequence of routers) thru from source to dest. Graph abstraction for routing algorithms: graph nodes are hosts or routers graph edges are s cost: delay, $ cost, or congestion level D E F good path: typically means minimum cost path 9//9 S 7/47 - Fall 9 9 9//9 S 7/47 - Fall 9 Routing lgorithm lassification Link-State Routing lgorithm Global information: all routers have complete topology, cost info state algorithm Decentralized: router knows ly-connected neighbors, costs to neighbors exchange of info with neighbors, may take many rounds to converge distance vector algorithm Dijkstra s algorithm Network topology, costs/distances known to all nodes accomplished via state broadcast all nodes have same info The algorithm calculates the shortest paths from one specific node ( source ) to all other nodes asic approach: gradually expands a set N, containing nodes whose shortest paths from the source are known initially N contains only the source itself at every step one more node s shortest path from the source is learned, this node is then added to N eventually N includes every node and the algorithm terminates 9//9 S 7/47 - Fall 9 9//9 S 7/47 - Fall 9 S 7/47 - Fall 9

omputer Networks 9//9 Dijkstra s lgorithm (cont.) Dijkstra s lgorithm: n Example N, containing nodes with known shortest paths Key step: How to expand N to include one more node? -more-hop paths : paths from source to dest. v (not in N) whose intermediaries are all in N D(v) as the distance of the shortest -morehop path to v Is the shortest -more-hop path to v globally shortest? For a node with shortest -more-hop path among all v s not in N, its shortest -morehop path is its globally shortest path N Step 4 D N: set of nodes whose shortest paths are currently known D(v): distance for shortest -morehop path from source to dest. v F p(v): predecessor node along path from source to dest. v E N D(),p(), D(),p(), D(D),p(D), D(E),p(E) infinity D(F),p(F) infinity D, 4,D,D infinity DE,,E DE,E DE DEF 9//9 S 7/47 - Fall 9 9//9 S 7/47 - Fall 9 4 Dijkstra s lgorithm: omplexity Dijkstra s lgorithm: Stability lgorithm complexity: n nodes, e s Each iteration: need to check all nodes, v, not in N n*(n+)/ checks: O(n ) Update -more-hop paths: O(e) Total: O(n +e), or O(n ) Using Fibonacci i heap to find minimum i distance node O(nlogn + e) 9//9 S 7/47 - Fall 9 Oscillations possible: e.g., cost = amount of carried traffic +e D e e initially Solutions: +e D +e +e D +e +e D +e recompute routing recompute recompute asynchronous (random-time) cost collection stable cost metric (independent of routing policy) 9//9 S 7/47 - Fall 9 6 S 7/47 - Fall 9 4

omputer Networks 9//9 Disclaimer Parts of the lecture slides contain original work of James Kurose, Larry Peterson, and Keith Ross. The slides are intended for the sole purpose of instruction of computer s at the University of Rochester. ll copyrighted materials belong to their original owner(s). 9//9 S 7/47 - Fall 9 7 S 7/47 - Fall 9