The Network Layer and Routers

Similar documents
Chapter 4 Network Layer

Computer Networks. Instructor: Niklas Carlsson

Key Network-Layer Functions

CSC 4900 Computer Networks: Network Layer

CSE 3214: Computer Network Protocols and Applications Network Layer

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

CMSC 332 Computer Networks Network Layer

Chapter 4 Network Layer: The Data Plane

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

LS Example 5 3 C 5 A 1 D

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

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

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

CSC 401 Data and Computer Communications Networks

Last time. BGP policy. Broadcast / multicast routing. Link virtualization. Spanning trees. Reverse path forwarding, pruning Tunneling

Routers: Forwarding EECS 122: Lecture 13

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

Routers: Forwarding EECS 122: Lecture 13

Router Architecture Overview

Router Architectures

Router Construction. Workstation-Based. Switching Hardware Design Goals throughput (depends on traffic model) scalability (a function of n) Outline

Routing, Routers, Switching Fabrics

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

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

TOC: Switching & Forwarding

CSCD 330 Network Programming

Chapter 4: network layer

TOC: Switching & Forwarding

Network Layer: outline

Router Architecture Overview

Chapter 4: Network Layer

Chapter 4 Network Layer: The Data Plane

Network Layer: Router Architecture, IP Addressing

IV. PACKET SWITCH ARCHITECTURES

TDTS06: computer Networks

EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

Lecture 16: Network Layer Overview, Internet Protocol

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Chapter 4 Network Layer

COMP211 Chapter 4 Network Layer: The Data Plane

Network Layer PREPARED BY AHMED ABDEL-RAOUF

NETWORK LAYER DATA PLANE

Router s Queue Management

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

internet technologies and standards

BROADBAND AND HIGH SPEED NETWORKS

Student ID: CS457: Computer Networking Date: 3/20/2007 Name:

Understanding How Routing Updates and Layer 2 Control Packets Are Queued on an Interface with a QoS Service Policy

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

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

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

Internetworking Part 1

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

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

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

Network Layer: Data Plane 4-2

Cell Switching (ATM) Commonly transmitted over SONET other physical layers possible. Variable vs Fixed-Length Packets

Quality of Service (QoS)

ETSF05/ETSF10 Internet Protocols Routing on the Internet

ECE 697J Advanced Topics in Computer Networks

Chapter 4 Network Layer: The Data Plane

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

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

Routers Technologies & Evolution for High-Speed Networks

Network Layer Enhancements

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

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

Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai

Routers. Session 12 INST 346 Technologies, Infrastructure and Architecture

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Congestion Control. Daniel Zappala. CS 460 Computer Networking Brigham Young University

CSCI Computer Networks

Lecture 16: Router Design

4.2 Virtual Circuit and Datagram Networks

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

Network Layer Introduction

Congestion Control and Resource Allocation

fair-queue aggregate-limit

cs144 Midterm Review Fall 2010

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

Computer Networks LECTURE 10 ICMP, SNMP, Inside a Router, Link Layer Protocols. Assignments INTERNET CONTROL MESSAGE PROTOCOL

Network Layer: Control/data plane, addressing, routers

Cisco IOS Switching Paths Overview

Chapter 4 Network Layer

Internet Multicast Routing

H3C S9500 QoS Technology White Paper

Cell Format. Housekeeping. Segmentation and Reassembly AAL 3/4

Chapter 6 Queuing Disciplines. Networking CS 3470, Section 1

Network Performance: Queuing

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

Where we are in the Course

QoS Policy Parameters

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

Part1: Lecture 4 QoS

PARALLEL ALGORITHMS FOR IP SWITCHERS/ROUTERS

Network Performance: Queuing

Expected Time: 90 min PART-A Max Marks: 42

UNIT III THE NETWORK LAYER

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

Transcription:

The Network Layer and Routers Daniel Zappala CS 460 Computer Networking Brigham Young University

