Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 1.

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

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

CSCI Computer Networks

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

Computer Networks. Text Book By Larry L Peterson & Bruce S. Davie

A closer look at network structure:

CMPE 344 Computer Networks Spring Foundations. Reading: Peterson and Davie,

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

Computer Networks: A Systems Approach Fifth Edition Solutions Manual

Introduction. The fundamental purpose of data communications is to exchange information between user's computers, terminals and applications programs.

Data Networks. Lecture 1: Introduction. September 4, 2008

Introduction to Networks

JAMES F. KUROSE AND KEITH W. ROSS

BROADBAND AND HIGH SPEED NETWORKS

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

Computer Communication Networks

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

COPYRIGHTED MATERIAL INTRODUCTION AND OVERVIEW

Digital Communication Networks

ECE 650 Systems Programming & Engineering. Spring 2018

INTRODUCTORY COMPUTER

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

CSE3213 Computer Network I

CS 428/528 Computer Networks Lecture 01. Yan Wang

Applied Networks & Security

Physical Layer: Multiplexing, Spectrum Spreading and Switching. Covers Chapters# 06 & 08 from Text Book

Outline: Connecting Many Computers

CS519: Computer Networks

Overview of Networks

CSCD 433/533 Advanced Networks

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

ECE 650 Systems Programming & Engineering. Spring 2018

User Datagram Protocol

EEC-484/584 Computer Networks

Layer 3: Network Layer. 9. Mar INF-3190: Switching and Routing

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

PSD2A Computer Networks. Unit : I-V

CS3600 SYSTEMS AND NETWORKS

ETSF10 Internet Protocols Transport Layer Protocols

I. INTRODUCTION. each station (i.e., computer, telephone, etc.) directly connected to all other stations

UNIT-II OVERVIEW OF PHYSICAL LAYER SWITCHING & MULTIPLEXING

Review of Topology and Access Techniques / Switching Concepts

PLEASE READ CAREFULLY BEFORE YOU START

ECE 4450:427/527 - Computer Networks Spring 2017

Reminder: Datalink Functions Computer Networking. Datalink Architectures

COS 140: Foundations of Computer Science

PLEASE READ CAREFULLY BEFORE YOU START

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 5 - Part 2

Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

Table of Contents. Cisco Introduction to EIGRP

end systems, access networks, links circuit switching, packet switching, network structure

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

CMPE150 Midterm Solutions

CS 4453 Computer Networks Winter

CS457 Transport Protocols. CS 457 Fall 2014

Internet Architecture & Performance. What s the Internet: nuts and bolts view

Lecture (03) Circuit switching

Basic Concepts In Computer Networking

CSC 401 Data and Computer Communications Networks

>>> SOLUTIONS <<< Answer the following questions regarding the basics principles and concepts of networks.

UNIT- 2 Physical Layer and Overview of PL Switching

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Question 1 (6 points) Compare circuit-switching and packet-switching networks based on the following criteria:

4 rd class Department of Network College of IT- University of Babylon

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

Frequency: it refers to the number of periods in 1 s. It is formally expressed in Hertz (Hz)

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

CS321: Computer Networks Introduction to Computer Networks and Internet

Chapter 6. The Protocol TCP/IP. Introduction to Protocols

CS 716: Introduction to communication networks. - 8 th class; 17 th Aug Instructor: Sridhar Iyer IIT Bombay

Operating Systems CS 571

Tutorial 2 : Networking

Subject-Computer Networks, M.Sc.(CS) - III rd

TCP/IP and the OSI Model

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

COS 140: Foundations of Computer Science

COMPUTER NETWORK Model Test Paper

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Chapter 3: Network Protocols and Communications

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Network Security: Broadcast and Multicast. Tuomas Aura T Network security Aalto University, Nov-Dec 2011

Network Security: Broadcast and Multicast. Tuomas Aura T Network security Aalto University, Nov-Dec 2010

