Docsity

Computer Communications, Summaries of Computer Communication Systems

Toggle sidebar
bg1
COMPUTER COMMUNICATION
UNIT I
Evolution of Computer Networks
oThe termcomputernetworksresulted from the 'combination of two major areas,
namelycomputersandcommunications.
oIt was during the 1950's, that computers were treated as large complex machines
and were operated by specially trained people. Jobs were given to computers in the
form of batches. Punched cards, paper tapes, or magnetic tapes were used asinput
devices. There was no direct communication or interaction between the user and the
computer. Users suffered with extremely long delays between the submission of jobs
and the receipt of output results. The computer model resembles the one shown in
Figure. Note that there are two queues, one at the input device and another at
theoutput device.
oIn the 1960's, interactive terminals were developed. Remote users can be connected
to a largemainframecomputer via a low speed data line. The network resembles the
one shown in Figure.
oWhen more devices are' connected to a computer, it is not so economical to have a
separate communication line from each device to the computer. To solve this
problem, multiplexers and concentrators were developed. These devices collect the
output from a set of peripheral devices and send it over a common communication
link. Special communication processors calledfront-endswere developed to relieve
the mainframe computers from performing all the communication functions.
oTime-sharing systems were developed and that led to the development of many
applications centered on a single computer. The concept of a large-scale, general-
purpose network was developed. Such a network consists of a set of nodes
callednetwork switchesorinterface message processors(IMP) connected by means
of interconnecting transmission links. Interconnecting links can be a wire, microwave
radio, optical fiber, or satellite communication links. Nodes are located at
geographically separated locations. Each node forwards the message passing
through it to the next node in the concerned path.
oAs technology advanced, inexpensivepersonal computers started replacing medium
and large systems in many commercial and educational institutions. Local Area
Networks (LAN) were developed. A LAN is capable of sharing expensive resources like
laserprinters, enterprise software, etc., and provides access to a largedatabase.
LANs were initially used for the purpose of connecting people. It supports high speed
switching. Special software known asNetworkOS was developed to manage and
control the access of these Local Area Networks. The users demanded access to
resources outside the LAN. The most common resources were printers and large
databases. These resources may be components of other LAN. Remote file transfer
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download Computer Communications and more Summaries Computer Communication Systems in PDF only on Docsity!

COMPUTER COMMUNICATION

UNIT I

Evolution of Computer Networks

o The term computer networks resulted from the 'combination of two major areas, namely computers and communications. o It was during the 1950's, that computers were treated as large complex machines and were operated by specially trained people. Jobs were given to computers in the form of batches. Punched cards, paper tapes, or magnetic tapes were used as input devices. There was no direct communication or interaction between the user and the computer. Users suffered with extremely long delays between the submission of jobs and the receipt of output results. The computer model resembles the one shown in Figure. Note that there are two queues, one at the input device and another at the output device. o In the 1960's, interactive terminals were developed. Remote users can be connected to a large mainframe computer via a low speed data line. The network resembles the one shown in Figure. o When more devices are' connected to a computer, it is not so economical to have a separate communication line from each device to the computer. To solve this problem, multiplexers and concentrators were developed. These devices collect the output from a set of peripheral devices and send it over a common communication link. Special communication processors called front-ends were developed to relieve the mainframe computers from performing all the communication functions. o Time-sharing systems were developed and that led to the development of many applications centered on a single computer. The concept of a large-scale, general- purpose network was developed. Such a network consists of a set of nodes called network switches or interface message processors (IMP) connected by means of interconnecting transmission links. Interconnecting links can be a wire, microwave radio, optical fiber, or satellite communication links. Nodes are located at geographically separated locations. Each node forwards the message passing through it to the next node in the concerned path. o As technology advanced, inexpensive personal computers started replacing medium and large systems in many commercial and educational institutions. Local Area Networks (LAN) were developed. A LAN is capable of sharing expensive resources like laser printers, enterprise software, etc., and provides access to a large database. LANs were initially used for the purpose of connecting people. It supports high speed switching. Special software known as Network OS was developed to manage and control the access of these Local Area Networks. The users demanded access to resources outside the LAN. The most common resources were printers and large databases. These resources may be components of other LAN. Remote file transfer

