CEN 444 Computer networks

Similar documents
Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS

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

Dr./ Ahmed Mohamed Rabie Sayed

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

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

TYPES OF COMPUTER NETWORKS

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

Computer Networks and Internet

It is the process of sharing data, programs, and information between two or more computers.

VISUAL SUMMARY COMMUNICATION CHANNELS COMMUNICATIONS. Communications and Networks

Local Area Network(LAN)

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

Chapter 9 Introduction to Networks

Types of Computer Networks. ICS 614: Computer Networks Concepts and Principles 11

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

CEN 444 Computer networks. Dr. Mohamed Abd-Eldayem

16/06/56. Communications and Networks. Communications and Networks. Communications and Networks

Prepared by Agha Mohammad Haidari Network Manager ICT Directorate Ministry of Communication & IT

INTRODUCTION TO ICT.

Discovering Computers Chapter 9 Communications and Networks

Networks: Communicating and Sharing Resources

What is a Network? A connection of two or more computers so that they can share resources.

Computer Networking Fundamental EC301 Introduction to Networking

Chapter 9. Introduction. Communications

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

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

Communications and Networks The McGraw-Hill Companies, Inc. All rights reserved.

E-Commerce. Infrastructure I: Computer Networks

COMPUTER TECHNIQUE. ( Vocational Stream ) Paper : V. ( Computer Network ) ( Theory )

Communication Networks - 3 general areas: data communications, networking, protocols

EEC-484/584 Computer Networks

Area Covered is small Area covered is large. Data transfer rate is high Data transfer rate is low

M242 COMPUTER NETWORS AND SECURITY

Computers Are Your Future Eleventh Edition Chapter 7: Networks: Communicating & Sharing Resources

Networking interview questions

COMPUTER NETWORKING. By: Dr. Noor Dayana Abd Halim

Chapter 12. Network Organization and Architecture

COMPONENTS OF DATA COMMUNICATION

IT 2004 Data Communication & Networking

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

Data Communication and Network. Introducing Networks

CHAPTER 8 NETWORKS: COMMUNICATING AND SHARING RESOURCES

Chapter 16 Networking

ITEC 3800 Data Communication and Network. Introducing Networks

Objectives Overview. Chapter 9 Networks and Communications. Discovering Computers Instructor: Imran Khalil MSc-IT 1 st semester Fall 2016

Data Communication & Computer Networks INFO

Introduction. Computer Networks Term B10

Introduction to Networking

Introduction to Computer Science (I1100) Networks. Chapter 6

Computer Communication Networks Lecture No. 1

Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

Computer Networking. Chapter #1. Dr. Abdulrhaman Alameer

Pengantar Teknologi Informasi dan Teknologi Hijau. Suryo Widiantoro, ST, MMSI, M.Com(IS)

Chapter Topics Part 1. Network Definitions. Behind the Scenes: Networking and Security

Network Definition A network can be defined as two or more computers connected together in such a way that they can share resources.

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


Communications and Networks

Transfer of data from one device to another via some form of transmission medium.

Local Area Networks (LANs): Packets, Frames and Technologies Gail Hopkins. Part 3: Packet Switching and. Network Technologies.

COMPUTER SKILLS COMP101

Computers: Tools for an Information Age. Chapter 7 Networking: Computer Connections

Data Communication. Introduction

1 Q1. Attempt any THREE 09 1 Give the difference between Human Network and

Chapter 8 Networking and Digital Communication

UNIT IV - COMPUTER NETWORK DEVICES AND OSI LAYERS

Class X Subject : IT (Vocational) Chapter -1 Ouestion / Answer

GAYATRI COMPUTERS Prepared by : VENKAT.G 1. Module 1: NETWORK BASICS

Lenuţa Alboaie Computer Networks

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

Typical Network Uses

Different network topologies

Introduction to Networking

DATA SECURITY MANAGEMENT. Chris Hare INSIDE. What is a Network? Network Devices; Hubs; Repeaters; Bridges; Routers; Switches; Network

SYLLABUS. Departmental Syllabus

DATA COMUNICATION AND NETWORKING 1.1 Introduction

Communication Technologies

BROADBAND AND HIGH SPEED NETWORKS

