... Linear array. Tree. Near-neighbor mesh. Systolic array. Ring

Similar documents
COMPUTER NETWORKS CS CS 55201

COMPUTER NETWORKS CS CS 55201

EEC-484/584 Computer Networks

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

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

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

Data & Computer Communication

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

M242 COMPUTER NETWORS AND SECURITY

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

Digital Communication Networks

Local Area Network(LAN)

Ch. 4 - WAN, Wide Area Networks

Introduction to Open System Interconnection Reference Model

Chapter 16 Networking

Chapter 11: Wide-Area Networks and the Internet

CS-461 Internetworking. Dr. Mohamed Aboutabl

Introduction to Protocols

TYPES OF COMPUTER NETWORKS

Chapter -4 OSI Reference Model

CS 428/528 Computer Networks Lecture 01. Yan Wang

COS 140: Foundations of Computer Science

Operating Systems CS 571

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

Networking interview questions

Data Transport Networks

Internet Architecture and Protocol

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

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

EE Prof. John A. Copeland

TCP/IP THE TCP/IP ARCHITECTURE

Bridging and Switching Basics

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

Computer Networks. Introduction to Network. Dr. Adel Gaafar Abd Elrahim

Computer Networks (Introduction to TCP/IP Protocols)

Silberschatz and Galvin Chapter 15

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

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

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

Multimedia Systems. Networks WS 2009/2010

Contents. Introduction to Networking. Preface...i. Introduction... xix

Introduction to Networking

CCM 4300 Lecture 2 Computer Networks: Wireless and Mobile Communication Systems. Dr Shahedur Rahman School of Science and Technology

Lecture (02) Networking Model (TCP/IP) Networking Standard (OSI) (I)

Need For Protocol Architecture

Switching and Forwarding - continued

Switching and Forwarding - continued

Need For Protocol Architecture

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

Review of Network Technologies

Revision of Previous Lectures

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

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Outline: Connecting Many Computers

Chapter 12. Network Organization and Architecture. Chapter 12 Objectives Introduction Introduction

CMSC 611: Advanced. Interconnection Networks

CS610- Computer Network Solved Subjective From Midterm Papers

Networks: Access Management

Introduction. Communication

Chapter 7. Local Area Network Communications Protocols

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

Chapter 8 LAN Topologies

Lecture (02) The TCP/IP Networking Model

Networking Applications

Computer Networks. Andrew S. Tanenbaum

Communicating over the Network

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

ก ก Information Technology II

Chapter 1: Introduction

Lecture (02) The TCP/IP Networking Model

Typical Network Uses

CS1302 / Computer Networks

Lecture (02) Network Protocols and Standards

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

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

INTRODUCTION TO ICT.

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

Introduction to Wireless Networking ECE 401WN Spring 2008

Introduction to Networks

COMPUTER AND DATA NETWORKS

AppleTalk. Chapter Goals. Introduction CHAPTER

CHAPTER -1. Introduction to Computer Networks

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

ECE 650 Systems Programming & Engineering. Spring 2018

COMPONENTS OF DATA COMMUNICATION

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

Lecture (02, 03) Networking Model (TCP/IP) Networking Standard (OSI)

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

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

NetWare Protocols. Background. Technology Basics CHAPTER

Lecture 2. Computer Networks Models. Network Models 1-1

Local Area Networks and the Network Protocol Stack

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

BROADBAND AND HIGH SPEED NETWORKS

COMS Introduction to Computers. Networking

CS321: Computer Networks Introduction to Computer Networks and Internet

Introduction to Networks and the Internet

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

Transcription:

Computer Networks Architecture and Protocols Contents Supplementary Class Notes Operating System CS 43201 CS 53201... 1 Network Standardization... 8... 10 Network Protocols... 14... 17 æ A set of nodes èhostsè and a set of links ètransmission linesè. æ Two extreme conægurations: í Fully connected networks with N nodes. number of connections = NèN, 1è 2 í Star networks: with N nodes and an intermediate switch. Linear array Bus... number of connections = N Tree æ Most real networks have arbitrary topology. Near-neighbor mesh Topological Classiæcation æ Static networks í 1-D èbusè í 2-D ètree, stars, rings, mesh, etc.è í Multidimensional ècube, hypercubesè æ Dynamic networks í One or more switches are used. Ring Systolic array Operating Systems 1 of 20 Operating Systems 2 of 20