2/18 Network Layer deliver packets from sending host to receiving host must be on every host, router in the Internet IP defines what it means to be a part of the Internet switch: processes only the link layer header router: processes the network layer header

3/18 Packet Forwarding versus Routing forwarding accept packet on incoming interface lookup outgoing interface from forwarding table put packet into queue for outgoing interface routing determine the path that packets should take use these paths to create the forwarding table in a given router

How Should the Network Forward Packets?

5/18 Virtual Circuit setup a fixed path through the network like a telephone circuit assign a flow to a path packets carry virtual circuit identifiers to identify the path, rather than being forwarded based on the destination IP address advantages can maintain multiple paths to a destination, each used by different flows can set aside resources for each path, e.g. bandwidth can isolate traffic, e.g. carry voice traffic separate from data traffic

6/18 Virtual Circuit Example VC table for R1: Incoming IF Incoming VC Outgoing IF Outgoing VC 1 12 2 22 2 63 1 18 3 7 2 17 1 97 3 87

7/18 Virtual Circuit Setup

8/18 Datagrams packets forwarded using only destination address in packet each router sends packet to best next hop toward destination packets sent from same source to same destination may take different paths advantages simple no connection setup in network layer no connection state in routers complexity (reliability and transport) at the edges flexible: if a route fails, datagrams can take another path disadvantages can only use one route per destination forwarding table can be large no performance guarantees

How Do Routers Work?

10/18 Routers key functions run routing protocol (RIP, OSPF, BGP) forward datagrams from incoming to outgoing link schedule packets in outgoing link queues

11/18 Input Port Processing line termination - physical layer - bits data link processing - link layer - frames (e.g. Ethernet) lookup, forwarding, queueing - network layer given a datagram destination address, lookup output port using forwarding table stored in input port memory try to complete input port processing at link speed if datagrams arrive faster than processing rate, they may be queued on input port

12/18 Switching Fabrics: Memory first-generation routers switching controlled by a CPU - packet copied to system memory and then out to output port memory contention: switching speed limited by memory bandwidth

13/18 Switching Fabrics: Bus copy datagram from input port memory to output port memory via shared bus bus contention: switching speed limited by bus bandwidth Cisco Catalyst 1900: 1 Gbps bus (old product) sufficient speed for access and enterprise routers (not regional or backbone) 3MB memory shared by all ports 14,880 pps to 10-Mbps ports, 148,800 pps to 100-Mbps ports (64-byte packets)

14/18 Switching Fabrics: Interconnection Network overcome bus bandwidth limitation crossbar, Banyan networks, and others advanced design: fragment datagram into fixed length cells, switch cells through the fabric (cell switching) Cisco 12000 (December 2003) 2.5-40 Gbps/slot memory-less crossbar switching matrix distributed processing

15/18 Output Port Processing buffering required: datagrams may arrive faster than link transmission speed delay and loss possible scheduling discipline chooses order in which datagrams are transmitted FIFO: service packets in order they arrive priority queueing: service packets according to priority field in IP header fair queueing: give every TCP flow a fair share of link bandwidth

16/18 Active Queue Management drop or mark a packet before the queue is full sends a congestion signal to the sending host causes hosts to slow down before buffer becomes full to mark packets, need support from TCP to carry mark back to the source: TCP ECN Random Early Detection (RED) use EWMA to track average queue length if queue length < min th, let packet in if queue length > max th, mark or drop if queue length between min th and max th, mark or drop with probability = f (length) this function increases from 0 to 1 as length moves from the minimum to maximum threshold AQM keeps the queue size low, which decreases overall queueing delay

17/18 Output Port Contention in this example, the switch fabric can deliver three packets to an output port in the time it takes for a single packet to be sent at the output port results in queueing delay at output port

18/18 Head-of-Line Blocking in this example, the switch fabric can only deliver one packet a time to an output queue even though a second packet in the bottom input queue can be delivered to the middle output queue, it is blocked by a packet ahead of it