Computer Network??? Why Computer Networks? Network Classification. Introduction to Computer Networks. Classification of a Computer network by Scale

2. LAN Topologies Gilbert Ndjatou Page 1

Computer science..pharmacy college

Introduction to Computer Networks. Budditha Hettige

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

Introduction. Computer Networks: Introduction 1

Technology in Action. Chapter 12 Behind the Scenes: Networking and Security. Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Chapter 4: Network Access

COMMUNICATIONS AND NETWORKS

Computer Network Architecture

2) A is any device connected to a network such as a computer, printer, or game console. A) packet B) node C) NOS D) NIC

06/02/2006. Local & Metropolitan Area Networks 1. INTRODUCTION. Why Study Local and Metropolitan Area Networks? ACOE322. Lecture 1 Introduction

Computer Networks Question Bank

Lesson 1: Network Communications

Department of Industrial Engineering. Sharif University of Technology. Contents: The role of managers in Information Technology (IT)

Networks: Communicating and Sharing Resources

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

Technology in Action. Chapter Topics. Participation Question. Participation Question 8/17/11. Chapter 7 Networking: Connecting Computing Devices

An electronic transmission of information that has been encoded digitally for storage and processing by computers.

Computer Networks. Chapter 1 An Introduction to Networking

Transcription:

CEN 444 Computer networks Associate-Professor: Mohamed M. Abd-Eldayem Dept. of Comp. Engineering College of Computer and Information Sciences (CCIS) King Saud University Email: mdayem@ksu.edu.sa

Chapter Outline I. Communication Systems 1. Centralized 2. Distributed II. Intro. To Computer Networks 1. Needs and Definition 2. Objectives 3. Network Essentials 1. Types of computer networks 2. Network layout 3. Network technologies 4. Client-server and peer-to-peer models 4. Network features 1. Components 2. Classification of computer networks 3. protocols 5. Internet technology 2

I. Communication Systems Diversity of Applications Information (traffic) type Signal, data, audio, video Processing type request-reply, real time, secured Required performances rapidity, reliability, QoS : Quality of Service Types of Communication Systems Centralized Communication Systems Distributed Communication Systems 3

I. Communication systems 1. Centralized communication systems Central unit (processor) Queuing tasks to be executed, Manage these tasks, sequentially, concurrent, mixed Disadvantages high cost (performance) bottleneck (Center Point of Failure) Incapable to support requests, Incapable to offer desired performances. 4

I. Communication systems 2. Distributed Systems A distributed system is a set of computer processes that appear to the user as a single system. The distributed system must coordinate all of these processes. Distributed systems are implemented using middleware that creates a communication topology. 5

II. Intro. to Computer Networks Evolution of electronic devices, Apparition of computer science Telecommunications: new structure Last model: single computer not valid, doesn t satisfy all the processing needs. Current model: set of computers Separated, Interconnected, Executing different tasks. 6 Computer networks

1. What is a Computer Network? Computer Network is a set of computers connected together using a communication system. The purpose of computer network is for computers to communicate and share files. Data Networks is a digital networks used to send data between computers. Interconnection may be within a medium (networking medium) capable of communicating information. Medium (Media): is a physical medium in which data is transferred, for examples: Copper Wire (UTP) Lasers Microwave Satellite link Example of Networks: Ethernet 7

1. What is a computer network? Definition. Two or more computers or communication devices connected by transmission media and channels and guided by a set of rules for communication purposes that allow users to communicate with each other and share applications and data. Hardware: Computer Network card Routers Modem Media: Cable Wire Microwave Components of a Computer Network 8 Software: Network OS Utilities Network Design: Physical layout 8 Logical layout

2. Why use a network? 1. Exchange information 2. Share available resources Data, messages, graphics Applications Devices, e.g., hard drives, backups, printers, modems, fax machines Resources become available regardless of the user s physical location 9

2. Why use a network? 3. Load Sharing Jobs processed on least crowded machine 4. Centralized administration Installing and upgrading application software 5. Communication and collaboration Teleconferences, Human-to-Human Communication e.g., Telephone, IP telephony 6. High Reliability Alternative source of supply (multiple copies) 10

