7010INT Data Communications Lecture 2

Similar documents
04/03/33. Dr.Gihan Naguib. Overview. Dr.Gihan Naguib Behrouz A. Forouzan Data communications and Networking

Data Communication and Network. Introducing Networks

ITEC 3800 Data Communication and Network. Introducing Networks

Lecture (02) Network Protocols and Standards

Digital Communication Networks

Computer Network Fundamentals (IT 221)

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

Networking Applications

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

Lesson 1: Network Communications

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

Revision of Previous Lectures

EEC-484/584 Computer Networks

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

UNIT IV - COMPUTER NETWORK DEVICES AND OSI LAYERS

Chapter 15 Networks. Chapter Goals. Networking. Chapter Goals. Networking. Networking. Computer network. Node (host) Any device on a network

Chapter 2 Network Models 2.1

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

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

ES623 Networked Embedded Systems

E-Commerce. Infrastructure I: Computer Networks

The Client Server Model and Software Design

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

networks List various types of networks and their

COMPONENTS OF DATA COMMUNICATION

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

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

Introduction and Layered Network Architecture. EEE 538 Dr. Nail Akar Bilkent University Electrical and Electronics Engineering Department

Computer Networks (Introduction to TCP/IP Protocols)

Communicating over the Network

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

Computer Networks Question Bank

Computer Network : Lecture Notes Nepal Engineering College Compiled by: Junior Professor: Daya Ram Budhathoki Nepal Engineering college, Changunarayan

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

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

CS-461 Internetworking. Dr. Mohamed Aboutabl

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

Data & Computer Communication

INTRODUCTION TO ICT.

Network Topologies & LAN,MAN and WAN. By: Mr. Binesh Kr. Singh. What is Topology

Computer Networking. Chapter #1. Dr. Abdulrhaman Alameer

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

Review of Network Technologies

TYPES OF COMPUTER NETWORKS

M242 COMPUTER NETWORS AND SECURITY

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

Networking interview questions

Discussion Chapter#1

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

UNIT 1. Advantages of Computer Networks

Copyleft 2005, Binnur Kurt. Objectives

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

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

Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS

Operating Systems CS 571

Some previous important concepts

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

Chapter -4 OSI Reference Model

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

Introduction to Networking

The History and the layers of the OSI Model 30 - October

Networking Models OSI Model Created by International Organization Standardization

CS321: Computer Networks Introduction to Computer Networks and Internet

Computer Communication Networks Lecture No. 1

Chapter Two. The OSI Model

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

Outline: Connecting Many Computers

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

OSI ISO, OSI Reference Model

1: Review Of Semester Provide an overview of encapsulation.

CHAPTER -1. Introduction to Computer Networks

Computer Network Architecture

Introduction to Wireless Networking ECE 401WN Spring 2008

Network Protocols. Terms you ll need to understand: Techniques you ll need to master:

Chapter 2 Network Models 2.1

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

The Internet software layers

Chapter 16 Networking

DATA COMUNICATION AND NETWORKING 1.1 Introduction

Lecture-4. TCP/IP-Overview:

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

COS 140: Foundations of Computer Science

BROADBAND AND HIGH SPEED NETWORKS

Module 15: Network Structures

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

Internetworking Concepts Overview. 2000, Cisco Systems, Inc. 2-1

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

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

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

Silberschatz and Galvin Chapter 15

UNIT 1 INTRODUCTION TO COMPUTER NETWORKS

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

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

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

Chapter 2. Communicating Over The Network

Overview of Networks

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

Computer Networks รศ.ดร.อน นต ผลเพ ม. Assoc. Prof. Anan Phonphoem, Ph.D. Kasetsart University, Bangkok, Thailand

Network Model: Each layer has a specific function.

Transcription:

Lecture Outline 7010INT Data Communications Lecture 2 Basic Concepts Introduction to ing Models eference: Forouzan chapters 1, and 2. Types of networks: LANs WANs - MANs Switching directing traffic. Models (OSI and TCP/IP or Internet Model ) why we need them. Dr. uben Gonzalez School of Information Technology Connections Transmission Modes devices can be connected to each other Via a cable (wired) Over the air (wireless) ow many devices are connected together defines the type of network configuration. Two possibilities: Point-to-point Multipoint (broadcast) efers to the direction of transmission between two connected devices. Three possibilities exist: Simplex One way communication only alf-duplex One way at a time Server Direction of Data at all times Simplex Transmission Direction of Data at t1 Client devices can talk to each other in different ways called Transmission Modes Full-Duplex Communication in both directions simultaneously. Direction of Data at t2 alf-duplex Transmission Direction of Data at all times Full-Duplex Transmission

