CSE398: Network Systems Design

Similar documents
CSE398: Network Systems Design

CSE398: Network Systems Design

CSE398: Network Systems Design

CSE398: Network Systems Design

Chapter 6 Connecting Device

19: Networking. Networking Hardware. Mark Handley

More on LANS. LAN Wiring, Interface

3.5 CONNECTING DEVICES

Chapter 6 Medium Access Control Protocols and Local Area Networks

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

CMPE 150 Winter 2009

Mixed-Media Bridging

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

CSE302: Compiler Design

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

CSE 3214: Computer Network Protocols and Applications Network Layer

Cisco Series Internet Router Architecture: Packet Switching

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

Ethernet Hub. Campus Network Design. Hubs. Sending and receiving Ethernet frames via a hub

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

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

Layer 2 functionality bridging and switching

G Robert Grimm New York University

Topic & Scope. Content: The course gives

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

The Network Layer and Routers

CSE302: Compiler Design

CS-461 Internetworking. Dr. Mohamed Aboutabl

Lecture 7: Ethernet Hardware Addressing and Frame Format. Dr. Mohammed Hawa. Electrical Engineering Department, University of Jordan.

2. LAN Topologies Gilbert Ndjatou Page 1

Lecture 9: Switched Ethernet Features: STP and VLANs

Mixed-Media Bridging. Chapter Goals. Background. Translation Challenges CHAPTER

Topics for Today. Network Layer. Readings. Introduction Addressing Address Resolution. Sections 5.1,

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

IT 341: Introduction to System

EEC-484/584 Computer Networks

Lecture 9: Internetworking

Chapter 4 Network Layer

The Link Layer and LANs: Ethernet and Swiches

CEN445 Network Protocols & Algorithms. Network Layer. Prepared by Dr. Mohammed Amer Arafah Summer 2008

The Addressing of Data Link Layer

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions?

Implementing Multicast Using DMA in a PCIe Switch

Chapter Motivation For Internetworking

Network Processors. Douglas Comer. Computer Science Department Purdue University 250 N. University Street West Lafayette, IN

CSCE 463/612 Networks and Distributed Processing Spring 2018

Distributed Queue Dual Bus

Novel Intelligent I/O Architecture Eliminating the Bus Bottleneck

Much Faster Networking

Operating system Dr. Shroouq J.

Receive Livelock. Robert Grimm New York University

CS 3516: Advanced Computer Networks

Chapter 5: Ethernet. Introduction to Networks - R&S 6.0. Cisco Networking Academy. Mind Wide Open

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

Router Architecture Overview

Connecting LANs. Required reading: Garcia 6.11 (intro ) CSE 3213, Fall 2010 Instructor: N. Vlajic

Lecture 15 Networking Fundamentals. Today s Plan

LAN Overview (part 2) Interconnecting LANs - Hubs

Unicasts, Multicasts and Broadcasts

L10: Simple Internetworking. Hui Chen, Ph.D. Department of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Connecting LANs. Required reading: Forouzan 17.1 to 17.1 Garcia 6.11 (intro ) CSE 3213, Fall Instructor: N. Vlajic

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

Computer Networking. December 2004 CEN CN

Last Lecture: Network Layer

Internet Protocols (chapter 18)

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

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

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

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

CSE 4/521 Introduction to Operating Systems. Lecture 14 Main Memory III (Paging, Structure of Page Table) Summer 2018

CMSC 332 Computer Networks Network Layer

9. Security. Safeguard Engine. Safeguard Engine Settings

King Fahd University of Petroleum & Minerals Electrical Engineering Department EE 400, Experiment # 2

Dr Markus Hagenbuchner CSCI319 SIM. Distributed Systems Chapter 4 - Communication

ECE 158A: Lecture 7. Fall 2015

Optimizing Performance: Intel Network Adapters User Guide

Kent State University

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

V+ Custom Socket I/O Driver

Data Communications. Connecting Devices

COMP/ELEC 429/556 Introduction to Computer Networks

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

