Lecture 7. Network Layer. Network Layer 1-1

Similar documents
CMSC 332 Computer Networks Network Layer

Chapter 4 Network Layer

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

CSE 3214: Computer Network Protocols and Applications 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

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

Network layer overview

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

Computer Networks. Instructor: Niklas Carlsson

Key Network-Layer Functions

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

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

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

CSCE 463/612 Networks and Distributed Processing Spring 2018

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

Master Course Computer Networks IN2097

Chapter 4: network layer

Chapter 4: Network Layer

TDTS06: computer Networks

CSC 4900 Computer Networks: Network Layer

Chapter 4 Network Layer

Network Layer: outline

Network Layer Enhancements

Chapter 4: Network Layer

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

Topic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

CS 43: Computer Networks. 20: The Network Layer November 5, 2018

4.2 Virtual Circuit and Datagram Networks

EPL606. Internetworking. Part 2a. 1Network Layer

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

Lecture 16: Network Layer Overview, Internet Protocol

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

Network Layer Introduction

Chapter 4 Network Layer: The Data Plane

INTRODUCTORY COMPUTER

LAN Interconnection and Other Link Layer Protocols

Chapter 4 Network Layer

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Revision of Previous Lectures

Course on Computer Communication and Networks. Lecture 6 Network Layer part 1: Data Plane Chapter 4 (7/e) (6/e Ch4-first part)

CSC 401 Data and Computer Communications Networks

CSCD 330 Network Programming

NETWORK LAYER DATA PLANE

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

Chapter 4: Network Layer

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

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

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer

Hubs. twisted pair. hub. 5: DataLink Layer 5-1

Ethernet Switches (more)

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer

Internet Architecture and Protocol

CSCI Computer Networks Fall 2016

Chapter 10. Circuits Switching and Packet Switching 10-1

Switching / Forwarding

CSCD58 WINTER 2018 WEEK 6 - NETWORK LAYER PART 1. Brian Harrington. February 13, University of Toronto Scarborough

Wide area networks: packet switching and congestion

MIDTERM EXAMINATION #2 OPERATING SYSTEM CONCEPTS U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E

Introduction to Networks and the Internet

CS4700/CS5700 Fundaments of Computer Networks

Data & Computer Communication

Network Layer. For this purpose the network layer should:

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

BROADBAND AND HIGH SPEED NETWORKS

ECE 4450:427/527 - Computer Networks Spring 2017

internet technologies and standards

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Introduction to Communications Part One: Physical Layer Switching

CS 43: Computer Networks The Network Layer. Kevin Webb Swarthmore College November 2, 2017

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

Data Networks. Lecture 1: Introduction. September 4, 2008

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

Distributed Queue Dual Bus

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Switching & ARP Week 3

Chapter 4 Network Layer: The Data Plane

PLEASE READ CAREFULLY BEFORE YOU START

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

BROADBAND AND HIGH SPEED NETWORKS

Course 6. Internetworking Routing 1/33

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

ET4254 Communications and Networking 1

The Network Layer Forwarding Tables and Switching Fabric

Position of IP and other network-layer protocols in TCP/IP protocol suite

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions?

Wireless Networks. Communication Networks

Chapter 8 Switching 8.1

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Chapter 4 Network Layer

Hubs. Interconnecting LANs. Q: Why not just one big LAN?

Chapter 4: Network Layer

Digital Communication Networks

EEC-484/584 Computer Networks

Master Course Computer Networks IN2097

Transcription:

Lecture 7 Network Layer Network Layer 1-1

Agenda Introduction to the Network Layer Network layer functions Service models Network layer connection and connectionless services Introduction to data routing in datagram and virtual circuit s Network Layer 1-2

Quick Review on the Data Link Layer the layer in the IEEE standard is divided into two sublayers: Logical Link Control (LLC) and Media Access Control (MAC) Devices Layer-2 devices switches, bridges Layer-1 devices; hubs, repeaters Network Layer 1-3

Quick Review on the Data Link Layer Logical Link Control (LLC) flow control, error control, and part of the framing duties provides one single control protocol for all IEEE LANs provide interconnectivity between different LANs because it makes the MAC sublayer transparent Media Access Control (MAC) provides different protocols for different LANs multiple access methods including random access, controlled access, and channelization handles part of the framing function Network Layer 1-4