3. Network Categories Models (4) Client/Server Technologies (3) Ethernet Token Ring Transmission Control Protocol/Internet Protocol (TCP/IP) Wireless Application Protocol (WAP) Peer-to-Peer Network OS Topologies (2) Bus Topology Ring Topology Types (1) Local Area Network (LAN) Metropolitan Area Network (MAN) Wide Area Network (WAN) 11 Star Topology OS: Operating System

3.1. Three major types of networks Local Area Network (LAN) Serves users within a confined geographical area (usually within a mile). Metropolitan Area Network (MAN) Covers a geographic area the size of a city or suburb. The purpose of a MAN is often to bypass local telephone companies when accessing long-distance service. Wide Area Network (WAN) Covers a wide geographical area, such as a state, a country, or many countries. Examples: Internet. 12

Local Area Network (LAN) An individual network usually spans a single geographical area, Providing services and applications to people within a common organizational structure, such as a single business, campus or region. A LAN is usually administered by a single organization. The administrative control that governs the security and access control policies are enforced on the network level. 13

Wide Area Network (WAN) When a company or organization has locations that are separated by large geographical distances, it may be necessary to use a telecommunications service provider (TSP) to interconnect the LANs at the different locations. Telecommunications service providers operate large regional networks that can span long distances. Individual organizations usually lease connections through a telecommunications service provider network. These networks that connect LANs in geographically separated locations are referred to as Wide Area Networks (WANs). Although the organization maintains all of the policies and administration of the LANs at both ends of the connection, the policies within the communications service provider network are controlled by the TSP. 14

Other Distinctions Metropolitan Area Network (MAN) Single urban area (city and its suburbs) Faster than long-distance WANs Still slower than LANs Personal Area Network (PAN) A person s body or desk area Storage Area Network (SAN) To link servers to shared storage devices Wireless Networks (WLAN) 15

3.2. Network Topologies Topology: The geometric arrangement of devices on the network. In general, devices can be arranged in a: Star Bus Ring Hierarchical Logical Topology: The map of devices on a network and how they communicate with one another, shows the flow of data on a network 16

3.2.1. Network Topologies: Star This arrangement connects all the network s devices to a central host computer (hub), through which all communications must pass. Adding and removing device in the hub is trivial All information must be sent through the hub to the devices Hub provides single point of inspection of all traffic through the topology Computer Printer 17 Hard disk drive If the hub fails then the entire system fails (Center point of failure) The hub can become overloaded and the system will experience slowdown

3.2.2. Network Topologies: Bus A single channel connects all communications devices. LAN (1 Km) Att. pt (Bus) Attachment unit to the bus is necessary for interconnection Limited number of computers Only one computer allowed to transmit information (master) broadcasting topology arbiter: access control mechanism 18

3.2.3. Network Topologies: Ring This arrangement connects the network s devices in a closed loop. Involves only one connection between any two nodes. Ring Successive point-to-point links In a classic ring topology, messages are passed from node to node around the ring in a specific direction. 19

3.2.4. Network Topologies: Hierarchical 1 st level Tree 2 nd level 3 rd level Mesh A Tree topology consists of root node that is connected to secondlevel nodes. The second level nodes are connected to a 3 rd level nodes... Full mesh topology: Connects all nodes together with a direct connection. Partial mesh topology: Only a subset of nodes are connected together. 20

3.3. Network Technologies Ethernet Can be used in star topology and tree topology Most popular: inexpensive, easy to install and maintain. Token Ring Can be used in ring topology Token-passing scheme to prevent collision of data. TCP/IP Uses packet switching technique for data transmission; Commonly used for Internet applications. 21 WAP Allows wireless devices to access the Internet and WWW; Meets increasing demands for wireless Internet access.

3.4. Network Models (1) Client/Server Model 22 Microcomputer users, or clients, share services of a centralized computer called a server. Client: Get services Server: Provide services The client-server model involves requests and replies. Principle: 1. Message from client (request to server) 2. Server achieves task(s) returns reply (result) ensures reliability

3.4. Network Models (2) Client/Server Model Pros: Very secure Centralized servers easy to manage Physically centralized Secure OS Better performance Centralized backups Reliability Simple job to do plus built in redundancy Cons: Require professional administration More hardware intensive 23