Goals. Fundamentals of Network Media. More topics. Topics. Multiple access communication. Multiple access solutions

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

CS 457 Networking and the Internet. Network Overview (cont d) 8/29/16. Circuit Switching (e.g., Phone Network) Fall 2016 Indrajit Ray

CSE 461 The Transport Layer

Chapter - 7. Multiplexing and circuit switches

The Transmission Control Protocol (TCP)

TCP/IP protocol suite

Wireless Networks (CSC-7602) Lecture 8 (15 Oct. 2007)

Lecture 2: Internet Structure

Objectives. Learn how computers are connected. Become familiar with different types of transmission media

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

Subject Data Communication. Subject Code 15CS46. Module 2 (Part 2) Multiplexing and Switching

What Global (non-digital) Communication Network Do You Use Every Day?"

Transcription:

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion Chapter 1 Foundation Eng. Haneen El-Masry February, 2014

A Computer Network A computer network is a telecommunications network that allows computers to exchange data. In computer networks, networked computing devices pass data to each other along data connections. Network computer devices that originate, route and terminate the data are called network nodes. The connections (network links) between nodes are established using either cable media or wireless media. Network = Nodes + Links 1.2.2 Scalable Connectivity Network can consist of two or more computers directly connected by some physical medium that can be Point to Point link or Multiple-Access link. 1- Point to Point Link The link is limited to a pair of nodes. 2- Multiple-Access Link More than two nodes share a single physical link. Disadvantages of Directly Connected Computers Network Networks would be very limited in the number of computers they could connect, or the number of wires coming out of the back of each node would quickly become both unmanageable and very expensive. The Solution is: Indirect Connected Computers. 2

Switched Network Host: the node that uses the network. Switch: the node that implements the network. Cloud to denote any type of network Switched Network Types: 1- Circuit Switched: Employed by the telephone system. Dedicated transmission path. Send the data as a single block. The source node sends a stream of bits across the dedicated circuit to a destination node. 2- Packet Switched: used for computer networks. No dedicated path. Nodes in such a network send discrete blocks (packets) of data to each other. 3

Use a strategy called store-and-forward: each node in a store-and-forward network first receives a complete packet over some link, stores the packet in its internal memory, and then forwards the complete packet to the next node. Router (Gateway): A node that is connected to two or more networks. Routing: The process of determining systematically how to forward messages toward the destination node based on its address. 1.2.3 Cost-Effective Resource Sharing Multiplexing: System Resources are shared among multiple users. Synchronous Time Division Multiplexing (STDM): The idea of STDM is to divide time into equal-sized quanta and, in a round-robin fashion, give each flow a chance to send its data over the physical link. Used in Circuit Switched Networks. Frequency Division Multiplexing (FDM): The idea of FDM is to transmit each flow over the physical link at a different frequency. Used in Circuit Switched Networks. 4

Disadvantages of STDM & FDM If one of the flows (host pairs) does not have any data to send, its share of the physical link that is, its time quantum or its frequency remains idle, even if one of the other flows has data to transmit. Both STDM and FDM are limited to situations in which the maximum number of flows is fixed and known ahead of time. Statistical Multiplexing: Data is transmitted from each flow on demand rather than during a predetermined time slot. Thus, if only one flow has data to send, it gets to transmit that data without waiting for its quantum to come around. It is this avoidance of idle time that gives packet switching its efficiency. To ensure that all the flows eventually get their turn to transmit over the physical link, Statistical multiplexing defines an upper bound on the size of the block of data that each flow is permitted to transmit at a given time. This limited-size block of data is typically referred to as a packet. 5

