Docsity

LECTURE NOTES ON COMPUTER NETWORKS, Exams of Network Technologies and TCP/IP

Partial preview of the text

Download LECTURE NOTES ON COMPUTER NETWORKS and more Exams Network Technologies and TCP/IP in PDF only on Docsity!

LECTURE NOTES

ON

COMPUTER NETWORKS

Dr.J.Vinoth kumar Assistant Professor/ECE SCSVMV University

UNIT- I

Introduction

An interconnected collection of autonomous computers is called a computer network. Two computers are said to be interconnected if they are able to exchange the information. If one computer can forcibly start, stop and control another one, the computers are not autonomous. A system with one control unit and many slaves is not a network, nor is a large computer with remote printers and terminals.

In a Distributed system , the existence of multiple autonomous computers is transparent(i.e., not visible) to the user. He can type a command to run a program and it runs. It is up to the operating system to select the best processor, find and transport all the files to that processor, and put the results in the appropriate place. The user of a distributed system is not aware of that there are multiple processors; it looks like a virtual uniprocessor. Allocation of jobs to processors and files to disks, movement of files between where they are stored and where they are needed, and all system function are automatic. With a network, users must explicitly log onto one machine, explicitly submit jobs remotely, explicitly move files around and generally handle all the network management personally. The distinction between Network and distributed system lies with software (OS) rather than software. In network user invokes, in distributed system the system invokes. A network is a set of devices connected by media links. Anode can be a computer, printer or any other device capable of sending and receiving data generated by other nodes on the network. The links connecting the devices are often called communication channels.

Networks use Distributed processing, in which a task is divided among multiple computers. Advantages of Distributed processing are

 Security/ Encapsulation  Distributed data bases  Faster problem solving  Security through Redundancy  Collaborative processing

Network Criteria

Network Structure

The end systems are called the HOSTS. The hosts are connected through a communication subnet or simply Subnet as shown in fig. The subnet consists of two parts: a) Transmission lines b) Switching elements. The Transmission lines transmit the raw bits. The Switching elements are specialized computers, which switches packets. This is called Interface Message Processor (IMP) or Router or data switching exchanges or packet switching nodes. The data can be transmitted through the subnet in two ways. They are a) Point to point or store and forward b) Broad casting

Network Architecture

To reduce the design complexity, most networks are organized as a series of layers or levels, each built upon on 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 However, in all networks 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.

Hosts

IMP

Subnet

Layer 4 protocol Layer 4

Layer 3 protocol (^) Layer 3

Layer 5

Layer 2

Layer 1

Layer 4

Layer n on one machine carries on a conversation with layer n on another machine. The rules and conventions used in this conversation are collectively known as the layer n Protocol. The entities comprising the corresponding layers on different machines are called Peers.

Layer 5 protocol

Layer 4/5 interface

Layer 3/4 interface

Layer 2/3 interface

Layer 2

Layer 1/2 interface

Layer 2 protocol

Layer 1 protocol

Layers, protocols and interfaces. The interface defines which primitive operation and services the lower layer offers to the upper one. A set of layers and protocol is called network architecture. Data transfer methods : a. Simplex communication: Data will be transferred in one direction only. Simplex transmission

Ex: Keyboards, Monitors b. Half -- duplex communication: Data will be transferred in both the directions, but not simultaneously.

Layer 3

A B

Physical Medium

Layer 1

Layer 5

Presentation protocol

Session protocol

Transport protocol Transport

Network Network Network

Data link (^) Data link Data link

Physical Host A (^) Host B

Physical Physical Physical

Data link

Network

Transport

Session Session

Presentation Presentation

Application Application

Application protocol

the message is unwrapped layer by layer, with each process receiving and removing the data meant for it.

Organization of the layers:

The seven layers can be thought of as belonging to three subgroups. Layers 1, 2, 3 – are the network support layers; they deal with the physical aspects of moving data from onr machine to another. Layers 5, 6, 7—can be thought of as user support layers: they allow interoperability among unrelated software systems. Layer 4,the transport layer, ensures end to end reliable transmission while layer 2 ensures reliable transmission on a single link. The upper layers are implemented almost always in software; lower layers are a combination of hard ware and software, where as physical layer is mostly hardware.

Layer Name of unitexchanged

Interface

The OSI reference model

FUNCTIONS OF LAYERS :

Functions of the Layers Physical Layer :

 Physical characteristics of interfaces and media  Representation of bits.  Data rate  Synchronisation of bits  Line configuration (point to point or multipoint)  Transmission Mode  Physical Topology

Data Link Layer :  Framing  Physical addressing  Error control  Flow control  Access control Network Layer :

  • Routing
  • Congestion control
  • Billing Transport Layer :
  • Service – Point addressing
  • Segmentation and reassembly
  • Flow control
  • Error control Session Layer : -Dialog control -Synchronization Presentation Layer :
  • Data encoding
  • Encryption
  • Compression