and remote login were then developed. The concept of Wide Area Networking (WAN) evolved by interconnecting hundreds of thousands of Local Area Networks Networks categories: The Network allows computers to connect and communicate with different computers via any medium. LAN, MAN and WAN are the three major types of the network designed to operate over the area they cover. There are some similarities and dissimilarities between them. One of the major differences is the geographical area they cover, i.e. LAN covers the smallest area; MAN covers an area larger than LAN and WAN comprises the largest of all. There are other types of Computer Networks also, like : ļ‚· PAN (Personal Area Network) ļ‚· SAN (Storage Area Network) ļ‚· EPN (Enterprise Private Network) ļ‚· VPN (Virtual Private Network) Local Area Network (LAN) – LAN or Local Area Network connects network devices in such a way that personal computer and workstations can share data, tools and programs. The group of computers and devices are connected together by a switch, or stack of switches, using a private addressing scheme as defined by the TCP/IP protocol. Private addresses are unique in relation to other computers on the local network. Routers are found at the boundary of a LAN, connecting them to the larger WAN. Data transmits at a very fast rate as the number of computers linked are limited. By definition, the connections must be high speed and relatively inexpensive hardware (Such as hubs, network adapters and Ethernet cables). LANs cover smaller geographical area (Size is limited to a few kilometers) and are privately owned. One can use it for an office building, home, hospital, schools, etc. LAN is easy to design and maintain. A Communication medium used for LAN has twisted pair cables and coaxial cables. It covers a short distance, and so the error and noise are minimized. Early LAN’s had data rates in the 4 to 16 Mbps range. Today, speeds are normally 100 or 1000 Mbps. Propagation delay is very short in a LAN. The smallest LAN may only use two

To take a keyboard / monitor relationship as an example, the keyboard can only send the input to the monitor, and the monitor can only receive the input and display it on the screen. The monitor cannot reply, or send any feedback, to the keyboard. Half Duplex The communication between sender and receiver occurs in both directions in half duplex transmission, but only one at a time. The sender and receiver can both send and receive the information, but only one is allowed to send at any given time. Half duplex is still considered a one-way road, in which a vehicle traveling in the opposite direction of the traffic has to wait till the road is empty before it can pass through. For example, in walkie-talkies, the speakers at both ends can speak, but they have to speak one by one. They cannot speak simultaneously. Full Duplex In full duplex transmission mode, the communication between sender and receiver can occur simultaneously. The sender and receiver can both transmit and receive at the same time. Full duplex transmission mode is like a two-way road, in which traffic can flow in both directions at the same time. For example, in a telephone conversation, two people communicate, and both are free to speak and listen at the same time.

Types of Network Topology

a) Mesh Topology : In mesh topology, every device is connected to another device via particular channel. If suppose, N number of devices are connected with each other in mesh topology, then total number of ports that is required by each device is N-1. In the Figure 1, there are 5 devices connected to each other, hence total number of ports required is 4. If suppose, N number of devices are connected with each other in mesh topology, then total number of dedicated links required to connect them is NC2 i.e. N(N-1)/2. In the Figure 1, there are 5 devices connected to each other, hence total number of links required is 5*4/2 =

Advantages of this topology :

ļ‚· It is robust. ļ‚· Fault is diagnosed easily. Data is reliable because data is transferred among the devices through dedicated channels or links. ļ‚· Provides security and privacy. ļ‚· Problems with this topology : ļ‚· Installation and configuration is difficult. ļ‚· Cost of cables are high as bulk wiring is required, hence suitable for less number of devices. ļ‚· Cost of maintenance is high. b) Star Topology : In star topology, all the devices are connected to a single hub through a cable. This hub is the central node and all others nodes are connected to the central node. The hub can be passive in nature i.e. not intelligent hub such as broadcasting devices, at the same time the hub can be intelligent known as active hubs. Active hubs have repeaters in them. Advantages of this topology : ļ‚· If N devices are connected to each other in star topology, then the number of cables required to connect them is N. So, it is easy to set up. ļ‚· Each device require only 1 port i.e. to connect to the hub. Problems with this topology : ļ‚· If the concentrator (hub) on which the whole topology relies fails, the whole system will crash down. ļ‚· Cost of installation is high. ļ‚· Performance is based on the single concentrator i.e. hub. c) Bus Topology : Bus topology is a network type in which every computer and network device is connected to single cable. It transmits the data from one end to another in single direction. No bi- directional feature is in bus topology.