1.2.4 Support for Common Services Logical Channel is Application to Application communication path or a pipe that provides the set of services required by that application. Logical Channels Types: 1- Request/Reply channels Used by the file transfer and digital library applications. Guarantee that every message sent by one side is received by the other side and that only one copy of each message is delivered. Protect the privacy and integrity of the data that flows over it. 2- Message Stream channels Used by both the video on demand and videoconferencing applications. Might not need to guarantee that all messages are delivered. Need to ensure that those messages that are delivered arrive in the same order in which they were sent. Ensure the privacy and integrity of the video data. Need to support multicast, so that multiple parties can participate in the teleconference or view the video. For Reliability: See Dr. Slides (Slide # 15). 1.3 Network Architecture The 7-Layer Model (OSI architecture) Application Presentation Session Transport Network Data Link Physical 6

Internet (TCP/IP ) Architecture Application Transport Network Data Link Physical Notes: - Switch works at Data link and physical layers. - Router works at network, Data link and physical layers. DeEncapsulation For Details, See Dr. Slides and Text Book. 1.4 Implementing Network Software Socket is the point where a local application process attaches to the network and it is an interface between an application and the network. It has two types: 1- TCP Stream Socket: reliable two way connected communication streams. 2- Datagram socket: unreliable connectionless communication datagram. 7

1.4.1 Application Programming Interface (Sockets) Server socket() : create a new socket Bind (): binds the new created socket to a specific address that consists of the IP address of the server IP and a TCP port number listen() : defines how many connections can be pending on the specified socket. accept (): carries out the passive open: the server says that it is prepared to accept connections, but it does not actually establish a connection. Client Socket (): craete a socket Blocks until connection from client. connect () : carries out active open: the client establish a connection to the server. TCP Connection establishment and the server create a new socket specified for this connection. recv () : recieves data from the client. send () : sends the given message over the specified socket. send () : sends reply to the client. recv(): recieves the reply from the server. close() : closes the open socket close() : closes the open socket. 8

1.4 Performance Bandwidth (Data Rate): The number of bits per second that can be transmitted on the link, it is measured by bits per second(bps). Propagation Time (tp): The time that a signal needs to propagate from one end of a link to another. Tp = D/V (D: Link Length, V: Propagation velocity). Transmission Time (tr): The time needed to load all the packet into the link. Tr= L / R (L: Packet Size, R: DataRate) Queue Time: the time that network switches need to store packets for some time before forwarding them on an outbound link. Latency: the time needed to deliver a message completely. Round Trip Time (Rtt): The time needed for a small packet to travel from client to server and then back to the client. Rtt= 0.5 * tp Transfer Time: it is the latency in addition to connection establishment time. Throughput: The number of bits per second that we can actually transmit over the link in practice. throughput= Transfer size/ Transfer Time Delay Bandwidth: the maximum number of bits that could be in transit through the pipe at any given instant. Note: Delay in Delay Bandwidth is Rtt or one way Latency. 9

Exercises 9. Give an example of a situation in which multicast addresses might be beneficial. Video or audio teleconference transmissions among a reasonably large number of widely spread sites would be an excellent candidate: unicast would require a separate connection between each pair of sites, while broadcast would send far too much traffic to sites not interested in receiving it. Delivery of video and audio streams for a television channel only to those households currently interested in watching that channel is another application. 10. What differences in traffic patterns account for the fact that STDM is a cost-effective form of multiplexing for a voice telephone network and FDM is a cost-effective form of multiplexing for television and radio networks, yet we reject both as not being cost effective for a general-purpose computer network? FDM was preferred historically for TV/radio because it is very simple to build receivers; it also supports different channel sizes. STDM was preferred for voice because it makes somewhat more efficient use of the underlying bandwidth of the medium, and because Wishes channels with different capacities was not originally an issue. STDM and FDM both work best for channels with constant and uniform bandwidth requirements. For both mechanisms bandwidth that goes unused by one channel is simply wasted, not available to other channels. Computer communications are bursty and have long idle periods; such usage patterns would magnify this waste. FDM and STDM also require that channels be allocated (and, for FDM, be assigned bandwidth) well in advance. Again, the connection requirements for computing tend to be too dynamic for this; at the very least, this would pretty much preclude using one channel per connection. 10