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

Similar documents
Network layer overview

Chapter 4 Network Layer

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

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

Lecture 7. Network Layer. Network Layer 1-1

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

CSE 3214: Computer Network Protocols and Applications Network Layer

CMSC 332 Computer Networks Network Layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

Computer Networks. Instructor: Niklas Carlsson

CS 3516: Advanced Computer Networks

Key Network-Layer Functions

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

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

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

CS 3516: Computer Networks

Chapter 4 Network Layer

CSCI Computer Networks Fall 2016

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

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

Network Layer: outline

TDTS06: computer Networks

Chapter 4: Network Layer

Chapter 4: network layer

internet technologies and standards

Chapter 4 Network Layer

internet technologies and standards

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

Chapter 4 Network Layer

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

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

Chapter 4 Network Layer

Chapter 4 Network Layer: The Data Plane

CSC 401 Data and Computer Communications Networks

EPL606. Internetworking. Part 2a. 1Network Layer

Chapter 4 Network Layer: The Data Plane

COMP211 Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer

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

Lecture 16: Network Layer Overview, Internet Protocol

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

Master Course Computer Networks IN2097

Chapter 4 Network Layer

Chapter 4: Network Layer

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

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

CSC 4900 Computer Networks: Network Layer

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

Module 3 Network Layer CS755! 3-1!

CS 3516: Advanced Computer Networks

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

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

CSC358 Week 6. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

CSCD 330 Network Programming

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

CS 3516: Computer Networks

UNIT III THE NETWORK LAYER

Chapter 4 Network Layer: The Data Plane

Read Chapter 4 of Kurose-Ross

Chapter 4: Network Layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

RSC Part II: Network Layer 3. IP addressing (2nd part)

4.2 Virtual Circuit and Datagram Networks

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

Chapter 4 Network Layer: The Data Plane

Master Course Computer Networks IN2097

LAN Interconnection and Other Link Layer Protocols

CS 3516: Advanced Computer Networks

Chapter 4 Network Layer: The Data Plane

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

The Network Layer and Routers

Chapter 3 Transport Layer

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

Chapter 1 Introduction

Network Layer: Control/data plane, addressing, routers

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

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane

Chapter 18. Introduction to Network Layer

Introduction to Computer Networking. Guy Leduc. Chapter 4 Network Layer: The Data Plane. Chapter 4: Network Layer Data Plane

Network Layer Introduction

INTRODUCTORY COMPUTER

Chapter 4 Network Layer: The Data Plane

Lecture 17: Network Layer Addressing, Control Plane, and Routing

Chapter 5 Network Layer: The Control Plane

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

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

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

The Network Layer Forwarding Tables and Switching Fabric

CS 3516: Computer Networks

Chapter 4 Network Layer: The Data Plane

Introduction to Networks and the Internet

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

CSC 4900 Computer Networks: Network Layer

CS 3516: Computer Networks

Internetworking With TCP/IP

Chapter 4 Network layer

Transcription:

HW3 and Quiz v HW3 (Chapter 3): R1, R2, R5, R6, R7, R8, R15, P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) v Quiz: 10/30/2013, Wednesday, (Midterm Ps + TCP), 20 mins v Suggestion: review textbook to understand concepts along with slides Network Layer 4-1

Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All material copyright 1996-2012 J.F Kurose and K.W. Ross, All Rights Reserved Network Layer 4-2

Chapter 4: layer chapter goals: v understand principles behind layer services: layer service forwarding versus routing how a router works routing (path selection) broadcast, multicast Network Layer 4-3

Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram s 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 Layer 4-4

Network layer v Transport segment from sending to receiving host v On sending side encapsulates segments into datagrams v On receiving side, delivers segments to transport layer v Network layer protocols in every host, router v Router examines header fields in all IP datagrams passing through it application transport application transport Network Layer 4-5

Two key -layer functions v forwarding: move packets from router s input to appropriate router output v routing: determine route taken by packets from source to dest. routing algorithms analogy: v routing: process of planning trip from source to dest v forwarding: process of getting through single interchange Network Layer 4-6

Interplay between routing and forwarding routing algorithm local forwarding table header value output link 0100 0101 0111 1001 3 2 2 1 routing algorithm determines end-end-path through forwarding table determines local forwarding at this router value in arriving packet s header 0111 1 3 2 Network Layer 4-7

Service Model v Best effort, no guarantee: Bandwidth No loss Ordering Timing Congestion Network Layer 4-8

Chapter 4: outline 4.1 introduction 4.2 virtual circuit and datagram s 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 Layer 4-9

Connection, connection-less service v datagram provides -layer connectionless service v virtual-circuit provides -layer connection service v Different from transport: : between two hosts (may also involve intervening routers in case of VCs) transport: between two processes v analogous to TCP/UDP, but: service: host-to-host no choice: provides one or the other implementation: in core Network Layer 4-10

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

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 v packet belonging to VC carries VC number (rather than dest address) v VC number can be changed on each link. new VC number comes from forwarding table Network Layer 4-12

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

Virtual circuits: signaling protocols v used to setup, maintain teardown VC v used in ATM (Asynchronous Transfer Mode), frame-relay, X.25 v 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-14

Datagram s v no call setup at layer v routers: no state about end-to-end connections no -level concept of connection v packets forwarded using destination host address application transport 1. send datagrams 2. receive datagrams application transport Network Layer 4-15

Datagram forwarding table routing algorithm local forwarding table dest address output link address-range 1 address-range 2 address-range 3 address-range 4 3 2 2 1 4 billion IP addresses, so rather than list individual destination address list range of addresses (aggregate table entries) Around 500K-1M entries at global forwarding table IP destination address in arriving packet s header 1 3 2 Network Layer 4-16

Datagram forwarding table Destination Address Range 11001000 00010111 00010000 00000000 through 11001000 00010111 00010111 11111111 11001000 00010111 00011000 00000000 through 11001000 00010111 00011000 11111111 11001000 00010111 00011001 00000000 through 11001000 00010111 00011111 11111111 otherwise Link Interface 0 1 2 3 Q: but what happens if ranges don t divide up so nicely? Overlapping? Network Layer 4-17

Longest prefix matching longest prefix matching when looking for forwarding table entry for given destination address, use longest address prefix that matches destination address. Destination Address Range 11001000 00010111 00010*** ********* 11001000 00010111 00011000 ********* 11001000 00010111 00011*** ********* otherwise examples: DA: 11001000 00010111 00010110 10100001 DA: 11001000 00010111 00011000 10101010 Link interface 0 1 2 3 which interface? which interface? Network Layer 4-18

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