3.4. Network Models (3) Peer-to-Peer Model Computers on the network communicate with each others as equals and each computer is responsible for making its own resources available to other computers on the network (without having a central server). 24

3.4. Network Models (4) Peer-to-Peer Model Pros: Uses less expensive computer networks Easy to administer No NOS (network operating system) required Cons: Individual user performance easily affected Not very secure (no guarantee others will administer their resources properly) Hard to back up. 25

4. Network features Components (devices) Classification of computer networks Protocols 26

4.1. Components of a Network (1) Server A computer that provides services to other networked computers Client A computer in a client/server relationship, It gets services from server Media is a physical medium in which data is transferred Hardware/Software Network card, router, modem, hub, programs, soft tools, utilities Data Files to be shared by network computers Resources Peripherals, e.g., printers, to be used by network computers 27

4.1. Components of a Network (2) Media of Networking Coaxial cable Twisted pair cable Fiber optic cable Microwave Satellite link Cellular phones 28

4.1. Components of a Network (3) Transmission Modes Simplex Mode. One way of transmission Half-Duplex Mode. provides both directions, but only one direction at a time (not simultaneously). Full-Duplex Mode. allows transmission in both directions, simultaneously. 29

4.1. Components of a Network (4) Networking Hardware Workstations Servers Hubs Switches Bridges Routers Gateways 30

4.1. Components of a Network (5) Networking Hardware 31

4.2. Classification of computer networks (1) Communication networks Switched Com. networks point-to-point network Broadcast Com. networks Ethernet Packet radio network Satellite network Circuit-switched networks Telephone network Packet-switched networks 32 R. Ouni Connection-oriented networks X.25 ATM Frame rely Connectionless-oriented networks IP network 6/10/2012 1:28 AM

4.2. Classification of computer networks (2) Broadcast communication networks Bus Multi-access Ethernet Satellite Satellite network 33 R. Ouni Ring 6/10/2012 1:28 AM

4.2. Classification of computer networks (3) Switched (Point-to-point) communication networks Star Mesh 34 R. Ouni Tree 6/10/2012 1:28 AM

4.2. Classification of computer networks (4) Connection-oriented networks In order for two users to communicate a circuit or a connection has to be first established by the network. Specifically, the following three phases are involved: Connection establishment, Data transfer, and Disconnection. Examples: ATM, Frame Relay, MPLS 35 R. Ouni 6/10/2012 1:28 AM

4.2. Classification of computer networks (5) Connection-oriented networks Handshaking phase before transmitting data = Signaling step Get agreement (rate, maximal data size, loss rate, QoS ) Sender (source) Receiver (destination) Data to be transmitted Request to send (RTS) Clear to send (CTS) Available resources? Data transmission 36 R. Ouni Data reception Time 6/10/2012 1:28 AM

4.2. Classification of computer networks (6) Connectionless-oriented networks In an IP network, a user can send packets to a destination without having to set up a connection first, i.e., without informing the network prior to transmitting them. This simplifies the network, as there is no need for a special signaling protocol. 37 R. Ouni 6/10/2012 1:28 AM

4.3. Protocols (1) Basically, a protocol is an agreement between the communicating parties on how communication is to proceed. It includes the rules and encoding specifications for sending data. The protocols also determine whether the network uses a peer-to-peer or client/server model. The key elements of a protocol are: Syntax. includes such things as the data format, coding and signal levels. Semantics. includes control information for co-ordination and error handling. Timing. includes speed matching and sequencing. 38 38

4.3. Protocols (2) New Layered Network Architecture (model in layer) To reduce their design complexity, Most networks are organized as a stack of layers or levels, Each one built upon the one below it. The number of layers, the name of each layer, the contents of each layer, and the function of each layer differ from network to network. The purpose of each layer is to offer certain services to the higher layers, shielding those layers from the details of how the offered services are actually implemented. In a sense, each layer is a kind of virtual machine, offering certain services to the layer above it. 39 39

4.3. Protocols (2) Layered Network Architecture (model in layer) Network architecture: A set of layers and protocols. The higher layer includes the application level, Below layer 1 (physical layer) is the physical transmission medium through which actual communication occurs, Interface: Defines which primitive operations and services the lower layer offers to the upper layer, Protocol stack: A list of protocols used by a certain system, one protocol per layer. Interface 2 Interface 1 Layer 3 (process 3) Layer 2 (process 2) Layer 1 (process 1) Protocol stack 40