0 1 S 1 0 1 Star Completely connected 2 3 S 2 2 3 4 5 S 3 4 5 6 7 S 4 6 7 An example of an 8 x 8 single stage dynamic network Chordal ring 3-cube Operating Systems 3 of 20 Operating Systems 4 of 20 í Single node, data base management èlibraryè. Technological Classiæcation Computer Networks æ Circuit-switching networks í A dedicated path is used between a source and a destination. í No queuing í Example: telephone systems. æ Packet Switching í The message is divided into a number of slices called packets of certain æxed size. í Each packet has its destination address. í Queuing involved í Routing is needed í Errors involved æ Message Switching í The network receives the entire message, stores it in a secondary storage and then transmits it. í It provides a long term storage even after the message has been delivered. æ Non-Switching Networks. í Broadcast networks í Single node, data processingè1-800è. æ Wide Area Networks í Bandwidth is scarcest resources í Storeèforward used to ensure optimal bandwidth utilization í Burden on hosts and nodes to conserve bandwidth í Most WANs use point-to-point links except for satellite networks. æ Metropolitan Area Networks í Intended for interconnection of LANs í MANs typically span entire country. í Owned by multiple organizations. í Covers the entire city but uses LANs technology ècatvè. æ Local Area Networks í Unlimited bandwidth í Hosts are simple machines í Lighter burden on hosts í Most LANs use a multiaccess channel. í A diameter é a few km. í Total data rate of at least several Mbps. í Complete ownership by a single organization. Operating Systems 5 of 20 Operating Systems 6 of 20

Diæerence between LANs and WANs Network Standardization æ Designers of WANs are always forced by legal, economic or political reasons to use PSN regardless of it technical suitability. æ LAN cables are highly reliable. æ Error rate is 1000 times lower than WAN. æ In WANs, error handling must be done in each layer. æ In the early days, diæerent vendors had diæerent networks. æ Standards fall into two categories: í De facto standard æ Have just happened without formal plan. æ IBM PC, UNIX, DOS. í De Jure standard èby lawè æ Formal legal standards æ De Jure standards are two classes. æ A network consists of a series of levels called layers. æ A protocol is the rule of communication; each layer has its own protocol. æ Each computer andèor each application program in the computer may require a diæerent communication access method and protocol. í They setup a session through the network. í They must agree on the format. í Terminals must be able to regulate data rates í Packets may arrive out of order. í Those established by treaty among national governments, í Voluntary non-treaty organizations. Transmission Standards æ Voice transmission is still the most common mode of communications. æ All projections indicate that voice will continue to be the heaviest communications. æ AT&T in early 1960s introduced digital carrier system T1 í Consists of 24 channels at 64 Kbps per channel. í 1.544 Mbps. Operating Systems 7 of 20 Operating Systems 8 of 20 Network Standardization í US, Canada and Japan. æ CCITT has 30-voice channel at 2.048 Mbps èrest of the worldè. æ The great interest is transmitting packetized voice in real time. æ IBM SNA was one of the ærst layered architecture. æ OSI of ISO rapidly became an international standard. IEEE Standard 802 for LANs and MANs æ In layered architecture, Protocols must appear in every network node. æ The bottom 3 layers of OSI provide network services and the upper 4 layers provide services to the end users. OSI Layers æ IEEE 802 has been adopted by ANSI, NIST, and ISO æ IEEE 802.1 gives and introduction to the set of standards and deænes the interface primitives. æ IEEE 802.2 describes the upper part of the data link layer èllcè æ IEEE 802.3 describes CSMAèCD with its protocol. æ IEEE 802.4 describes token bus with its protocol. æ IEEE 802.5 describes token ring with its protocol. æ IEEE 802.6: Distributed Queue Dual Bus for MANs 1. Physical Layer æ Performs direct transmission of logical information into physical phenomena èelectronic pulsesè. æ Modulatorsèdemodulators are used at this layer. 2. Data Link Layer æ Makes sure that the message indeed reach the other end without corruption èsignal distortion and noiseè. æ Acknowledgments æ Detect duplications. æ Timers for retransmission. Operating Systems 9 of 20 Operating Systems 10 of 20

3. Network Layer 6. Presentation Layer æ Controls routes for individual message through the actual topology. æ Finds the best route. æ Finds alternate routes. æ Buæering and deadlock handling. 4. Transport Layer æ Locates the other party æ Creates a transport pipe between both end-users. æ Breaking the message into packets and reassembling them at the destination. æ Applies æow control to the packet stream. 5. Session Layer æ Is responsible for the relation between two end-users. æ Maintains the integrity and controls the data exchanged between the end-users. æ The end-users are aware of each other when the relation is established èsynchronizationè. æ It uses naming and addressing to identify a particular user. æ Makes sure that the lower layer guarantees delivering the message èæow controlè. æ It translates the language used by the application layer. æ It makes the users as independent as possible, then they can concentrate on conversation. 7. Application Layerèend usersè æ Where they process information that is being exchanged. æ The users don't want to be aware of the mechanism of the network. æ The users shouldn't be bothered by each other's language. Advantages of æ Any given layer can be modiæed or upgraded without eæecting the other layers. æ Modulazition by means of layering simpliæes the overall design. æ Diæerent layers can be assigned to diæerent standards, committees, and design teams. æ Diæerent mechanisms èpacket-switching, circuit-switchingè may be used without eæecting more than one layer. æ Diæerent machines may be plugged in at diæerent layers. æ The relation between diæerent control functions can be better understood. Operating Systems 11 of 20 Operating Systems 12 of 20 æ Common lower levels may be shared by diæerent higher levels. æ Functions èespecially at lower levelsè may be removed from software to hardware and microcodes. æ Increases the compatibility of diæerent machines. Disadvantages of Network Protocols TCPèIP æ Total overhead is higher. æ Two communicating machines may have to use certain functions which they could do without layers. æ As technology changes, the functions may not be in the most cost-eæective layer. æ Was developed to interconnect heterogeneous networks. æ IP resides between the Transport and Network layers of OSI model. æ In this position, IP remains hardware independent. Orientations Host A Host B æ Connection-oriented services Process Process í The sender pushes objects in at one end and the receiver collects them in the same order at the other end. í It was modeled after the telephone system. Request TCP Response Request TCP Response æ Connectionless-oriented services Send Deliver Send Deliver í It was modeled after the postal service IP IP í Packet could take independent routes í Packet could be received out of order. Reordering may be required. NAP-1 INternet NAP-1 í Datagrams NAP= Network Access Protocol Use of TCP/ and IP services primitives Operating Systems 13 of 20 Operating Systems 14 of 20

