EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.

Slides:



Advertisements
Similar presentations
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Advertisements

Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 13.
EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
1 Network Layer: Host-to-Host Communication. 2 Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using.
Network Layer4-1 Data Communication and Networks Lecture 6 Networks: Part 1 Circuit Switching, Packet Switching, The Network Layer October 13, 2005.
Announcement r Project 2 extended to 2/20 midnight r Project 3 available this weekend r Homework 3 available today, will put it online.
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Lecture 7 Overview. Two Key Network-Layer Functions forwarding: move packets from router’s input to appropriate router output routing: determine route.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 21 Introduction to Computer Networks.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.5 Routing algorithms m Link state m Distance.
Announcement r Project 2 due next week! r Homework 3 available soon, will put it online r Recitation tomorrow on Minet and project 2.
EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
1 Announcement #1 r Did you all receive homework #1 and #2? r Homework #3 will be available online during the day r Midterm.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 15.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All material copyright
1 Wide Area Networks and Internet CT1403 Lecture-8: Internet Network Layer (Part-3) By : Najla Al-Nabhan.
Network Layer Goals: understand principles behind network layer services: –routing (path selection) –dealing with scale –how a router works –advanced topics:
Introduction to Network Layer. Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using bridges? –No!
Network Layer —— the core of networking. The Network Core  mesh of interconnected routers  the fundamental question: how is data transferred through.
CS 1652 The slides are adapted from the publisher’s material All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Jack Lange.
Network Layer4-1 Summary: TCP Congestion Control When CongWin is below Threshold, sender in slow-start phase, window grows exponentially. When CongWin.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
Virtual Circuit Network. Network Layer 2 Network layer r transport segment from sending to receiving host r network layer protocols in every host, router.
Network Layer4-1 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).
Lecture 6 Overview. TCP: Transmission Control Protocol TCP is an alternative transport layer protocol supported by TCP/IP. TCP provides: – Connection-oriented.
Introduction 1-1 EKT355/4 ADVANCED COMPUTER NETWORK MISS HASNAH AHMAD School of Computer & Communication Engineering.
7-1 Last time □ Wireless link-layer ♦ Introduction Wireless hosts, base stations, wireless links ♦ Characteristics of wireless links Signal strength, interference,
1 CSE3213 Computer Network I Network Layer (7.1, 7.3, ) Course page: Slides modified from Alberto Leon-Garcia.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Network Layer introduction.
1 John Magee 24 February 2014 CS 280: Network Layer: Virtual Circuits / Datagram Networks and What’s inside a Router? Most slides adapted from Kurose and.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
4: Network Layer4-1 Schedule Today: r Finish Ch3 r Collect 1 st Project r See projects run r Start Ch4 Soon: r HW5 due Monday r Last chance for Qs r First.
The Network Layer Introduction  functionality and service models Theory  link state and distance vector algorithms  broadcast algorithms  hierarchical.
The Network Layer & Routing
1 Week 5 Lecture 2 IP Layer. 2 Network layer functions transport packet from sending to receiving hosts transport packet from sending to receiving hosts.
1 Computer Communication & Networks Lecture 21 Network Layer: Delivery, Forwarding, Routing Waleed.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Forwarding.
EEC-484 Computer Networks Lecture 10 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Project 2 r DUE Wed: 02/24 Network Layer4-1. Project 2 r DUE Wed: 02/24 r DUE Mon: 02/29 Network Layer4-2.
CSE 421 Computer Networks. Chapter 4 Network Layer Thanks to you All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer.
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
Data Communication and Networks
Chapter 3 Part 3 Switching and Bridging
Chapter 4 Network Layer All material copyright
Network Layer Goals: Overview:
CS4470 Computer Networking Protocols
EEC-484/584 Computer Networks
Chapter 3 Part 3 Switching and Bridging
Chapter 4-1 Network layer
EEC-484/584 Computer Networks
EEC-484/584 Computer Networks
EEC-484/584 Computer Networks
ECE453 – Introduction to Computer Networks
Network Layer I have learned from life no matter how far you go
October 26th, 2010 CS1652/Telcom2310 Jack Lange
EEC-484/584 Computer Networks
Presentation transcript:

EEC-484/584 Computer Networks Lecture 9 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer Networking book)

2 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Outline Reminder (for graduate students only) –Wiki-Page Project #1 due on Oct 24, Wednesday (midnight)! Schedule Change: –Oct.31 Wed Lab#4 –Nov.5 Mon Quiz#3 –Nov.7 Wed Lecture#12 Quiz#2 results Network layer design issues Router architecture Routing algorithm –Link state routing

3 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao EEC484 Quiz2 Result High 100, low 78, average 86.5, medium 84/86 Average: Q1–39.8, Q2–9.7, Q3–9.8, Q4–20, Q6–7.2

4 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao EEC584 Quiz2 Result High 100, low 58, average 88, medium 90 Average: Q1–41.8, Q2–9.1, Q3–9.7, Q4–18.6, Q5–9.2

5 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Network Layer Main concern: end-to-end transmission –Perhaps over many hops at intermediate nodes Services provided to the transport layer –Routing & congestion control –Internetworking – connection of multiple networks Goals – services should –Be independent of subnet technologies –Shield transport layer from number, type, topology of subnets –Uniform network addresses across LAN/WAN

6 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao 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 host, router Router examines header fields in all IP datagrams passing through it network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical application transport network data link physical application transport network data link physical

7 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Two Key Network-Layer Functions Forwarding: move packets from router’s input to appropriate router output Routing: determine route taken by packets from source to dest. –Routing algorithms Analogy: Routing: process of planning trip from source to destination Forwarding: process of getting through single intersection

