The Network Layer Forwarding Tables and Switching Fabric

Similar documents
The Network Layer Forwarding Tables and Switching Fabric

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Network Layer: Control/data plane, addressing, routers

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

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

CSC 401 Data and Computer Communications Networks

CSCI Computer Networks Fall 2016

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

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

internet technologies and standards

Chapter 4: network layer

Router Architecture Overview

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

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

internet technologies and standards

COMP211 Chapter 4 Network Layer: The Data Plane

TDTS06: computer Networks

Chapter 4: Network Layer

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

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

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

Network Layer: outline

Network Layer: Router Architecture, IP Addressing

Master Course Computer Networks IN2097

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

Lecture 16: Network Layer Overview, Internet Protocol

Chapter 4 Network Layer: The Data Plane

Network layer: Overview. Network Layer Functions

Chapter 4 Network Layer

NETWORK LAYER DATA PLANE

CS 3516: Advanced Computer Networks

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

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

Chapter 4 Network Layer: The Data Plane

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

The Transport Layer: Review

Chapter 4 Network Layer

CSC 401 Data and Computer Communications Networks

Chapter 4 Network Layer: The Data Plane

ECE 461 Internetworking Fall Quiz 1

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

EC441 Fall 2018 Introduction to Computer Networking Chapter4: 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

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

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

Network Layer: Data Plane 4-2

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

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer

CS 3516: Computer Networks

Chapter 4 Network Layer

Chapter 4 Network Layer

Data Communications & Networks. Session 7 Main Theme Networks: Part I Circuit Switching, Packet Switching, The 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)

Summary Chapter 4. Smith College, CSC 249 March 2, q IP Addressing. q DHCP dynamic addressing

Network Layer: Internet Protocol

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

CMSC 332 Computer Networks Network Layer

IPv4. Christian Grothoff.

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

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

Chapter 1 Introduction

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

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

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

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

Chapter 4 Network Layer: The Data Plane

CSC 4900 Computer Networks: Network Layer

Chapter 4 Network Layer

ECE 4450:427/527 - Computer Networks Spring 2017

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

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane

CSE 3214: Computer Network Protocols and Applications Network Layer

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

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

Computer Networks. Instructor: Niklas Carlsson

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

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

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

b. Suppose the two packets are to be forwarded to two different output ports. Is it

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

IP - The Internet Protocol

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical

Network Layer/IP Protocols

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

The Network Layer and Routers

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Chapter 4 Network Layer: The Data Plane

Network Layer. CMPS 4750/6750: Computer Networks

Chapter 18. Introduction to Network Layer

Internet Technology 3/23/2016

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Chapter 4 Network Layer: The Data Plane

Internet Protocol (IP)

Chapter 4 Network Layer

Chapter 4 Network Layer

Transcription:

The Network Layer Forwarding Tables and Switching Fabric Smith College, CSC 49 February 7, 07 Network Layer Oeriew q Network layer serices Desired serices and tasks Actual serices and tasks q Forwarding ersus routing Routing algorithms path selection Routing algorithms creation of forwarding table q Inside a router: switching fabric q Three Network Layer protocols IP for addressing and forwarding Routing protocols determining the best path ICMP messaging protocol Network Layer Serices of IP? q Guaranteed deliery? q Guaranteed minimum delay? q In-order datagram deliery? q Guaranteed minimum bandwidth to flow? q Restrictions on changes in interpacket spacing? Key Network-Layer Functions. routing: determine route taken by packets from source to destination Network-wide routing algorithms. forwarding: moe packets from router s input link to appropriate output link Internal to a single router q IP Proides? à Best-effort serice 3 4

Router Architecture Oeriew Two key router functions: q. run routing algorithms/protocol q. forward datagrams from incoming to outgoing link Four sources of packet delay Find an analogy for each category below in the caraan example. A transmission propagation B nodal processing queueing 5 6 Three types of switching fabric Queuing in Routers Older Options q Where can queuing occur? q Why does it occur? Current Implementations 7 8

