CS 3516: Advanced Computer Networks

Similar documents
CS 3516: Computer Networks

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

CSCI Computer Networks Fall 2016

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

Chapter 4 Network Layer: The Data Plane

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

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

Master Course Computer Networks IN2097

Chapter 4 Network Layer: The Data Plane

Network Layer: Control/data plane, addressing, routers

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

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

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

COMP211 Chapter 4 Network Layer: The Data Plane

Network Layer PREPARED BY AHMED ABDEL-RAOUF

internet technologies and standards

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

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

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

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

Lecture 16: Network Layer Overview, Internet Protocol

CSC 401 Data and Computer Communications Networks

CMPE 80N: Introduction to Networking and the Internet

Chapter 4 Network Layer

internet technologies and standards

Chapter 4 Network Layer: The Data Plane

Chapter 4: Network Layer

CSC 401 Data and Computer Communications Networks

TDTS06: computer Networks

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

Chapter 4: network layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

CS 3516: Computer Networks

Chapter 4 Network Layer

Network layer overview

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: The Data Plane

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

CS 3516: Advanced Computer Networks

Chapter 4 Network Layer: The Data Plane

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Network layer: Overview. Network Layer Functions

Network Layer: Internet Protocol

CS 3516: Computer Networks

Chapter 4 Network Layer: The Data Plane

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

Network Layer: outline

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Chapter 4 Network Layer

Review. Some slides are in courtesy of J. Kurose and K. Ross

Router Architecture Overview

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

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

Chapter 4: Network Layer

CS 3516: Advanced Computer Networks

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

CS 3516: Advanced Computer Networks

Δίκτυα Υπολογιστών ΙΙ. Κώστας Μαγκούτης Επίκουρος Καθηγητής Τμήμα Μηχανικών Η/Υ και Πληροφορικής Πανεπιστήμιο Ιωαννίνων

Chapter 4 Network Layer

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CS Lecture 1 Review of Basic Protocols

IPv4 Lecture 10a. COMPSCI 726 Network Defence and Countermeasures. Muhammad Rizwan Asghar. August 14, 2017

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

Network Layer: Data Plane 4-2

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane

CS 3516: Computer Networks

Chapter 4 Network Layer: The Data Plane

Network Layer: Router Architecture, IP Addressing

Chapter 4 Network Layer: The Data Plane

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

cs144 Midterm Review Fall 2010

Problem Set 8 Due: Start of Class, November 16

Chapter 4 Network Layer

3.7 TCP congestion. reliable data transfer. sliding window. Lecture 4: Transport layer III: flow control and congestion control & Network layer I: IP

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

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

Module 3 Network Layer CS755! 3-1!

The Network Layer Forwarding Tables and Switching Fabric

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

Chapter 3 Transport Layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

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

Chapter 4 Network Layer: The Data Plane

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

Internet Control Message Protocol (ICMP)

CSC 4900 Computer Networks: Network Layer

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

Chapter 4 Network Layer

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Network Layer/IP Protocols

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

Network Layer II. Getting IP addresses. DHCP client-server scenario. DHCP client-server scenario. C compiler. You writing assignment 2

HY 335 Φροντιστήριο 8 ο

Transcription:

Welcome to CS 3516: Advanced Computer Networks Prof. Yanhua Li Time: 9:00am 9:50am M, T, R, and F Location: Fuller 320 Fall 2017 A-term 1 Some slides are originally from the course materials of the textbook Computer Networking: A Top Down Approach, 7th edition, by Jim Kurose, Keith Ross, Addison-Wesley March 2016. Copyright 1996-2017 J.F Kurose and K.W. Ross, All Rights Reserved.

Chapter 4-5: layer chapter goals: v understand principles behind layer services: layer service models forwarding versus routing IP addressing routing (path selection) Network Layer 4-2

Chapter 4-5: outline 4.1 introduction 4.3 IP: Internet Protocol datagram format IPv4 addressing Network Layer 4-3

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 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-4

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-5

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 best effort Network Layer 4-6

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

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-8

Chapter 4-5: outline 4.1 introduction 4.3 IP: Internet Protocol datagram format IPv4 addressing Network Layer 4-9

The Internet layer host, router layer functions: transport layer: TCP, UDP layer routing protocols path selection RIP, OSPF, BGP forwarding table IP protocol addressing conventions datagram format packet handling conventions ICMP protocol error reporting router signaling link layer layer Network Layer 4-10

IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented at each router) upper layer protocol to deliver payload to how much overhead? v 20 bytes of TCP v 20 bytes of IP v = 40 bytes + app layer overhead ver head. len 16-bit identifier time to live type of service upper layer 32 bits flgs length fragment offset header checksum 32 bit source IP address 32 bit destination IP address options (if any) data (variable length, typically a TCP or UDP segment) total datagram length (bytes) for fragmentation/ reassembly e.g. timestamp, record route taken, specify list of routers to visit. Network Layer 4-11

IP fragmentation, reassembly v v links have MTU (max.transfer size) - largest possible link-level frame different link types, different MTUs large IP datagram divided ( fragmented ) within net one datagram becomes several datagrams reassembled only at final destination IP header bits used to identify, order related fragments reassembly fragmentation: in: one large datagram out: 3 smaller datagrams Network Layer 4-12

IP fragmentation, reassembly example: v v 3980 bytes in data field 4000 byte datagram MTU = 1500 bytes length =4000 ID =x fragflag =0 offset =0 one large datagram becomes several smaller datagrams 1480 bytes in data field length =1500 ID =x fragflag =1 offset =0 offset = 1480/8 length =1500 ID =x fragflag =1 offset =185 1020 bytes in data field length =1040 ID =x fragflag =0 offset =370 Offsets are counted by 8 bytes in the data Network Layer 4-13

Questions Network Layer 4-14