Point-to-Point Configuration Point-to-point connections provides a dedicated link between two devices. Each device can communicate only with those that are directly connected to it. Mainframe Multipoint Configuration In multipoint networks many devices share a single link or communication medium When a message is sent every device on the network hears it but only the intended recipient listens to it Because all nodes are attached to the same media, all must either fight for their turn to speak (contention) or wait to be granted a turn (token passing or controlled access). Internet Internet To communicate with other computers not directly connected they must do so via intermediate nodes (like the children s whispering game) Special Case: Satellite s Node to satellite: point to point Satellite to node: broadcast Point-to-point Switched s In a large network (eg worldwide) we need to allow connection between any two arbitrary nodes, but we can t use multipoint configuration with large numbers of nodes The solution is to connect individual devices and multipoint networks using intermediate devices called switches or multipoint routers. Communication between any two nodes can involve passing through several switches Two main types of switching circuit switching packet switching

Circuit Switching Permits any two network devices can talk together at any one time like telephones Creates a dedicated physical point-to-point connection to exist between the devices for the duration of the communication Data travels in a continuous stream of bits Advantages: Secure, most suitable for continuous (streaming or realtime) data Disadvantages Inefficient for typical (non audio-video) data Packet Switching Any device can simultaneously connect to any number of other devices in the network Data is broken up into packets before transmission No dedicated physical connection is created during the transmission Each packet can take a different path to reach its destination Each link is shared by packets from all other devices Advantage: More efficient for typical computer data communications Disadvantage: arder to secure, less suitable for continuous data Circuit vs Packet Switching Topology Circuit Switching All data follow the same path for the entire duration of the communication Each packet travels independently. Several paths possible during one communication. The topology of a network is the way in which it is laid out either physically or logically. Five basic types of wired networks: Mesh Star Tree Bus ing Switch position does not change for the entire duration of the communication. Switch position changes for every packet arriving at switch. Packet Switching Four basic types of wireless networks Fixed Wire eplacement Point-to-Point Mobile-to-fixed network Mobile-to-mobile networks

Mesh s Each device has a point-to-point link to every other device. A fully connected mesh network with n devices has n( n 1) 2 links. Each network device must have (n 1) I/O ports Advantages: No traffic problems obust Privacy & security Simple fault identification and isolation Disadvantages: Wiring bulk ard to manage & Inflexible Expensive to set up Star s Each device has a dedicated point-to-point link to a central controller or hub (* called a LAN switch but not the same as a LAN hub). The hub controls all traffic by switching individual devices in or out. Advantages: Cheaper than mesh Switch Flexible obust to single node or link failure Disadvantages: ub failure disables entire network More cabling used than for some other topologies Tree s Also use point-to-point connections but don t rely on a centralised controller but rather a network of switches. If a switch can not resolve a destination then the message is transferred up to the next highest switch. If the destination can be resolved the message is moved down the appropriate branch, to the next level switch, until the destination is reached. Advantages (as for star plus): Larger networks can be built (more nodes over larger distances) Can isolate/group together sections of the network Disadvantages (few) ub ub ub ub Bus s Multipoint configuration: all devices connected to a single backbone cable, there is no central controller. Instead, each node has equal access to broadcast data onto a shared channel Advantages: Failure of any one device does not shut network down elative ease of installation & modification Less cabling required Disadvantages: Limited backbone length, number & distance between taps Backbone failure causes complete network failure Tap Fault isolation difficult Terminator Drop line

ub s These are a variation of the bus topology, but it looks like a star because the wiring is collapsed into a central unit ubs can also be connected in a hierarchical way to form a tree topology. The combined topology acts like a single bus network or an interconnected set of bus networks Advantages: Same as bus network ubs are cheap Disadvantages: Same as bus network ubs are slow Tap Drop line ub Terminator ing s Each node has a dedicated point-to-point connection to only two other nodes (one either side). Eliminate switching altogether by routing all traffic in a circle from device to device. The cable is connected to form a closed loop Signals are passed from one node to the next in one direction. Advantages: Fast, no hubs to slow things down. Disadvantages: Break in the ring can disable the entire network. Solution: use a double ring or isolation switches. Token ing? ybrid Topologies Dear Token ing user, ecent changes in the Token ing market urge the necessity to migrate from Token ing to Ethernet. No LAN vendor actively supports Token ing equipment anymore and the last two months, Token ing interface cards are almost doubled in price and the delivery terms even tripled!! It is clear that all the LAN-equipment manufacturers shifted their efforts to Ethernet and that you can no longer expect any investment and thus new development in the Token ing technology. Staying with Token ing becomes a serious business risk!! Yours truly, Erwin Dirckx Managing Director COMMswitch NV Larger networks often combine several topologies connected via a central hub or backbone. Bus ub ing Star ub Send mail to webmaster@commswitch.be with questions or comments about this web site. Copyright 1999 COMMswitch NV Last modified: may 7, 2001 Source: http://www.commswitch.be/event_tokeningeng.htm