4.3. Protocols (3) Why protocol and network architectures? Computer S Computer D Send file Source Destination : MAN, WAN Communication network Receive file Information meets many processing types: transmission, media, reception, extraction Layer 3 Message (English) Message (French) Layer 3 Layer 2 Translate Translate Layer 2 Layer 1 Secretary (fax) Secretary (fax) Layer 1 41

4.3. Protocols (4) Service Primitives A service is formally specified by primitives (operations) available to a user (or other entity) to access the service. These primitives tell the service to perform some action (or report) on an action taken by a peer entity. Four classes of service primitives: Primitive Request Indication Response Confirm Meaning An entity wants the service to do some work An entity is to be informed about an event An entity wants to respond to an event The response to an earlier request has come back 42

4.3. Protocols (5) Service Primitives Entity A Entity B Request Indication Confirmation Response 43

4.3. Protocols (6) Service Primitives Example. Connection Establishment System A System B Layer N Layer N CONNECT.request CONNECT.confirm CONNECT.indication CONNECT.response Layer N -1 Layer N -1 44 Layer N of System A, requests layer N - 1 to establish a connection by requesting its service CONNET by issuing a CONNET.request primitive. This results in a message being send by the layer N - 1 entity in System A to layer N 1 in System B. The CONNECT service in layer N - 1 of System B notifies layer N of the establishment request by issuing a CONNECT.indication. Layer N uses the CONNECT.response primitive to tell layer N - 1 whether it wants to accept or reject the proposed connection. The layer N - 1 entity in System B sends a message to the layer N -1 entity in System A with the response of the layer N entity in System B. The entity in layer N - 1 of System A informs the requesting Layer N entity in a CONNET.confirm primitive of the outcome of the connection establishment.

4.3. Protocols (7) Service Primitives Services can either be confirmed or unconfirmed. In a confirmed service there is a request, indication, response, and confirm. Example. connection establishment. In an unconfirmed service, there is just a request and an indication. Example. data exchange on an established connection, which typically uses the primitives DATA.request and DATA.indication. 45

5. What is Internet Technology? What is an internet? Network of networks Intranet: A private version of the Internet (operates within the organization for internal purposes & can exist as isolated) What is the Internet? A global internet based on the IP protocol. A collection of com. Networks interconnected by bridges and/or routers. To what does Internet technology refer? Architecture, protocols and services 46

5.1. Internet devices End systems. A device attached to one of the Networks that is used to support end-user applications or services. Intermediate system (IS). A device used to connect two networks and permit com. between end systems attached to different networks. Bridge. An IS used to connect two LANs that use similar protocols. Router. An IS used to connect two networks that may and may not be similar. 47

5.2. Sample Internet Applications Electronic mail Remote terminal File transfer Newsgroups File sharing Resource distribution World Wide Web Video conferencing Games 48

5.3. Impact of the Net on People Access to remote information HW assignments from my server Person to person and group communication email, collaborative tools Interactive entertainment Corporate video, news clips 49

5.4. Impact of the Net on Society The good Access to information, e-commerce The bad drudge report, gossip, too much information, jenny cam The ugly Fraud But, it is just a mirror of society 50

5.5. Internet Actors Users, people who use the applications Everyone (mom and pop, kids) get something done (hopefully useful) Designers You: protocol design and implementation performance, cost and scale Service Providers Administrators and ISPs (Internet Service Providers) Management, revenue, deployment 51

5.6. Internet An internet is a group of networks linked together with routers in a way that allows an application program on any station on any network in the internet to be able to communicate with an application program on another station on any other network. Router Network 1 Network 2 52

Reference Slides, Dr. Ridha Ouni A. S. Tanenbaum Computer Networks, 4 rd Ed., Prentice-Hall, '03. Panko s Business Data Networks and Telecommunications, 4 th edition J. Kurose and K. Ross Computer Networking: A Top-Down Approach Featuring the Internet 1 st Ed., Addison-Wesley, 00 53