Network Protocols Network Protocols æ IP provides connection-less service between nodes or hosts. æ The order of datagrams received is not necessarily in the same order. æ Each datagram is individually routed æ IP can be operated across disjoint network services èconnection oriented or connection-lessè. æ TCP in coordination with IP provide routing, æow control, fragmentation, addressing, and error correctionèdetection. æ Each datagram has a life-time. A datagram can loop indeænitely. æ During its journey, a datagram can be continually downsized. æ Defragmentation is not performed at intervening gateways. æ IP does not deæne a standard packet size. Transmission Control Protocol, TCP æ Since IP is not reliable, TCP assumes that: í Segments may be lost or arrive somewhere with errors. í Segments may not be received in transmitted order. í Segments may be delayed at a variable rate which slows communications. æ TCP sends ACK for each segment it receives. æ If the sending TCP doesn't receive the ACK within a reasonable amount of time, it presumes the lost and res-send. æ TCP establishes a connection èsessionè between two sockets ènodesè, with two purposes: í To deæne all connection characteristics including security. í To allow for each TCP socket to maintain state information about the connection èlast sequence number used and received, and last sequence number acknowledgedè. æ TCP has been designed to service multiple processes' requests within a single node. æ Developed originally for use in Arpanet. æ TCP in conjunction with IP is a de facto standard for heterogeneous node communications. æ TCP resides in the Transport layer of the OSI model. æ TCP is a connection-oriented protocol. æ TCP operates as an intermediary between applications and the internetwork. Operating Systems 15 of 20 Operating Systems 16 of 20 æ So far, we assumed a single homogeneous network, with each machine using the same protocol in each layer. This is not realistic. æ Controversy: whether problems associated with heterogeneous networks will go away or we have to live with it. í LAN-WAN-LAN æ These connection use one or more of the following black boxes. í Repeaters at layer 1 í Bridges at layer 2 í Multiprotocol routers at layer 3 í Transport gateways at layer 4 í Application gateways allows internetwork above layer 4. æ For the time being variety of diæerent networks will be around for the following reasons. í The installed base of diæerent networks is large and growing. í All Unix shops run TCPèIP. í Many large businesses still have mainframes running SNA, DEC, etc. í Personal computer LANs often use Novell NCPèIPX or AppleTalk., etc. í ATM systems are starting to be widespread. í Specialized protocols are often used in satellite, cellular, and infrared networks. æ Within an organization èuniversityè, diæerent networks interact. í LAN-LAN í LAN-WAN í WAN-WAN Operating Systems 17 of 20 Operating Systems 18 of 20

Internet Protocol Hierarchy Asynchronous Transfer Mode èatmè HTTP FTP NV TFTP TCP UDP IP Ethernet FDDI ATM Fiber Channel æ Connection-oriented packet-switched network æ Used in both WAN and LAN settings æ Signaling èconnection setupè Protocol: Q.2931 æ Speciæed by ATM Forum æ Packets are called cells: 5-byte header + 48-byte payload æ Commonly transmitted over SONET èbut not necessarilyè Physical Medium: Fiber, Coax, Satellite links, etc. Plane Management Function æ There is no real structure, but several major backbones exist. æ Attached to the backbones are regional èmidlevelè networks. æ Attached to regional networks are the LANs at many places. æ The glue that holds the Internet together id the IP protocol. æ Its job is to provide a best way to transport datagrams from source to destination transparently. æ The transport layer takes data streams, breaks them into datagrams. æ Datagrams can be up to 64 KB, but in practice they are usually around 1500 bytes. Control Plane Higher Layers: Protocols and Functions Adaption Layer ATM Layer User Plane Higher Layers: Protocols and Functions Physical Medium Dependent Layer B-ISDN protocol Model for ATM (CCITT I. 121) Operating Systems 19 of 20 Operating Systems 20 of 20