Suppose if we want to send the data, say, from A to D. before sending the data a circuit will be established between A to D as shown in fig with doted lines. All the data will follow the same path. After data is transferred the circuit will be disconnected. Circuit switching Virtual packet switching Propagation delay Propagation delay

call accept signal call accept signal

P

P

DATA

P

Ack signal Ack signal

P

P2 Packet switching

P

Packet switching will be done in two ways.

  1. Virtual Packet switching 2. Data gram Packet switching

Circuit switching Data gram packet Virtual packet Dedicated transmission No dedicated path No dedicated path Continuous transmission of data Transmission of packets Transmission of packets

Messages are not stored Packets are stored

Packets are stored until delivered Path will be established for entire conversation

Route will be established for each packet.

Route will be established for entire conversation Fixed bandwidth transmission Dynamic use of bandwidth Dynamic use of bandwidth

X.

X.25 is a packet switching wide area network.

It is an interface between DCE and DTE for terminal operation in the packet mode on public data networks.

It defines how a packet- mode terminal connected to a packet network for the exchange of data.

It describes the procedures for establishing maintaining and terminating connections.

X.25 is known as a subscriber network interface (SNI).

It defines how the user‘s DTE communicates with the network and how packets are sent over that network using DCE‘s. X.25 has three layers:  Physical layer  Frame layer and  Packet layer Physical Layer: At the physical layer, X.25 specifies a protocol called X.21. This is similar to other physical layer protocols.

service it offered. These packets are collected by special agents of a process running on the router machine. With this information they construct databases of which server are running where.

  1. When client machine is booted, it broadcast s a request asking where the nearest server is. The agent on the local router sees, looks into the database of servers and matches up the request with the best server; with this the client can now establish a NCP connection and act like client-server model in all aspects.

Integrated Services Digital Network (ISDN)

ISDN was developed by ITU- T in 1976.It is a set of protocols that combines digital telephony and data transport services. The whole idea is to digitize the telephone network to permit the transmission of audio, video, and text over existing telephone lines. The goal of isdn is to form a wide network that provides universal end – to – end connectivity over digital media. This can be done by integrating all of the separate transmission services into one without adding links or subscriber lines.

HISTORY

Voice Communication over Analog Networks

Initially, telecommunications networks were entirely analog networks and were used for the transmission of analog information in the form of voice.

Voice and Data Communication over Analog Networks

With the advent of digital processing, subscribers needed to exchange data as well as voice. Modems were developed to allow digital exchange over analog lines.

Analog and Digital services to Subscribers

To reduce cost and improve performance, the telephone companies gradually began to add digital technologies while continuing their analog services to their customers.

Integrated Digital Network (IDN)

Next, customers began to require access to a variety of networks, such as packet- switched networks and circuit – switched networks. To meet these needs the telephone companies created Integrated Digital Network (IDN). An IDN is a combination of networks available for different purposes.

Integrated Services Digital Network (ISDN)

The ISDN integrates customer service with the IDN. With ISDN all customers‘ services become digital rather than analog and will allow the customers services to be made available on demand.

SERVICES

The purpose of the ISDN is to provide fully integrated digital services to users. These services fall in to three categories: bearer services, teleservices, and supplementary services. Bearer service

Bearer services provide the means to transfer information (voice, data, and voice) between users without the network manipulating the content of information.

Tele Service

In teleservices the network may change or process the contents of the data. These services correspond to layers 4 – 7 of the OSI ISO model. this service include telephony,telefax,videotex, telex and teleconferencing.

Supplementary service

Supplementary services are those services that provide additional functionality to the bearer service and teleservices. These services include call waiting, reverse charging, and message handling.

Office

control signaling for all the channels in a given path, using a method called common – channel (Out – of – band) signaling. Less common uses for the D channel include low- rate data transfer and applications such as telemetry and alarm transmission.

H Channel

H Channels are available with data rates of 384 Kbps (HO), 1536 Kbps (H11), or 1920(H12). These e rates suit for high data rate applications such as video, teleconferencing and so on.

Integrated Services Digital Network I S D N Integrated services digital network I D N

Digital Pipes

Packet switched

Circuit switching Subscriber loops

User Interfaces

Digital subscriber loops are two types: basic rate interface (BRI ) and primary rate interface (PRI ) .Each type is suited to a different level of customer needs. Both include one D channel and some number of either B or H channels.

B R I

The basic rate interface specifies a digital pipe consisting of two B channels and one 16Kbps D channel.

I S D N

To ISDN office

64(B1) + 64 (B2) +16( D) +48(over head) = 192Kbps

