Outline. EEC-682/782 Computer Networks I. Course Objectives. Outline of Lectures

Similar documents
EEC-484/584 Computer Networks

EEC-484/584 Computer Networks

Computer Communication and Networks

Chapter 1. Introduction

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Nguyễn Đức Thái

Text Books. What is a network? Classification of Networks. Computer Communication and Networks 9/1/2014

Chapter 1. Introduction

Review of Lecture 1. EEC-484/584 Computer Networks. Network Hardware. Outline. Lecture 2. Wenbing Zhao

EEC-484/584 Computer Networks

Session 1. Introduction to Computer Communications and Networking. Communication Network. A communication network consists of a set

EEC-682/782 Computer Networks I

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

Navpreet Singh INTRODUCTION TO COMPUTER NETWORKS. Computer Centre Indian Institute of Technology Kanpur Kanpur INDIA

COMPUTER AND DATA NETWORKS

Client Server and Parallel Programming

Introduction. Computer Networks Term B10

Basics of datacommunication

Telecommunication Protocols Laboratory Course

Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS

EEC-484/584 Computer Networks. Lecture 16. Wenbing Zhao

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

Introduction. Instructor: Visiting Instructor Adomas Svirskas, Vilnius University, Lithuania Learning Resources:

CEN 444 Computer networks

Data Communication. Introduction

TYPES OF COMPUTER NETWORKS

Introduction to Networking

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

EEC-484/584 Computer Networks

Internet Architecture and Protocol

CS3600 SYSTEMS AND NETWORKS

Data Communication. Chapter # 1: Introduction. By: William Stalling

Module 1. Introduction. Version 2, CSE IIT, Kharagpur

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Revision of Previous Lectures

Computer Communication Networks

Overview of Networks

Lenuţa Alboaie Computer Networks

Welcome to CS 340 Introduction to Computer Networking

CHAPTER -1. Introduction to Computer Networks

CS455: Introduction to Distributed Systems [Spring 2018] Dept. Of Computer Science, Colorado State University

Chapter 16 Networking

b) Diverse forms of physical connection - all sorts of wired connections, wireless connections, fiber optics, etc.

ECE 333: Introduction to Communication Networks Fall Lecture 1: Introduction

Lecture #25: Networks and Communications. Communication and Networks. What will we learn?

EECS 122 Communications Networks

CPS221 Lecture: Layered Network Architecture

Computer Communication Networks Lecture No. 1

Ch t ap 1 er Introduction 1

Text Book. 1. Computer Networks & Internets by Douglas E Comer. 2. Data and Computer Communication by William Stalling, 5th or above edition.

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

FINAL EXAM REVIEW PLEASE NOTE THE MATERIAL FROM LECTURE #16 at the end. Exam 1 Review Material

Introduction. Computer Networks: Introduction 1

Outline: Connecting Many Computers

BROADBAND AND HIGH SPEED NETWORKS

Networking Applications

Data & Computer Communication

# DEFINITIONS TERMS. 5) A set of devices interconnected by media links. Network

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

Course on Computer Communication and Networks. Lecture 1 Chapter 1: Introduction Part A: Internet, Protocol Layering and Data

CS 471 Networking and Distributed Operating Systems

INTRODUCTION TO ICT.

programming exercises.

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

1. What is a Computer Network? interconnected collection of autonomous computers connected by a communication technology

COMPONENTS OF DATA COMMUNICATION

Network Protocols and Architectures

31270 Networking Essentials Focus, Pre-Quiz, and Sample Exam Answers

Data Communication & Computer Networks INFO

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

Announcements. CS 5565 Network Architecture and Protocols. Outline for today. The Internet: nuts and bolts view. The Internet: nuts and bolts view

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

L1: Introduction. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

EEC-682/782 Computer Networks I

Peer entities. Protocol Layering. Protocols. Example

2 Network Basics. types of communication service. how communication services are implemented. network performance measures. switching.

EEE 448 Computer Networks with (Network Programming) Course Descriptions. Topics to be covered. Course Objectives. Weekly Schedule.

Data Communication and Network. Introducing Networks

