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

Similar documents
CS 3516: Advanced Computer Networks

Chapter 4 Network Layer: The Data Plane

CS 3516: Computer Networks

Chapter 4 Network Layer: The Data Plane

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

CSCI Computer Networks Fall 2016

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

Chapter 4 Network Layer: The Data Plane

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

Lecture 16: Network Layer Overview, Internet Protocol

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

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

CSC 401 Data and Computer Communications Networks

COMP211 Chapter 4 Network Layer: The Data Plane

Chapter 4: network layer

Chapter 4 Network Layer

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

Network layer overview

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

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

Master Course Computer Networks IN2097

Chapter 4 Network Layer: The Data Plane

Chapter 4: Network Layer

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

CMSC 332 Computer Networks Network Layer

Lecture 7. Network Layer. Network Layer 1-1

TDTS06: computer Networks

CSC 4900 Computer Networks: Network Layer

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

Network Layer: Control/data plane, addressing, routers

internet technologies and standards

Network Layer: Data Plane 4-2

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

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

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

Chapter 4 Network Layer: The Data Plane

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

NETWORK LAYER DATA PLANE

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

internet technologies and standards

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Network Layer: outline

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

Computer Networks. Instructor: Niklas Carlsson

Chapter 4 Network Layer: The Data Plane

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 11

CSC 401 Data and Computer Communications Networks

Chapter 4 Network Layer: The Data Plane

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

Key Network-Layer Functions

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

The Network Layer Forwarding Tables and Switching Fabric

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

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

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

CSCE 463/612 Networks and Distributed Processing Spring 2018

Chapter 4 Network Layer

Transport Layer. Chapter 3: Transport Layer

Chapter 4 Network Layer

The Network Layer. Antonio Carzaniga. April 22, Faculty of Informatics University of Lugano Antonio Carzaniga

Chapter 4 Network Layer: The Data Plane

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

Router Architecture Overview

cs144 Midterm Review Fall 2010

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

Network layer: Overview. Network Layer Functions

Chapter 5 Network Layer: The Control Plane

Information Network Systems The network layer. Stephan Sigg

CMPE 80N: Introduction to Networking and the Internet

Chapter 4: Network Layer

Module 3 Network Layer CS755! 3-1!

Chapter 4 Network Layer: The Data Plane

Chapter 3 Transport Layer

Chapter 4 Network Layer

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

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

Chapter 4 Network Layer

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

COMP211 Chapter 5 Network Layer: The Control Plane

Chapter 4 Network Layer

Network Layer: Internet Protocol

Chapter 3 Transport Layer

EPL606. Internetworking. Part 2a. 1Network Layer

The Network Layer Forwarding Tables and Switching Fabric

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Announcement. Homework 1 due last night, how is that? Will discuss some problems in the lecture next week

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

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

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

Internet Control Message Protocol (ICMP)

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

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

CS 4390 Computer Networks. Transport Services and Protocols

Transcription:

Chapter 4 Network Layer: The Data Plane Part A All material copyright 996-06 J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 7 th Edition, Global Edition Jim Kurose, Keith Ross Pearson April 06 Network Layer: Data Plane 4-

Chapter 4: outline 4. Overview of Network layer data plane control plane 4. What s inside a router 4. IP: Internet Protocol datagram format fragmentation IPv4 addressing address translation IPv6 4.4 Generalized Forward and SDN match action OpenFlow examples of match-plus-action in action Network Layer: Data Plane 4-

Chapter 4: layer chapter goals: understand principles behind layer services, focusing on data plane: layer service models forwarding versus routing how a router works generalized forwarding instantiation, implementation in the Internet Network Layer: Data Plane 4-

Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on receiving 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: Data Plane 4-4

Two key -layer functions -layer functions: forwarding: move packets from router s input to appropriate router output routing: determine route taken by packets from source to destination routing algorithms analogy: taking a trip forwarding: process of getting through single interchange routing: process of planning trip from source to destination Network Layer: Data Plane 4-5

Interplay between routing and forwarding routing algorithm local forwarding table header value output link 000 00 0 00 Routing algorithm determines end-end-path through and populates forwarding table with routing information forwarding table determines local forwarding at this router value in arriving packet s header 0 00 Upon packet arrival, using packet s header, router checks forwarding (routing) table for output link and places packet in output link buffer ready to be transmitted to next router Forwarding executed upon every packet arrival Routing executed at a much slower time scale Network Layer 4-6

Network layer: data plane, control plane Data plane local, per-router function determines how datagram arriving on router input port is forwarded to router output port forwarding function values in arriving packet header 0 Control plane -wide logic determines how datagram is routed among routers along end-end path from source host to destination host two control-plane approaches: traditional routing algorithms: implemented in routers software-defined ing (SDN): implemented in (remote) servers Network Layer: Data Plane 4-7

Per-router control plane Individual routing algorithm components in each and every router interact in the control plane Routing Algorithm control plane data plane values in arriving packet header 0 Network Layer: Control Plane 5-8

Logically centralized control plane A distinct (typically remote) controller interacts with local control agents (CAs) Remote Controller CA control plane data plane values in arriving packet header CA CA CA CA 0 Network Layer: Control Plane 5-9

Recall Layering: The Internet Network layer Host, router layer functions: Transport layer: TCP, UDP Network 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-0

Forwarding table in the Internet routing algorithm local forwarding table header value output link 000 00 0 00 Destination address value in arriving packet s header 0 00 forwarding table determines local forwarding at this router BUT, address space in internet (IpV4) is which is about 4 billion IP addresses!!!! Network Layer 4-

Datagram forwarding table routing algorithm local forwarding table dest address output link address-range address-range address-range address-range 4 4 billion IP addresses, so rather than list individual destination address list range of addresses (aggregate table entries) IP destination address in arriving packet s header Network Layer 4-

E.g. datagram forwarding table Destination Address Range 00000 0000 0000000 00000000 through 00000 0000 0000 Link Interface 0 =4 billion possible entries become much less with address range 00000 0000 000000 00000000 through 00000 0000 000000 00000 0000 00000 00000000 through 00000 0000 000 otherwise Q: but what happens if ranges don t divide up so nicely? Network Layer 4-

Idea of 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 00000 0000 0000*** ********* 00000 0000 000000 ********* 00000 0000 000*** ********* otherwise examples: DA: 00000 0000 00000 00000 DA: 00000 0000 000000 0000 Link interface 0 which interface? which interface? Network Layer 4-4

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 restrictions on changes in inter-packet spacing Network Layer: Data Plane 4-5

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 ne constant rate guaranteed rate guaranteed minimum ne (inferred via loss) congestion congestion Network Layer: Data Plane 4-6

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? 0 bytes of TCP 0 bytes of IP = 40 bytes + app layer overhead ver head. len type of service 6-bit identifier time to upper live layer bits flgs length fragment offset header checksum bit source IP address 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-7