Computer Organization ECE514. Chapter 5 Input/Output (9hrs)

ECE 4450:427/527 - Computer Networks Spring 2017

Introducing Campus Networks

CSC 4900 Computer Networks: Network Layer

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

CSE 461: Computer Networks John Zahorjan Justin Chan Rajalakshmi Nandkumar CJ Park

ET4254 Communications and Networking 1

EECS 122: Introduction to Communication Networks Final Exam Solutions

PCI Express System Interconnect Software Architecture for PowerQUICC TM III-based Systems

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Ch.7 Internet Protocol: Connectionless Datagram Delivery (IPv4, IPv6)

Introduction to Networks and the Internet

CSCE 463/612 Networks and Distributed Processing Spring 2018

Computer Networks. Instructor: Niklas Carlsson

Router Architectures

Key Network-Layer Functions

Transcription:

CSE398: Network Systems Design Instructor: Dr. Liang Cheng Department of Computer Science and Engineering P.C. Rossin College of Engineering & Applied Science Lehigh University February 7, 2005

Outline Recap Computer hardware architecture Fetch and store Packet processing algorithms (Chapter 5) Summary and homework

NIC Functionality Onboard address recognition and filtering Onboard packet buffering Direct memory access (DMA) Data chaining and operation chaining

Onboard Address Recognition And Filtering NIC given set of addresses to accept Station s unicast address Network broadcast address Zero or more multicast addresses (<=32 or 64) CPU must be prepared to handle a false acceptance When packet arrives, NIC checks destination address Accept packet if address on list Discard others

Onboard Packet Buffering NIC given high-speed local memory Incoming packet placed in NIC s memory Allows computer s memory/bus to operate slower than network Handles small packet bursts

Direct Memory Access (DMA) CPU Allocates packet buffer in memory Passes buffer address to NIC Goes on with other computation NIC Accepts incoming packet from network Copies packet over bus to buffer in memory Informs CPU that packet has arrived

Buffer/Data Chaining CPU Allocates multiple buffers Passes linked list to NIC NIC Receives next packet Divides into one or more buffers Advantage: a buffer can be smaller than packet

Operation/Command Chaining CPU Allocates multiple buffers Builds linked list of operations Passes list to NIC NIC Follows list and performs instructions Interrupts CPU after each operation Advantage: multiple operations proceed without CPU intervention

Data Flow Diagram Depicts flow of data through hardware units Used throughout the course and text

Outline Today s class ends at 1:55 PM Recap Packet processing algorithms (Chapter 5) Data storage and representation Algorithms Summary and homework

Why Study Packet Processing on Conventional Hardware? Past Employed in early IP routers Many algorithms developed / optimized for conventional hardware Present Used in low-speed network systems Easiest to create / modify Costs less than special-purpose hardware Future Processors continue to increase in speed Some conventional hardware present in all systems

Copying and Buffering Used when packet moved from one memory location to another Expensive Must be avoided whenever possible Leave packet in buffer Pass buffer address among threads/layers Buffer allocation Large, fixed buffers Variable-size buffers Linked list of fixed-size blocks

Integer Representation Little endian (least-significant byte at lowest address): Intel 80x86 Big endian (most-significant byte at lowest address): Motorola 680x0 Integer conversion Needed when heterogeneous computers communicate Protocols define network byte order: big-endian Computers convert to network byte order

Algorithm Examples Layer 2 Ethernet bridge Layer 3 IP forwarding IP fragmentation and reassembly Layer 4 TCP connection recognition and splicing Other Hash table lookup

Ethernet Bridge Used between a pair of Ethernets Provides transparent connection Listens in promiscuous mode Forwards frames in both directions Uses source address in frames to identify computers on each network Uses addresses to filter Uses destination address to decide whether to forward frame

Learning Bridge Algorithm

Outline Recap Packet processing algorithms Summary and homework

Homework (due on 02/14) 5.1. Give the big-endian and little-endian representations of the integer 34677374. 5.2. Problem 2 of Chapter 5 (Page 63).