8 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao value in arriving packet’s header routing algorithm local forwarding table header value output link Interplay between Routing & Forwarding Forwarding table is also referred to as routing table

9 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Network Service Model Q: What service model for “channel” transporting datagrams from sender to receiver? Example services for individual datagrams: Guaranteed delivery Guaranteed delivery with less than 40 msec delay Best effort Example services for a flow of datagrams: In-order datagram delivery Guaranteed minimum bandwidth to flow Restrictions on changes in inter-packet spacing No guarantee whatsoever

10 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Network Layer Connection and Connection-less Service Datagram network provides network-layer connectionless service Virtual Circuit network provides network-layer connection-oriented service

11 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Datagram Networks No call setup at network layer Routers: no state about end-to-end connections –no network-level concept of “connection” Packets forwarded using destination host address –packets between same source-dest pair may take different paths application transport network data link physical 1. Send data 2. Receive data application transport network data link physical

12 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Routing within a Datagram Subnet Router has forwarding table telling which outgoing line to use for each possible destination router Each datagram has full destination address When packet arrives, router looks up outgoing line to use and transmits packet

13 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Virtual Circuits Call setup for each call before data can flow (teardown afterwards) Each packet carries VC identifier (not destination host address) Every router on source-dest path maintains “state” for each passing connection Link, router resources (bandwidth, buffers) may be allocated to VC (dedicated resources = predictable service) “source-to-dest path behaves much like telephone circuit” –performance-wise –network actions along source-to-destination path

14 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao VC Implementation A VC consists of: 1.Path from source to destination 2.VC numbers, one number for each link along path 3.Entries in forwarding tables in routers along path Packet belonging to VC carries VC number (rather than destination address) VC number can be changed on each link –New VC number comes from forwarding table

15 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Virtual Circuit Network Routers maintain connection state information!

16 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Virtual Circuits: Signaling Protocols Used to setup, maintain teardown VC Used in ATM, frame-relay, X.25 Not used in today’s Internet application transport network data link physical 1. Initiate call 2. incoming call 3. Accept call 4. Call connected 5. Data flow begins 6. Receive data application transport network data link physical

17 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Datagram or VC Network: Why? Internet (datagram) data exchange among computers –“elastic” service, no strict timing requirement “smart” end systems (computers) –can adapt, perform control, error recovery –simple inside network, complexity at “edge” ATM (VC) evolved from telephony human conversation: –strict timing, reliability requirements –need for guaranteed service “dumb” end systems –telephones –complexity inside network

18 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao What’s in a Router? Run routing algorithms/protocol (RIP, OSPF, BGP) Forwarding datagrams from incoming to outgoing link

19 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Input Port Functions Decentralized switching: given datagram dest., lookup output port using forwarding table in input port memory queuing: newly arrived datagrams might be queued before processing Physical layer: bit-level reception Data link layer: e.g., Ethernet

20 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Types of Switching Fabrics

21 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Output Ports Buffering required when datagrams arrive from fabric faster than the transmission rate Scheduling discipline chooses among queued datagrams for transmission

22 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Routing Algorithms Least-cost in what sense? –Number of hops, geographical distance, least queueing and transmission delay Desirable properties –Correctness, simplicity –Robustness to faults –Stability – converge to equilibrium Routing algorithm: algorithm that finds least-cost path

23 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Routing Algorithm Classification Static or dynamic? Non-adaptive (static) - Route computed in advance, off-line, downloaded to routers Adaptive (dynamic) - Route based on measurements or estimates of current traffic and topology

24 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Routing Algorithm Classification Global or decentralized information? Global: –all routers have complete topology & link cost info –“link state” algorithms Decentralized: –router knows physically-connected neighbors, link costs to neighbors –iterative process of computation, exchange of info with neighbors –“distance vector” algorithms

25 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Link State Routing Basic idea Assumes net topology, link costs known to all nodes –Accomplished via “link state broadcast” –All nodes have same info Computes least cost paths from one node (‘source”) to all other nodes, using Dijkstra ’ s Algorithm –Gives forwarding table for that node

26 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Dijkstra ’ s Algorithm Each node labeled with distance from source node along best known path Initially, no paths known so all nodes labeled with infinity As algorithm proceeds, labels may change reflecting shortest path Label may be tentative or permanent, initially, all tentative When label represents shortest path from source to node, label becomes permanent

27 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Compute Shortest Path from A to D Start with node A as the initial working node Examine each of the nodes adjacent to A, i.e., B and G, relabeling them with the distance to A Examine all the tentatively labeled nodes in the whole graph and make the one with the smallest label permanent, i.e., B. B is the new working node

28 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Compute Shortest Path from A to D

29 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Step Permanently labeled BGECFHD 1 A 2,A6,A∞∞∞∞∞ 2 AB 6,A4,B9,B∞∞∞ 3 ABE 5,E9,B6,E∞∞ 4 ABEG 9,B6,E9,G∞ 5 ABEGF 9,B8,F∞ 6 ABEGFH 9,B10,H 7 ABEGFHC 10,H 8 ABEGFHCD

30 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Computation Results BCDEFGHBCDEFGH (A,B) Destination link A B C D E F G H Routing Table in A

31 Fall Semester 2007EEC-484/584: Computer NetworksWenbing Zhao Dijkstra ’ s Algorithm : Exercise Given the subnet shown below, using the Dijkstra ’ s Algorithm, determine the shortest path tree from node u and its routing table u y x wv z