Input Port Functions Physical layer: bit-leel reception Data link layer: e.g., Ethernet see chapter 5 Use Forwarding Table: q goal: complete input port processing at line speed q queuing occurs if datagrams arrie faster than forwarding rate into switch circuitry ( switching fabric ) Input Port Queuing q Circuitry slower than input ports combined -> queueing may occur at input queues q Head-of-the-Line (HOL) blocking: queued datagram at front of queue preents others in queue from moing forward q queuing delay and loss due to input buffer oerflow 9 0 Output Ports q Buffering required when datagrams arrie from circuitry faster than the line transmission rate q Scheduling discipline chooses among queued datagrams for transmission Output Port Queuing q Packet scheduler at the output port Select one queued packet for transmission FCFS =? Weighted-fair-queuing share the outgoing link fairly among connections 3

Interplay between routing and forwarding IP Addressing: Oeriew routing algorithm local forwarding table header alue output link 000 00 0 00 Address alue in arriing packet s header 0 3 3 Ø Create ersus use the forwarding table 3 q IP address: 3-bit identifier for each interface on a host or router. Dotted-decimal notation q Interface: connection between host/router and physical link routers typically hae multiple interfaces hosts typically hae one interface IP addresses associated with each interface 3... 3... 3... 3...3 3...9 3..3. 3..3.7 3... 3..3. 3... = 0 0000000 0000000 0000000 3 4 Subnets q A subnet contains: deices that can physically reach each other without an interening router q IP address: subnet portion (high order bits) host portion (low order bits) q Subnet mask notation: Differentiates the network ersus host part of the address e.g., the leftmost 4 bits are for the network 3..3.0/4 3... 3... 3... 3...4 3...9 3... 3...3 3..3.7 subnet 3..3. 3..3. network consisting of 3 subnets 5 Subnets How many subnets are in this figure? 3... 3..9. 3... 3...6 3..9. 3..8. 3... 3... 3...3 3..7.0 3..8.0 3..3. 3...4 3..7. 3..3.7 3..3. 6 4

IP addressing: CIDR CIDR: Classless InterDomain Routing subnet portion of address of arbitrary length address format: a.b.c.d/x, where x is # bits in subnet (left-most) portion of address Addresses of all hosts in the same subnet hae the same left most x bits The x most significant bits are the prefix subnet part the prefix host part 00000 0000 0000000 00000000 00.3.6.0/3 7 Forwarding table Destination Address Range 4 billion possible entries Link Interface 00000 0000 0000000 00000000 through 0 00000 0000 0000 00000 0000 000000 00000000 through 00000 0000 000000 00000 0000 00000 00000000 through 00000 0000 000 otherwise 3 8 Longest prefix matching Examples Prefix Match Link Interface 00000 0000 0000 0 00000 0000 000000 00000 0000 000 otherwise 3 DA: 00000 0000 00000 00000 DA: 00000 0000 000000 0000 Which interface? Which interface? Forwarding Table Ranges q What are the assumptions and implications of haing large ranges of IP addresses forwarded to the same outgoing link? q Why is CIDRized ( classless ) addressing an improement oer classful addressing, that restricted the network prefix to complete bytes? (see page 344) 9 0 5

Internet Protocol: IP datagram format IP datagram format IP protocol ersion number header length (bytes) max number remaining hops (decremented at each router) upper layer protocol to delier payload to er 3 bits head. type of len serice 6-bit identifier flgs time to lie upper layer length fragment offset Internet checksum 3 bit source IP address 3 bit destination IP address Options (if any) total datagram length (bytes) for fragmentation/ reassembly IP protocol ersion number header length (bytes) max number remaining hops (decremented at each router) upper layer protocol to delier payload to er 3 bits head. type of len serice 6-bit identifier flgs time to lie upper layer length fragment offset Internet checksum 3 bit source IP address 3 bit destination IP address Options (if any) total datagram length (bytes) for fragmentation/ reassembly how much oerhead with TCP? q 0 bytes of TCP q 0 bytes of IP q = 40 bytes + app layer oerhead data (ariable length, typically a TCP or UDP segment) data (ariable length, typically a TCP or UDP segment) Summary q There are many possible network layer serices à IP proides none q Forwarding s. Routing Forwarding tables q Inside a router The internet in miniature Switching fabric (circuitry) q The network IP datagram q IP addressing structure 3 6