[PDF] Data Communication and Computer Network





Previous PDF Next PDF



Workshop on Computer Hardware and Network

You can easily calculate that as many as 400 pages of printed book can be stored on a single http://faculty.ivytech.edu/~smilline/downloads/hardware.pdf.



Data Communication and Computer Network

All the content and graphics published in this e-book are the property of Tutorials. Point (I) Pvt. Ltd. The user Classification of Computer Networks .



In Praise of Computer Organization and Design: The Hardware

with a variety of mechanisms in hardware and software throughout the book hardware-software interface of network interface cards that are key to ...



COMPUTER HARDWARE REPAIRS AND MAINTENANCE

24-May-2017 NIC (Network Interface Card) used to describe tools that allow your computer to connect and communicate with various input and output devices.



Basic Networking Concepts

-A network can be defined as a group of computers and other devices connected in some ways so as to be able to exchange data. -Each of the devices on the 



F.Y. B.Com. Computer Concepts and Applications (Computer

Computer System Hardware. Computer Memory. Input and Output Devices. Interaction between User and Computer. Introduction to Free and Open Source Software.



Full Book PDF of the Cisco 7304 Network Services Engine

Cisco 7304 Network Service Engine Installation and Configuration corresponds to the software release installed on your Cisco hardware.



Cloud Computing Tutorial

Deployment software helps to deploy and integrate the application on the cloud. NETWORK. Network is the key component of cloud infrastructure. It allows to 





Internet (PDF)

03-May-2011 A network card is a piece of hardware that allows computers to communicate over a computer network. Most newer computers have a network card ...

Data Communication and Computer Network

Data Communication and Computer Network

i This tutorial gives very good understanding on Data Communication and Computer Networks. After completing this tutorial, you will find yourself at a moderate level of expertise in knowing DCN, from where you can take yourself to next levels. This tutorial is prepared for the beginners to help them understand Data

Communication and Computer Networks.

Before proceeding with this tutorial, you need a basic understanding of Computer. You should know the basics of input and output devices, primary and secondary memory, and operating system.

Copyright 2014 by Tutorials Point (I) Pvt. Ltd.

All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at contact@tutorialspoint.com.

Data Communication and Computer Network

ii

About the Tutorial ..................................................................................................................................... i

Audience .................................................................................................................................................... i

Prerequisites .............................................................................................................................................. i

Disclaimer & Copyright .............................................................................................................................. i

Contents ................................................................................................................................................... ii

1. OVERVIEW ............................................................................................................................ 1

Classification of Computer Networks ........................................................................................................ 1

Geographical Span .................................................................................................................................... 1

Inter-Connectivity ..................................................................................................................................... 1

Administration .......................................................................................................................................... 2

Network Architecture ............................................................................................................................... 2

Network Applications ............................................................................................................................... 2

2. TYPES OF COMPUTER NETWORKS ........................................................................................ 3

Personal Area Network ............................................................................................................................. 3

Local Area Network................................................................................................................................... 3

Metropolitan Area Network ..................................................................................................................... 4

Wide Area Network .................................................................................................................................. 5

Internetwork............................................................................................................................................. 6

3. NETWORK LAN TECHNOLOGIES ............................................................................................ 8

Ethernet .................................................................................................................................................... 8

Fast-Ethernet ............................................................................................................................................ 8

Giga-Ethernet ............................................................................................................................................ 8

Virtual LAN................................................................................................................................................ 9

4. COMPUTER NETWORK TOPOLOGIES ................................................................................... 10

Point-to-Point ......................................................................................................................................... 10

Bus Topology .......................................................................................................................................... 10

Data Communication and Computer Network

iii

Star Topology .......................................................................................................................................... 11

Ring Topology ......................................................................................................................................... 12

Mesh Topology ....................................................................................................................................... 13

Tree Topology ......................................................................................................................................... 14

Daisy Chain ............................................................................................................................................. 15

Hybrid Topology...................................................................................................................................... 15

5. COMPUTER NETWORK MODEL ........................................................................................... 17

Layered Tasks.......................................................................................................................................... 17

OSI Model ............................................................................................................................................... 18

Internet Model ....................................................................................................................................... 19

6. COMPUTER NETWORK SECURITY ........................................................................................ 20

Secret Key Encryption ............................................................................................................................. 21

Public Key Encryption ............................................................................................................................. 21

Message Digest ....................................................................................................................................... 21

7. PHYSICAL LAYER INTRODUCTION ........................................................................................ 22

Signals ..................................................................................................................................................... 22

Transmission Impairment ....................................................................................................................... 22

Transmission Media ................................................................................................................................ 23

Channel Capacity .................................................................................................................................... 23

Multiplexing............................................................................................................................................ 24

Switching ................................................................................................................................................ 24

8. DIGITAL TRANSMISSION ...................................................................................................... 25

Digital-to-Digital Conversion ................................................................................................................... 25

Line Coding ............................................................................................................................................. 25

Unipolar Encoding ................................................................................................................................... 26

Polar Encoding ........................................................................................................................................ 26

Bipolar Encoding ..................................................................................................................................... 28

Data Communication and Computer Network

iv

Block Coding ........................................................................................................................................... 28

Analog-to-Digital Conversion .................................................................................................................. 29

Sampling ................................................................................................................................................. 29

Quantization ........................................................................................................................................... 29

Encoding ................................................................................................................................................. 30

Transmission Modes ............................................................................................................................... 30

9. ANALOG TRANSMISSION ..................................................................................................... 32

Digital-to-Analog Conversion .................................................................................................................. 32

Analog-to-Analog Conversion ................................................................................................................. 34

10. TRANSMISSION MEDIA........................................................................................................ 38

Magnetic Media ...................................................................................................................................... 38

Twisted Pair Cable .................................................................................................................................. 38

Coaxial Cable .......................................................................................................................................... 39

Power Lines ............................................................................................................................................ 40

Fiber Optics ............................................................................................................................................. 40

11. WIRELESS TRANSMISSION ................................................................................................... 42

Radio Transmission ................................................................................................................................. 42

Microwave Transmission ........................................................................................................................ 43

Infrared Transmission ............................................................................................................................. 44

Light Transmission .................................................................................................................................. 44

12. MULTIPLEXING .................................................................................................................... 46

Frequency Division Multiplexing ............................................................................................................. 46

Time Division Multiplexing ..................................................................................................................... 46

Wavelength Division Multiplexing .......................................................................................................... 47

Code Division Multiplexing ..................................................................................................................... 48

13. SWITCHING ......................................................................................................................... 49

Circuit Switching ..................................................................................................................................... 49

Data Communication and Computer Network

v

Message Switching.................................................................................................................................. 50

Packet Switching ..................................................................................................................................... 51

14. DATA LINK LAYER INTRODUCTION ...................................................................................... 53

Functionality of Data-link Layer .............................................................................................................. 53

15. ERROR DETECTION AND CORRECTION ................................................................................ 55

Types of Errors ........................................................................................................................................ 55

Error Detection ....................................................................................................................................... 56

Error Correction ...................................................................................................................................... 57

16. DATA LINK CONTROL AND PROTOCOLS .............................................................................. 59

Flow Control ........................................................................................................................................... 59

Error Control ........................................................................................................................................... 60

17. NETWORK LAYER INTRODUCTION ....................................................................................... 64

Layer-3 Functionalities ............................................................................................................................ 64

Network Layer Features .......................................................................................................................... 64

18. NETWORK ADDRESSING ...................................................................................................... 65

19. NETWORK ROUTING ........................................................................................................... 67

Unicast routing ....................................................................................................................................... 67

Broadcast routing ................................................................................................................................... 68

Multicast Routing.................................................................................................................................... 69

Anycast Routing ...................................................................................................................................... 69

Unicast Routing Protocols ....................................................................................................................... 70

Multicast Routing Protocols .................................................................................................................... 70

Routing Algorithms ................................................................................................................................. 71

20. INTERNETWORKING ............................................................................................................ 72

Tunneling ................................................................................................................................................ 72

Packet Fragmentation ............................................................................................................................. 73

Data Communication and Computer Network

vi

21. NETWORK LAYER PROTOCOLS ............................................................................................ 75

Address Resolution Protocol (ARP) ......................................................................................................... 75

Internet Control Message Protocol (ICMP) .............................................................................................. 76

Internet Protocol Version 4 (IPv4) ........................................................................................................... 76

Internet Protocol Version 6 (IPv6) ........................................................................................................... 77

22. TRANSPORT LAYER INTRODUCTION .................................................................................... 78

Functions ................................................................................................................................................ 78

End-to-End Communication .................................................................................................................... 78

23. TRANSMISSION CONTROL PROTOCOL ................................................................................. 80

Features .................................................................................................................................................. 80

Header .................................................................................................................................................... 80

Addressing .............................................................................................................................................. 82

Connection Management........................................................................................................................ 82

Bandwidth Management ........................................................................................................................ 83

Error Control and Flow Control ............................................................................................................... 84

Multiplexing............................................................................................................................................ 84

Congestion Control ................................................................................................................................. 84

Timer Management ................................................................................................................................ 85

Crash Recovery ....................................................................................................................................... 85

24. USER DATAGRAM PROTOCOL ............................................................................................. 87

Requirement of UDP ............................................................................................................................... 87

Features .................................................................................................................................................. 87

UDP Header ............................................................................................................................................ 87

UDP application ...................................................................................................................................... 88

25. APPLICATION LAYER INTRODUCTION .................................................................................. 89

26. CLIENT-SERVER MODEL ....................................................................................................... 91

Data Communication and Computer Network

vii

Communication ...................................................................................................................................... 92

27. APPLICATION PROTOCOLS .................................................................................................. 94

Domain Name System ............................................................................................................................. 94

Simple Mail Transfer Protocol ................................................................................................................. 94

File Transfer Protocol .............................................................................................................................. 94

Post Office Protocol (POP) ...................................................................................................................... 95

Hyper Text Transfer Protocol (HTTP) ....................................................................................................... 95

28. NETWORK SERVICES ........................................................................................................... 96

Directory Services ................................................................................................................................... 96

File Services ............................................................................................................................................ 96

Communication Services ......................................................................................................................... 97

Application Services ................................................................................................................................ 97

Data Communication and Computer Network

1 A system of interconnected computers and computerized peripherals such as printers is called computer network. This interconnection among computers facilitates information sharing among them. Computers may connect to each other by either wired or wireless media.

RI&RPSXWHU1HWZRUNV

Computer networks are classified based on various factors. They include:

Geographical span

Inter-connectivity

Administration

Architecture

Geographically a network can be seen in one of the following categories: It may be spanned across your table, among Bluetooth enabled devices,

Ranging not more than few meters.

It may be spanned across a whole building, including intermediate devices to connect all floors.

It may be spanned across a whole city.

It may be spanned across multiple cities or provinces.

It may be one network covering whole world.

&RQQHFWLYLW\ Components of a network can be connected to each other differently in some fashion. By connectedness we mean either logically, physically, or both ways. Every single device can be connected to every other device on network, making the network mesh. All devices can be connected to a single medium but geographically disconnected, created bus-like structure. Each device is connected to its left and right peers only, creating linear structure.

1. OVERVIEW

Data Communication and Computer Network

2 All devices connected together with a single device, creating star-like structure. All devices connected arbitrarily using all previous ways to connect each other, resulting in a hybrid structure. belongs a single autonomous system and cannot be accessed outside its physical or logical domain. A network can be public, which is accessed by all. Computer networks can be discriminated into various types such as Client-Server, peer-to-peer or hybrid, depending upon its architecture. There can be one or more systems acting as Server. Other being Client, requests the Server to serve requests. Server takes and processes request on behalf of Clients. Two systems can be connected Point-to-Point, or in back-to-back fashion. They both reside at the same level and called peers. There can be hybrid network which involves network architecture of both the above types. Computer systems and peripherals are connected to form a network. They provide numerous advantages: Resource sharing such as printers and storage devices Exchange of information by means of e-Mails and FTP

Information sharing by using Web or Internet

Interaction with other users using dynamic web pages

IP phones

Video conferences

Parallel computing

Instant messaging

Data Communication and Computer Network

3 Generally, networks are distinguished based on their geographical span. A network can be as small as distance between your mobile phone and its Bluetooth headphone and as large as the internet itself, covering the whole geographical world. A Personal Area Network (PAN) is smallest network which is very personal to a user. This may include Bluetooth enabled devices or infra-red enabled devices. PAN has connectivity range up to 10 meters. PAN may include wireless computer keyboard and mouse, Bluetooth enabled headphones, wireless printers, and TV remotes. For example, Piconet is Bluetooth-enabled Personal Area Network which may contain up to 8 devices connected together in a master-slave fashion. A computer network spanned inside a building and operated under single administrative system is generally termed as Local Area Network (LAN). Usually, LAN covers an organization offices, schools, colleges or universities. Number of systems connected in LAN may vary from as least as two to as much as 16 million.

2. TYPES OF COMPUTER NETWORKS

Data Communication and Computer Network

4 LAN provides a useful way of sharing the resources between end users. The resources such as printers, file servers, scanners, and internet are easily sharable among computers. LANs are composed of inexpensive networking and routing equipment. It may contains local servers serving file storage and other locally shared applications. It mostly operates on private IP addresses and does not involve heavy routing. LAN works under its own local domain and controlled centrally. LAN uses either Ethernet or Token-ring technology. Ethernet is most widely employed LAN technology and uses Star topology, while Token-ring is rarely seen. LAN can be wired, wireless, or in both forms at once. The Metropolitan Area Network (MAN) generally expands throughout a city such as cable TV network. It can be in the form of Ethernet, Token-ring, ATM, or Fiber

Distributed Data Interface (FDDI).

Metro Ethernet is a service which is provided by ISPs. This service enables its users to expand their Local Area Networks. For example, MAN can help an organization to connect all of its offices in a city.

Data Communication and Computer Network

5 Backbone of MAN is high-capacity and high-speed fiber optics. MAN works in between Local Area Network and Wide Area Network. MAN provides uplink for LANs to WANs or internet. As the name suggests, the Wide Area Network (WAN) covers a wide area which may span across provinces and even a whole country. Generally, telecommunication networks are Wide Area Network. These networks provide connectivity to MANs and LANs. Since they are equipped with very high speed backbone, WANs use very expensive network equipment.

Data Communication and Computer Network

6 WAN may use advanced technologies such as Asynchronous Transfer Mode (ATM), Frame Relay, and Synchronous Optical Network (SONET). WAN may be managed by multiple administration. A network of networks is called an internetwork, or simply the internet. It is the largest network in existence on this planet. The internet hugely connects all WANs and it can have connection to LANs and Home networks. Internet uses TCP/IP protocol suite and uses IP as its addressing protocol. Present day, Internet is widely implemented using IPv4. Because of shortage of address spaces, it is gradually migrating from IPv4 to IPv6. Internet enables its users to share and access enormous amount of information worldwide. It uses WWW, FTP, email services, audio, and video streaming etc. At huge level, internet works on Client-Server model. Internet uses very high speed backbone of fiber optics. To inter-connect various continents, fibers are laid under sea known to us as submarine communication cable. Internet is widely deployed on World Wide Web services using HTML linked pages and is accessible by client software known as Web Browsers. When a user requests a page using some web browser located on some Web Server anywhere in the world, the Web Server responds with the proper HTML page. The communication delay is very low. Internet is serving many proposes and is involved in many aspects of life. Some of them are:

Data Communication and Computer Network

7

Web sites

E-mail

Instant Messaging

Blogging

Social Media

Marketing

Networking

Resource Sharing

Audio and Video Streaming

Data Communication and Computer Network

8 Let us go through various LAN technologies in brief: Ethernet is a widely deployed LAN technology. This technology was invented by Bob Metcalfe and D.R. Boggs in the year 1970. It was standardized in IEEE 802.3 in 1980. Ethernet shares media. Network which uses shared media has high probability of data collision. Ethernet uses Carrier Sense Multi Access/Collision Detection (CSMA/CD) technology to detect collisions. On the occurrence of collision in Ethernet, all its hosts roll back, wait for some random amount of time, and then re-transmit the data. Ethernet connector is network interface card equipped with 48-bits MAC address. This helps other Ethernet devices to identify and communicate with remote devices in

Ethernet.

Traditional Ethernet uses 10BASE-T specifications. The number 10 depicts 10MBPS speed, BASE stands for baseband, and T stands for Thick Ethernet. 10BASE-T Ethernet provides transmission speed up to 10MBPS and uses coaxial cable or Cat-5 twisted pair cable with RJ-5 connector. Ethernet follows Star topology with segment length up to 100 meters. All devices are connected to a hub/switch in a star fashion. (WKHUQHW To encompass need of fast emerging software and hardware technologies, Ethernet extends itself as Fast-Ethernet. It can run on UTP, Optical Fiber, and wirelessly too. It can provide speed up to 100MBPS. This standard is named as 100BASE-T in IEEE

803.2 using Cat-5 twisted pair cable. It uses CSMA/CD technique for wired media

sharing among the Ethernet hosts and CSMA/CA (CA stands for Collision Avoidance) technique for wireless Ethernet LAN. Fast Ethernet on fiber is defined under 100BASE-FX standard which provides speed up to 100MBPS on fiber. Ethernet over fiber can be extended up to 100 meters in half-duplex mode and can reach maximum of 2000 meters in full-duplex over multimode fibers. (WKHUQHW After being introduced in 1995, Fast-Ethernet retained its high speed status only for three years till Giga-Ethernet introduced. Giga-Ethernet provides speed up to 1000 mbits/seconds. IEEE802.3ab standardizes Giga-Ethernet over UTP using Cat-5, Cat-

5e and Cat-6 cables. IEEE802.3ah defines Giga-Ethernet over Fiber.

3. NETWORK LAN TECHNOLOGIES

Data Communication and Computer Network

9 LAN uses Ethernet which in turn works on shared media. Shared media in Ethernet create one single Broadcast domain and one single Collision domain. Introduction of switches to Ethernet has removed single collision domain issue and each device connected to switch works in its separate collision domain. But even Switches cannot divide a network into separate Broadcast domains. Virtual LAN is a solution to divide a single Broadcast domain into multiple Broadcast domains. Host in one VLAN cannot speak to a host in another. By default, all hosts are placed into the same VLAN. In this diagram, different VLANs are depicted in different color codes. Hosts in one VLAN, even if connected on the same Switch cannot see or speak to other hosts in different VLANs. VLAN is Layer-2 technology which works closely on Ethernet. To route packets between two different VLANs, a Layer-3 device such as Router is required.

Data Communication and Computer Network

10 A Network Topology is the arrangement with which computer systems or network devices are connected to each other. Topologies may define both physical and logical aspect of the network. Both logical and physical topologies could be same or different in a same network.

WR3RLQW

Point-to-point networks contains exactly two hosts such as computer, switches, routers, or servers connected back to back using a single piece of cable. Often, the receiving end of one host is connected to sending end of the other and vice versa. If the hosts are connected point-to-point logically, then may have multiple intermediate devices. But the end hosts are unaware of underlying network and see each other as if they are connected directly. In case of Bus topology, all devices share single communication line or cable. Bus topology may have problem while multiple hosts sending data at the same time. Therefore, Bus topology either uses CSMA/CD technology or recognizes one host as Bus Master to solve the issue. It is one of the simple forms of networking where a failure of a device does not affect the other devices. But failure of the shared communication line can make all other devices stop functioning.

4. COMPUTER NETWORK

TOPOLOGIES

Data Communication and Computer Network

11 Both ends of the shared channel have line terminator. The data is sent in only one direction and as soon as it reaches the extreme end, the terminator removes the data from the line. All hosts in Star topology are connected to a central device, known as hub device, using a point-to-point connection. That is, there exists a point to point connection between hosts and hub. The hub device can be any of the following:

Layer-1 device such as hub or repeater

Layer-2 device such as switch or bridge

Layer-3 device such as router or gateway

Data Communication and Computer Network

12 As in Bus topology, hub acts as single point of failure. If hub fails, connectivity of all hosts to all other hosts fails. Every communication between hosts takes place through only the hub. Star topology is not expensive as to connect one more host, only one cable is required and configuration is simple. In ring topology, each host machine connects to exactly two other machines, creating a circular network structure. When one host tries to communicate or send message to a host which is not adjacent to it, the data travels through all intermediate hosts. To connect one more host in the existing structure, the administrator may need only one more extra cable.

Data Communication and Computer Network

13 Failure of any host results in failure of the whole ring. Thus, every connection in the ring is a point of failure. There are methods which employ one more backup ring. In this type of topology, a host is connected to one or multiple hosts. This topology has hosts in point-to-point connection with every other host or may also have hosts which are in point-to-point connection with few hosts only.

Data Communication and Computer Network

14 Hosts in Mesh topology also work as relay for other hosts which do not have direct point-to-point links. Mesh technology comes into two types: Full Mesh: All hosts have a point-to-point connection to every other host in the network. Thus for every new host n(n-1)/2 connections are required. It provides the most reliable network structure among all network topologies. Partially Mesh: Not all hosts have point-to-point connection to every other host. Hosts connect to each other in some arbitrarily fashion. This topology exists where we need to provide reliability to some hosts out of all. Also known as Hierarchical Topology, this is the most common form of network topology in use presently. This topology imitates as extended Star topology and inherits properties of Bus topology. This topology divides the network into multiple levels/layers of network. Mainly in LANs, a network is bifurcated into three types of network devices. The lowermost is access-layer where computers are attached. The middle layer is known as distribution layer, which works as mediator between upper layer and lower layer. The highest layer is known as core layer, and is central point of the network, i.e. root of the tree from which all nodes fork.

Data Communication and Computer Network

15 All neighboring hosts have point-to-point connection between them. Similar to the Bus topology, if the root goes down, then the entire network suffers even though it is not the single point of failure. Every connection serves as point of failure, failing of which divides the network into unreachable segment. This topology connects all the hosts in a linear fashion. Similar to Ring topology, all hosts are connected to two hosts only, except the end hosts. Means, if the end hosts in daisy chain are connected then it represents Ring topology.quotesdbs_dbs14.pdfusesText_20
[PDF] computer hardware and networking books in hindi

[PDF] computer hardware and networking course books free download pdf

[PDF] computer hardware and networking notes pdf free download

[PDF] computer hardware and networking notes pdf in marathi language

[PDF] computer hardware and networking pdf

[PDF] computer hardware and networking pdf in hindi

[PDF] computer hardware and networking projects pdf

[PDF] computer hardware bible pdf

[PDF] computer hardware book pdf

[PDF] computer hardware course hindi pdf

[PDF] computer hardware course in bengali pdf download

[PDF] computer hardware pdf

[PDF] computer hardware practical notes pdf

[PDF] computer hindi course pdf

[PDF] computer languages