BRI requires a digital pipe of 192 Kbps as shown in the fig. Conceptually, the BRI service is like a large pipe that contains three smaller pipes, two for the B channels and one for D channel. The remainder of the space inside the large pipe carries overhead bits required for its operation. The BRI is designed to meet the needs of residential and small – office customers.

P R I

The usual PRI specifies a digital pipe with 23 B channels and one 64 Kbps D channel.

To ISDN office

P R I 1.544 Mbps 64 x 23 (B1 – B23) + 64 (D) + 8 (overhead)

PRI requires a digital pipe of 1.544 Mbps. Conceptually, the PRI services is like a large pipe containing 24 smaller pipes, 23 for the B channels and for the D channel. The rest of the pipe carries the overhead bits. One PRI can provide full – duplex transmission between as many as 23 sources and receiving nodes. The individual transmission are collected from their source and multiplexed on to a single path for sending to the ISDN office.

Functional Grouping

Functional Grouping used at the subscriber‘s premises includes network terminations, terminal equipment and terminal adapters, enables users to access the services of the BRI and PRI.

Network Teriminator 1 ( NT1)

An NT1 device controls the physical and electrical termination of the ISDN at user‘s internal system to the digital subscriber loop. These functions are comparable to those defined for the OSI physical layer. An NT1 organizes the date stream from connected subscribers into frames that can be sent over the digital pipe, and translates the frame received from the network into a format usable by the subscriber‘s device.

Network Teriminator 2 ( NT2)

A NT1 device performs functions at the physical layer, data link, and net work layers of the OSI model.NT2 provide multiplexing (layer 1),flow control (layer 2), and packetzing (layer 3).An NT provides intermediate signal processing between the Data – generating devices and an NT1.There must be a point to point connection between an NT1 and NT1 ..NT2s are used primarily to interface between a multi-user system and an NT1 in a PRI. NT2s can be implemented by a variety of equipment types like a private branch exchange (digital PBX ), a LAN can function as an NT2.

Reference Points

The ISDN Layers Since the ISDN specifies two different channels ( B and D) with different functionalities ,unlike the ISO OSI (which has seven layers) the ISDN is defined in three separate planes : the user plane , the control panel ,and the management plane. All three planes are divided into seven layers that correspond to the OSI model.

Layers 4,5,6,

Network

Data link

Physical

Physical Layer

B channel D channel User‘s choice

X.25 and others Call control Q. LAPB and others LAPD

BRI (I.430) & PRI (I.431)

Simplified layers of ISDN

The ISDN physical layer specifications are defined by two ITU-T standards: L430 for BRI access and I.431 for PRI access. These standards define all aspects of the BRI and PRI. Of these aspects, four are of primary importance:  The mechanical and electrical specifications of interfaces R, S, T and U.  Encoding  Multiplexing channels to make them carriable by the BRI and PRI digital pipe.  Power supply

Data Link Layer B and D channels use different data link protocols. B channels use LAPB protocol. The D channel uses link access procedure for D channel (LAPD). Network Layer Once a connection has been established by the D channel, the B channel sends data using circuit switching, X.25,or other similar protocols. The network layer packet is called a message.

BROAD BAND ISDN

When the ISDN was originally designed data rates of 64 Kbps to 1.544 Mbps were sufficient to handle all existing transmission needs. As applications using the telecommunications network advanced, however, these rates proved inadequate to support many applications. In addition, the original bandwidths provided too narrow to carry the large numbers of concurrent signals produced by a growing industry of digital services providers. To provide for the needs of the next generation of technology, an extension of ISDN, called broadband ISDN is under study. B-ISDN provides subscribers to the network with data rates in the range of 600 Mbps, almost 400 times faster than the PRI rate.

Services

B-ISDN provides two types of services: interactive and distributive.

Interactive services

Interactive services are those that require two-way exchanges between either two subscribers or between a subscriber and a service provider. These services are of three types: conversational, messaging and retrieval. Conversational These services are those, such as telephone calls, that support real time exchanges. These real time services can be used for telephoning, video telephoning, and video conferencing, data transfer. Messaging These services stored and forward exchanges. These are bi-directional, meaning that all parties in an exchange can use them at same time. These services include voice mail, data mail, video mail. Retrieval These services are those used to retrieve information from a central source called an information center. These services are like libraries; they must allow public access to retrieve information on demand. And information is not distributed unless asked for. Distributive services These services are unidirectional services sent from a provider to subscribers without the subscriber having to transmit a request each time a service is desired. These services can be without or with user control. Access method B-ISDN defines three access methods to provide for three levels of user needs. They are:

 155.520 Mbbs full duplex symmetrical

 155.520 Mbbs asymmetrical

 622.080 Mbbs full duplex