When no station is transmitting the data, then the token will circulate in the ring. There are two types of token release techniques : Early token release releases the token just after the transmitting the data and Delay token release releases the token after the acknowledgement is received from the receiver. Advantages of this topology : ļ‚· The possibility of collision is minimum in this type of topology. ļ‚· Cheap to install and expand. Problems with this topology : Troubleshooting is difficult in this topology. Addition of stations in between or removal of stations can disturb the whole topology. e) Hybrid Topology : This topology is a collection of two or more topologies which are described above. This is a scalable topology which can be expanded easily. It is reliable one but at the same it is a costly topology.

Circuit Switching VS Packet Switching

Circuit switching is referred to as the technology of data transfer that utilises sending messages from one point to another. This involves sending messages from the receiver to the sender and back simultaneously. A physical connection gets established during this process along with the receiver; a dedicated circuit is always present to handle data

transmissions, through which data is sent. Packet switching can be used as an alternative to circuit switching. In the packet-switched networks, data is sent in discrete units that have variable length.

https://www.geeksforgeeks.org/difference-between-circuit-switching-and-packet-switching/

Protocols and standards

In telecommunications, a communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any kind of variation of a physical quantity. These are the rules or standard that defines the syntax, semantics and synchronization of communication and possible error recovery methods. Protocols may be implemented by hardware, software, or a combination of both. Communicating systems use well-defined formats (protocol) for exchanging messages. Each message has an exact meaning intended to elicit a response from a range of possible responses pre-determined for that particular situation. Standards are guidelines, these are more abstract. You can have products that meet the standard, exceed the standard or below a certain standard.

o The OSI model is divided into two layers: upper layers and lower layers. o The upper layer of the OSI model mainly deals with the application related issues, and they are implemented only in the software. The application layer is closest to the end user. Both the end user and the application layer interact with the software applications. An upper layer refers to the layer just above another layer. o The lower layer of the OSI model deals with the data transport issues. The data link layer and the physical layer are implemented in hardware and software. The physical layer is the lowest layer of the OSI model and is closest to the physical medium. The physical layer is mainly responsible for placing the information on the physical medium. Functions of the OSI Layers

Physical layer o The main functionality of the physical layer is to transmit the individual bits from one node to another node. o It is the lowest layer of the OSI model. o It establishes, maintains and deactivates the physical connection. o It specifies the mechanical, electrical and procedural network interface specifications. Functions of a Physical layer: o Line Configuration: It defines the way how two or more devices can be connected physically. o Data Transmission: It defines the transmission mode whether it is simplex, half- duplex or full-duplex mode between the two devices on the network. o Topology: It defines the way how network devices are arranged. o Signals: It determines the type of the signal used for transmitting the information.

o Physical Addressing: The Data link layer adds a header to the frame that contains a destination address. The frame is transmitted to the destination address mentioned in the header. o Flow Control: Flow control is the main functionality of the Data-link layer. It is the technique through which the constant data rate is maintained on both the sides so that no data get corrupted. It ensures that the transmitting station such as a server with higher processing speed does not exceed the receiving station, with lower processing speed. o Error Control: Error control is achieved by adding a calculated value CRC (Cyclic Redundancy Check) that is placed to the Data link layer's trailer which is added to the message frame before it is sent to the physical layer. If any error seems to occurr, then the receiver sends the acknowledgment for the retransmission of the corrupted frames. o Access Control: When two or more devices are connected to the same communication channel, then the data link layer protocols are used to determine which device has control over the link at a given time. Network Layer o It is a layer 3 that manages device addressing, tracks the location of devices on the network. o It determines the best path to move data from source to the destination based on the network conditions, the priority of service, and other factors. o The Data link layer is responsible for routing and forwarding the packets.

o Routers are the layer 3 devices, they are specified in this layer and used to provide the routing services within an internetwork. o The protocols used to route the network traffic are known as Network layer protocols. Examples of protocols are IP and Ipv6. Functions of Network Layer: o Internetworking: An internetworking is the main responsibility of the network layer. It provides a logical connection between different devices. o Addressing: A Network layer adds the source and destination address to the header of the frame. Addressing is used to identify the device on the internet. o Routing: Routing is the major component of the network layer, and it determines the best optimal path out of the multiple paths from source to the destination. o Packetizing: A Network Layer receives the packets from the upper layer and converts them into packets. This process is known as Packetizing. It is achieved by internet protocol (IP). Transport Layer o The Transport layer is a Layer 4 ensures that messages are transmitted in the order in which they are sent and there is no duplication of data. o The main responsibility of the transport layer is to transfer the data completely. o It receives the data from the upper layer and converts them into smaller units known as segments. o This layer can be termed as an end-to-end layer as it provides a point-to-point connection between source and destination to deliver the data reliably.