Internetworks s of networks. Connection via internetworking devices (outers & Gateways) Note distinction between an internet and the Internet. MAN LAN LAN LAN LAN MAN MAN LAN Wireless s Fixed Wire eplacements Used as an extension to existing LANs Limited range such as a room or building Wireless base station connected to LAN cable Point-to-Point Often used as part of a LAN backbone Normally a microwave link between two buildings Mobile-to-fixed network (Nomadic access) Used for long-range wireless data communication Free roaming - not confined to particular cells Mobile-to-mobile networks (Adhoc) These are standalone peer-to-peer networks not connected to any other network and temporarily set up for immediate needs Categories of s Three categories of network: Local area network (LAN) Metropolitan area network (MAN) Wide area network (WAN) The categories are distinguished by: Dimensions (physical separation & number of nodes) Ownership architecture. Local Area s (LANs) LANs mainly designed for computers to share resources such as printers, fileservers etc. s up to 100 s of devices in a single office, or building. A LAN will generally use only a single type of transmission medium. Most common LAN topologies: bus, ring & star. Data rates range from 10Mbps to 100Mbps. Usually privately owned & operated Single building LAN

Backbone s A larger, central network connecting several LANs, Typically span up to several kilometers Typical data rates from 64 Kbps to 45 Mbps Usually privately owned & operated Metropolitan Area (MAN) Extend over an entire city (5-50 kms). Mainly used for interconnecting private LANs and BNs located in different areas to each others Supports data rates of 100 to 1000 Mbps. Normally owned and operated by someone else: an independent or government service provider. Multiple building LAN backbone Public Public Carrier Carrier Wide Area (WAN) Extends over a large geographical area (entire country, continent or globe) Makes use of public carrier transmission media such as Leased lines Public switched data network (PSDN) / ISDN WANs that are wholly operated by a single company sometimes referred to as an enterprise network Supports data rates of 28.8 Kbps to 2 Gbps. Models During mid 70 s proprietary networks were proliferating but they were largely incompatible with each other. A number of organisations developed a range of standard protocols to ensure network inter-operability. ISO APA IEEE Since protocols have to define many different types of services for the network, these are broken down into layers. Each layer builds on the services of the layer underneath it, to provide more advanced functionality.

ISO & the OSI eference Model ISO - the International Standards Organisation OSI Open Systems Interconnection model. The OSI model developed in the 1978s & 1984s Consists of seven (7) distinct layers To help remember the layers and their order: Please Do Not Touch Steven s Pet Alligator h y s i c a l a t a L i n k e t w o r k r a n s p o r t e s s i o n r e s e n t a t i o n p p l i c a t i o n Software ardware / Software ardware OSI Layers User support layers support layers User support layers Defines what messages are sent layer Ensures reliable end-to-end transmission support layers Electrical specs connections Addressing of packets When to send packets Error handling Layers communicated between each other via interfaces. Communication Using the OSI Layers The Layer Intermediate Node The physical layer is responsible for ensuring that a stream of bits are transmitted between two nodes sharing a single link 7 6 5 4 2 1 Peer-to-peer processes The physical layer coordinates all the functions required to transmit a bit stream over a physical medium. It defines: characteristics of interfaces/connectors and media. epresentation of bits: how raw data (0s & 1s) are encoded (transformed) into signals (electrical or optical). Data rate: the number of bits transmitted per second. Synchronisation of bits between sender & receiver. Line configuration: multipoint or point-to-point. topology: mesh, star, tree, ring or bus. Transmission mode: simplex, half-duplex or full-duplex.