Introduction to the Network Layer Goals of studying the layer understand principles behind layer services: layer service models forwarding versus routing how a router works routing (path selection) dealing with scale advanced topics: IPv6, mobility implementation in the Internet Network Layer 1-5

Introduction to the Network Layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side, delivers segments to transport layer layer protocols in every host, router router examines header fields in all IP datagrams passing through it application transport application transport Network Layer 5-6

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. analogy: routing: process of planning trip from source to dest forwarding: process of getting through single interchange routing algorithms Network Layer 1-7

Interplay between Routing and Forwarding routing algorithm local forwarding table header value output link 0100 0101 0111 1001 3 2 2 1 value in arriving packet s header 0111 1 3 2 Network Layer 1-8

Connection Setup before datagrams flow, two end hosts and intervening routers establish virtual connection (i.e., virtual dedicated path) important function in some architectures (e.g., ATM) routers get involved vs transport layer end-to-end connection service: : between two hosts transport: between two processes Network Layer 1-9

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 Example services for a flow of datagrams: in-order datagram delivery guaranteed minimum bandwidth to flow Network Layer 1-10

Network Layer Service Models Network Architecture Service Model Bandwidth Guarantees? Loss Order Timing Congestion feedback Internet ATM ATM ATM ATM best effort CBR VBR ABR UBR none constant rate guaranteed rate guaranteed minimum none no yes yes no no no yes yes yes yes no yes yes no no no (inferred via loss) no congestion no congestion yes no Network Layer 1-11

Network Layer Connection and Connection-less Service Datagram provides -layer connectionless service Packet switched s Virtual Circuit (VC) provides layer connection service VC used for transporting data over a packet switched computer in such a way that it appears as though there is a dedicated layer link between the source and destination end systems of this data Network Layer 1-12

Virtual Circuits source-to-dest path behaves much like telephone circuit performance-wise actions along source-to-dest path call setup, before data can flow each packet carries VC identifier (not destination host address) every router on source-destination path maintains state for each passing connection link, router resources (bandwidth, buffers) may be allocated to VC (dedicated resources = predictable service) Network Layer 4-13

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 Network Layer 4-14

Forwarding Table VC number 12 1 2 3 22 32 Forwarding table in northwest router: interface number Incoming interface Incoming VC # Outgoing interface Outgoing VC # 1 12 3 22 2 63 1 18 3 7 2 17 1 97 3 87 Routers maintain connection state information! Network Layer 4-15

Virtual Circuits: Signaling Protocols used to setup, maintain, teardown VC used in ATM, frame-relay, X.25 (all are packet switched s) not used in today s Internet application transport 5. Data flow begins 6. Receive data 4. Call connected 3. Accept call 1. Initiate call 2. incoming call application transport Network Layer 4-16

Datagram Networks no call setup at layer routers: no state about end-to-end connections no -level concept of connection packets forwarded using destination host address packets between same source-dest pair may take different paths application transport 1. Send data 2. Receive data application transport Network Layer 4-17

Forwarding Table (IPv4) IPv4 addresses are of length 32 bits Destination Address Range 4 billion possible entries Link Interface 11001000 00010111 00010000 00000000 through 0 11001000 00010111 00010111 11111111 11001000 00010111 00011000 00000000 through 1 11001000 00010111 00011000 11111111 11001000 00010111 00011001 00000000 through 2 11001000 00010111 00011111 11111111 otherwise 3 Network Layer 4-18

Datagram or VC Network: Why? Internet (datagram) data exchange among computers elastic service, no strict timing req. smart end systems (computers) can adapt, perform control, error recovery simple inside, complexity at edge many link types different characteristics uniform service difficult ATM (VC) evolved from telephony human conversation: strict timing, reliability requirements need for guaranteed service dumb end systems telephones complexity inside Network Layer 4-19

Lecture Summary Covered material Introduction to the Network Layer Network layer functions Service models Network layer connection and connectionless services Data routing in datagram and virtual circuit s Material to be covered next lecture What is inside a router? IP Protocol Routing Algorithms Network Layer 1-20