Session Layer o It is a layer 3 in the OSI model. o The Session layer is used to establish, maintain and synchronizes the interaction between communicating devices. Functions of Session layer: o Dialog control: Session layer acts as a dialog controller that creates a dialog between two processes or we can say that it allows the communication between two processes which can be either half-duplex or full-duplex. o Synchronization: Session layer adds some checkpoints when transmitting the data in a sequence. If some error occurs in the middle of the transmission of data, then the transmission will take place again from the checkpoint. This process is known as Synchronization and recovery.

Presentation Layer o A Presentation layer is mainly concerned with the syntax and semantics of the information exchanged between the two systems. o It acts as a data translator for a network. o This layer is a part of the operating system that converts the data from one presentation format to another format. o The Presentation layer is also known as the syntax layer. Functions of Presentation layer: o Translation: The processes in two systems exchange the information in the form of character strings, numbers and so on. Different computers use different encoding methods, the presentation layer handles the interoperability between the different encoding methods. It converts the data from sender-dependent format into a common format and changes the common format into receiver-dependent format at the receiving end. o Encryption: Encryption is needed to maintain privacy. Encryption is a process of converting the sender-transmitted information into another form and sends the resulting message over the network. o Compression: Data compression is a process of compressing the data, i.e., it reduces the number of bits to be transmitted. Data compression is very important in multimedia such as text, audio, video.

networks are connected together. The TCP/IP networks was earlier known as ARPANET, but is now known as internet.

TCP/IP Suite consists of Four layer Network Interface: -

network interface:

It include the function of physical layer and data link layer. TCP/IP protocol suite includes Host-to-

network layer protocols such as Serial Line internet protocol and point to point protocol

Internet Layer: - The internet layer is exactly same to the network layer of OSI model. IP is the primary

protocol operating at this layer and it provides data encapsulation routing, addressing and

fragmentation services to the protocols at the transport layer above it.

Transport Layer : - TCP/IP Suite includes two protocol at this layer, the transmission control protocol and

the user datagram protocol These protocol provides connection or connectionless data transfer services.

Application layer: - The TCP/IP protocol at the application layer can take different forms of Protocols,

such as the File Transfer Protocol, Hypertext Transfer Protocol.

Network Interface Layer

It is the bottom layer of TCP/IP Model lies below the Internet Layer. • It is also known as Host To

Network Layer • Function of this layer is to connect the Host To Network & inform the upper layers so

that they could start sending the data packets. • This layer varies from network to network. • Host To

Network Layer protocols • SLIP(Serial Line IP ) • PPP( Point To Point Protocol )

Serial line Internet protocol is very simple and used to connect the workstation to internet over dial-up

line using a modem.  SLIP(Serial line Internet protocol ) is not a standard protocol for carrying IP

Packets over the a serial line between a home user and The ISP server. But , it has become popular

because of its simplicity.  The role of SLIP begins only when there is a proper connection between the

two modem

It is not an approved internet standard. • It does not provide any authentication. • SLIP provides no way

for the two devices to communicate control information between them to manage the link. • SLIP

doesn't provide any way of detecting or correcting errors in transmissions

Point to Point Protocol ( PPP )

Point to Point Protocol is a data link layer Protocol.  PPP is another examples of the evolving the nature

of internet.  It has become standard internet protocol for remote access, using dial-up connection. 

The basic Functionality of PPP is similar to the SLIP.  It passes the and other packets in the form of

frames between a client and ISP Server.  PPP is more complex than SLIP.

Line control Protocol(LCP): - The Line control protocol is responsible for establishing , maintaining the

connection between the Two end ( Home User and the ISP ) • Password Authentication Protocol( PAP ) :

  • password authentication protocol is used. • Here the user must establish a proof of identity , so that he

can connect to ISP. • Network Control protocol ( NCP ): - Once the Authentication is done, PPP on the

client side sends out a NCP packet. This packet tells the ISP server what kind of traffic is to be passed