Layer Examples The Layer The data link layer is responsible for ensuring that a packet of data is successfully transmitted between two adjacent nodes in the network The data link layer attempts to make the physical layer appear error free to the layers above it in the model as well as controlling node-to-node delivery. Amplitude 1 sec = 8 bit intervals bit rate = 8 bps 1 0 0 1 1 0 1 0 Bit interval 1 Time (secs) It defines: Access control: deciding when a device connected to the link can transmit at any given time (who gets to talk when). Framing: Identifies the start and end of each packet and which part of the packet is the address. Addressing: the address of the next node along the route to the intended final destination. Error control: mechanisms for detecting and recovering from transmission errors. Flow control: prevents the network or receiver from being swamped by controlling the release of data at the source. Picture Source: Fast User s Guide, Cabletron Systems, 1996 Layer Example The Layer The network layer is responsible for getting an individual packet of data from the source computer to the destination computer. 67 7 142 15 4 eader 4 67 Data T Trailer The responsibilities of the network layer: Logical addressing: translates source and destination addresses in ones that can be understood across all connected networks. outing: determining which path to take from source to destination (most important when there are multiple possible routes). Source Address Destination Address

Layer Example NOTE: reversed packets The Layer The transport layer is responsible for getting the entire message from the source process to the destination process reliably. Trailer eader The transport layer manages end-to-end delivery between communicating software processes. esponsibilities of the transport layer include: Segmentation and reassembly (packetising). Breaking up the message into packets of data at the source and reassembling them at the destination and numbering the packets. Service-point addressing: ensuring that the message reaches the correct process (running program) at the destination by assigning service point (or port) addresses to the message. Flow control: similar to data link layer except end-to-end. Error control: similar to data link layer except entire message at the final destination not single packets. Connection control: establishes end-to-end connections if required. Split into Packets Trailer Layer Example J = Sender Port Address Add network addresses k = eceiver Port Address eassemble Message eader The Layer The session layer allows two communicating processes to co-ordinate the exchange of data. This establishes, maintains and synchronises the interaction between two communicating processes. Its responsibilities include: Dialog control: Allows two systems to enter into a dialog defining whether communication is half-duplex or full-duplex. Synchronisation: Allows a process to define synchronisation checkpoints in the message. This makes error/disaster recovery more efficient (eg can prevent having to resend an entire file when the link goes down).

The Layer The presentation layer formats the data for interoperability, security and efficiency of transmission. This layer deals with the syntax and semantics of the information being exchanged between the communicating systems. It is responsible for: Translation: from machine specific character sets and data formats to generic character sets (egs unicode, ascii). Encryption: for security purposes. Compression: to minimise the amount of bits needing to be transmitted and so reduce delivery time. The Layer The application layer is the interface between the user and the network Allows the user (human or software) to access the network. Services provided by the application layer include but are not limited to the following: virtual terminal: emote software access to a physical terminal. Instant messaging such as chat. File transfer, access and management (FTAM). Allows a user to access, retrieve and manage file on a remote computer. Mail services: control email exchange (X.400). Directory services: distributed database sources and access to global information (X.500). Communication Through Layers Summary: OSI Model Layers Defines what message to send eader eader eader 4 5 6 Layer Data Layer Data Layer Data Layer Data Layer Data Layer Data 011010010101000010101001111010 T 4 5 6 Layer Data Layer Data Layer Data Layer Data Layer Data Layer Data 011010010101000010101001111010 T Defines the format of the message Defines when messages can be sent Sends entire message across network Sends a data packet across network Sends a data packet connected devices Sends individual bits connected devices

Internet Model: TCP/IP Protocol Suite The TCP/IP Protocol Stack istory: US DoD s APA (Advanced esearch Project Agency) funded a project to investigate the possibility of creating a nuclear war proof network. They connecting computers via a new technology called packet-switching and the resulting network grew to become what we now call the Internet. A series of protocols were developed in conjunction with the Internet. The two most popular being Transmission Control Protocol (TCP) and Internetworking Protocol (IP). OSI Layers Layer SMTP FTP TELNET DNS TTP TCP Internet Model Layers Layer UDP IGMP ICMP IP Layer AP AP Protocols defined by underlying networks Internet Model Layers Message Packet Datagram Frame + bits TCP/IP vs OSI Models OSI OSI is strictly a model with no implementation OSI is virtually unused today OSI is a copyrighted, de jure standard Because TCP/IP is older than OSI, the layers don t correspond exactly. TCP/IP TCP/IP is a protocol suite with an associated stack TCP/IP is in widespread use TCP/IP is a de facto, free standard TCP/IP is the basis of the Internet Internet Logical Control Medium Access Ctrl

Tutorial/eview Questions Chapter 1 all review questions Chapter 2 all review questions Also: What are the two forms of switching discussed in this lecture? Which form of switching uses the entire capacity of a dedicated link? Which form of switching is the most appropriate for the following applications: Voice conversation Internet data transmission Secure, fast data transmission Video conferencing