CS4700/CS5700 Fundaments of Computer Networks

Introduction to Networking

UNIT 1. Advantages of Computer Networks

Course goals and overview

Data Communications. Course Design Data Communications. Pre/Post Test (80 Questions/80 Points) Upon Request None No No No

Computer Networks. Andrew S. Tanenbaum

JAMES F. KUROSE AND KEITH W. ROSS

ECE 650 Systems Programming & Engineering. Spring 2018

Introduction to Information Science and Technology 2017 Networking I. Sören Schwertfeger 师泽仁

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Chapter 2 Network Models 2.1

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

Read Chapter 1 of Kurose-Ross

8. Networks. Why networked embedded systems General network architecture. Networks. Internet-enabled embedded systems Sensor networks

Computer Networks and Internet

Reti di Calcolatori I

Homework 1. Question 1 - Layering. CSCI 1680 Computer Networks Fonseca

PLEASE READ CAREFULLY BEFORE YOU START

Subnetting and addresses revisited

Transcription:

Outline EEC-682/782 Computer Networks I Lecture 1 Wenbing Zhao w.zhao1@csuohio.edu (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Syllabus Introduction to computer networks Definition Uses of computer networks Network hardware Network software -Wenbing Zhao 2 Course Objectives Become familiar with the basics of computer networks What is a computer network What are the network architectures What are the fundamental protocols Get some hands-on experiences Learn some basic network computing techniques Outline of Lectures Introduction to computer networks Physical layer Data link layer Medium access control sublayer Network layer Transport layer Application layer Network security -Wenbing Zhao 3 -Wenbing Zhao 4

Outline of assignments Assignment 1: Sockets for inter-process communication Learn some basic network programming skills Assignment 2: Set up your Web homepage Optional project Must be implementation related, potential projects Implementation of a group communication system Implementation of a reliable point-to-point transport service that resembles TCP in the user space using UDP Build a switch using a PC and a few network interface cards Can substitute for a midterm/final exam, or enhance your grade Grading Policy Grade components & relative weights: Class participants: 5% Assignments: 20% No group is allowed, must do the assignments independently Late turn-in accepted, but with penalties 1st midterm exams: 25% (chapters 1-4) 2nd midterm exams: 20% (chapters 5-6) Final exam: 30% (chapters 1-8) Exams are all closed-book closed-notes Optional project: can substitute one exam, or 25% extra Individual project A demo, detailed report, and source code required Do not cheat! Do not copy other student s homework, exams or project Do not copy someone else s work found on the Internet Including project implementation and report You can quote a sentence or two, but put those in quote and give reference You can build your project or homework on top of open source libraries, but again, you need to explicitly give acknowledgement and state clearly which parts are implemented by you -Wenbing Zhao 5 -Wenbing Zhao 6 Reference Texts Andrew S. Tanenbaum : Computer Networks 4th Edition, Prentice-Hall, 2003 Richard Stevens: Unix Network Programming: Volume 1 Sockets and XTI 2 nd Edition, 1998 Andrew S. Tanenbaum and Marten van Steen: Distributed Systems: Principles and Paradigms Prentice-Hall, 2002 Misc Instructor: Dr. Wenbing Zhao e-mail: w.zhao1@csuohio.edu Lecture hours: TTh 6:00-7:50pm Office hours: TTh 4:00-6:00pm and by appointment Networking Lab (SH 306) Upon request, I can create account on the lab machines for you Can remotely login Course Web site: http://academic.csuohio.edu/zhao_w/teaching/eec682.htm Lecture nodes and homework will be posted -Wenbing Zhao 7 -Wenbing Zhao 8

Introduction of Computer Networks Uses of computer networks Network Hardware Network software Definition of Computer Network Interconnected collection of autonomous computers Interconnected able to exchange info via copper wire, fiber, microwaves, satellites, etc. Autonomous act independently Single network vs. network of networks -Wenbing Zhao 9 -Wenbing Zhao 10 Computer Network vs Distributed System Distributed system - A collection of independent computers that appear to the users as a single coherent system software specifically designed to provide an integrated computing facility Two aspects (1) independent computers and (2) single system middleware Computer network User must handle network management explicitly Uses of Computer Networks Business applications Home applications Mobile users Social issues -Wenbing Zhao 11 -Wenbing Zhao 12

Business Applications of Networks Goals of using computer networks for business Resource sharing Provide powerful communication medium among employees Doing business electronically with other companies Doing business with consumers over the Internet (e-commence) Resource Sharing Resource sharing equipment, software programs, data Client-server model Server provides services for clients A network with two clients and one server. -Wenbing Zhao 13 -Wenbing Zhao 14 Client-Server Model The client-server model involves requests and replies. Home Network Applications Access to remote information WWW, online newspapers, sports news Person-to-person communication Instant messaging, chat room, peer-to-peer communication/file sharing Interactive entertainment Video on demand, game playing Electronic commerce Online banking, online auction, etc. -Wenbing Zhao 15 -Wenbing Zhao 16

Home Network Applications In peer-to-peer system there are no fixed clients and servers. Home Network Applications Some forms of e-commerce. -Wenbing Zhao 17 -Wenbing Zhao 18 Mobile Network Users Wireless network Portable office, military, taxis, trucks Fixed wireless, mobile wireless Combinations of wireless networks and mobile computing Future applications Wireless parking meters, vending machine inventory report, utility meter reading, merge of cell phones and PDAs, m-commerce, personal area networks and wearable computers Smart watches, smart dust Social Issues Offending content Copyright violations Spams Viruses Who is responsible? Network operator? Software provider? Users? What kind of control is appropriate? -Wenbing Zhao 19 -Wenbing Zhao 20

Network Hardware Classification by Scale No generally accepted taxonomy. Two dimensions Transmission technology Scale Transmission technology Broadcast links Point-to-point links (unicasting) Scale Personal area networks Local area networks Metropolitan area networks Wide area networks The Internet -Wenbing Zhao 21 -Wenbing Zhao 22 Local Area Networks LAN typically spans a room, a building or a campus LANs are distinguished from other kinds of networks by three characteristics Size restricted in size => worst-case transmission time is bounded Transmission technology typically using broadcast Static and dynamic broadcast channel allocation Topology Local Area Networks Two broadcast networks (a) Bus (b) Ring -Wenbing Zhao 23 -Wenbing Zhao 24

Metropolitan Area Networks MAN covers a city A metropolitan area network based on cable TV. Wide Area Networks Spans a large geographical area, often a country or continent Network structure in WAN Host or end system Collection of machines that run user (application) programs Communication Subnet connects hosts Two distinct components Transmission lines move bits (circuits, channels, trunks) Routers or switching elements that connect two or more transmission lines Two types of designs Point-to-point channels Broadcast channels -Wenbing Zhao 25 -Wenbing Zhao 26 Wide Area Networks Relation between hosts on LANs and the subnet. Wide Area Networks Point-to-point channels Store and forward or packet switch If no direct connection, must use intermediate switching elements where store packets until required output line is free and then forward Many different topologies ring, star, tree, irregular ring star tree irregular -Wenbing Zhao 27 -Wenbing Zhao 28

Wide Area Networks A stream of packets from sender to receiver. Wide Area Networks Broadcast channels Sent by one, received by all Address field specifies intended destinations Multicast if more than one destination When machine receives packet, checks address ignores if not for it Topologies bus ring satellite -Wenbing Zhao 29 -Wenbing Zhao 30 Wide Area Networks Broadcast channels Need to arbitrate simultaneous access to medium Two approaches A B C A B C Static Divide time into slots, use round robin strategy Waste channel capacity when nothing to send Dynamic Centralized bus arbitration unit decides who goes next Decentralized each machine decides for itself Wireless Networks Categories of wireless networks System interconnection Wireless LANs Wireless WANs -Wenbing Zhao 31 -Wenbing Zhao 32

Wireless Networks (a) Bluetooth configuration (b) Wireless LAN Wireless Networks (a) Individual mobile computers (b) A flying LAN -Wenbing Zhao 33 -Wenbing Zhao 34 Home Network Categories Computers Desktop PC, PDA, shared peripherals Entertainment TV, DVD, VCR, camera, stereo, MP3 Telecomm Telephone, cell phone, intercom, fax Appliances Microwave, fridge, clock, furnace, air conditioner Telemetry Utility meter, burglar alarm, babycam Network Software Protocol hierarchies / Network architectures Design issues for the layers Connection-oriented and connectionless services Service primitives The relationship of services to protocols -Wenbing Zhao 35 -Wenbing Zhao 36

Protocol Hierarchies Protocol hierarchies are organized into layers or levels with different protocols at each layer Each layer offers certain services to higher layers, hiding the details of implementation of those services Layer n on one machine communicates with layer n on another machine Interface between adjacent layers defines operations and services offered by lower layer to upper layer Protocol Hierarchies Layers, protocols, and interfaces. -Wenbing Zhao 37 -Wenbing Zhao 38 Network Architectures Protocol Hierarchies The philosopher-translator-secretary architecture. Network Architecture - A set of layers and protocols Must contain enough information for implementation Does not contain details of the implementation and specification of the interfaces It is not even necessary that the interfaces on all machines in a network be the same Protocol Stack - A list of protocols used by a certain system, one protocol per layer The subjects of network architectures, protocols stacks, and the protocols themselves are the principal topics of this course -Wenbing Zhao 39 -Wenbing Zhao 40

Protocol Hierarchies Example information flow supporting virtual communication in layer 5. Design Issues for the Layers Each layer needs Mechanisms for connection establishment and addressing Connection termination or release Rules for data transfer Simplex one direction Half duplex either direction, but not simultaneously Full duplex both directions simultaneously Number of logical channels and their priority Error control Error detecting and correcting codes Positive and negative acks Re-sequencing packets that arrives out of order -Wenbing Zhao 41 -Wenbing Zhao 42 Design Issues for the Layers Each layer needs Flow control Need to keep a fast sender from swamping a slow receiver Use feedback from receiver to sender Finite buffers Inability of receiver to accept arbitrarily long messages Use mechanisms for disassembling, transmitting, reassembling Multiplexing Several unrelated conversations between pair of communicating processes Routing Which route to use if there are several Connection-Oriented and Connectionless Services Connection-oriented service Modeled after telephone system establish connection before communication Some service allow a negotiation among sender, receiver and subnet regarding the parameters to be used, such as max message size, etc. Connectionless service Modeled after postal system a message carries full destination address, and each one is routed through the system independent of all the others Ordering of messages are not guaranteed -Wenbing Zhao 43 -Wenbing Zhao 44

Connection-Oriented and Connectionless Services Connection-Oriented and Connectionless Services Quality of service characterize each service Reliable service it does not lose data Implemented by having the receiver acknowledge the receipt of each message The acknowledgement process introduces overhead and delays Two variations Message sequences message boundaries are preserved Byte streams message boundaries are not preserved Example: file transfer Unreliable connectionless service datagram service No acknowledgement is used In analogy with telegram service Acknowledged datagram service Like sending a registered letter and requesting a return receipt Request-reply service used in client/server model Six different types of service. -Wenbing Zhao 45 -Wenbing Zhao 46 Service Primitives Five service primitives for implementing a simple connection-oriented service. Service Primitives Packets sent in a simple client-server interaction on a connection-oriented network. -Wenbing Zhao 47 -Wenbing Zhao 48

Relationship of Services to Protocols Relationship of Services to Protocols Services and protocols are distinct concepts A service is a set of primitives (operations) that a layer provides to the layer above it Defines what operations the layer is prepared to perform on behalf of its users How service is implemented is not revealed (hidden) Relates to an interface between two layers, with lower layer being the service provider and the upper layer being service user A protocol is a set of rules governing the format and meaning of the packets, or messages that are exchanged by the peer entities within a layer Entities use protocols to implement their service definitions Different protocol could be used to provide the same service Protocol and service are completely decoupled The relationship between a service and a protocol. -Wenbing Zhao 49 -Wenbing Zhao 50