Chapter-1
Chapter-1
DATA COMMUNICATION
Data Communication
2
Network Application:
• Resource sharing such as printers and storage devices
• Exchange of information by means of e-Mails and FTP
• Information sharing by using Web
• Video conferences
• Parallel computing
• Instant messaging
Data Communication
7
Network Architecture
Network Architecture is defined as the physical and
logical design of the software, hardware, protocols, and
media of the transmission of data.
The two types of network architectures are used:
• Peer-To-Peer network
• Client/Server network
Data Communication
8
Peer-To-Peer network
Peer-To-Peer network is a network in which all the
computers are linked together with equal privilege and
responsibilities for processing the data.
Peer-To-Peer network is useful for small environments,
usually up to 10 computers.
Peer-To-Peer network has no dedicated server.
Peer-To-Peer network
Data Communication
10
Peer-To-Peer network
Advantages Of Peer-To-Peer Network:
It is less costly as it does not contain any dedicated server.
If one computer stops working but, other computers will not stop
working.
It is easy to set up and maintain as each computer manages itself.
Client/Server network
Client/Server network is a network model designed for the
end users called clients, to access the resources such as
songs, video, etc. from a central computer known as Server.
A server is responsible for managing all the resources such
server.
Data Communication
12
Client/Server network
For example, if client1 wants to send some data to client 2,
then it first sends the request to the server for the
permission. The server sends the response to the client 1 to
initiate its communication with the client 2.
Data Communication
13
the resources.
Data Communication
15
Type of data
communication
The data communication is
divided into three types:
Simplex Communication
Half Duplex
communication
Full-duplex communication
Data Communication
16
Network Criteria
Performance
Depends on Network Elements
Measured in terms of Delay and Throughput
Reliability
Failure rate of network components
Measured in terms of availability/robustness
Security
Data protection against corruption/loss of data due to:
Errors
Malicious users
Data Communication
17
Physical Topology
Data Communication
18
Mesh Topology:
Mesh technology is an arrangement
of the network in which computers
are interconnected with each other
through various redundant
connections.
There are multiple paths from one
computer to another computer.
It does not contain the switch, hub
or any central computer which acts
as a central point of
communication.
Data Communication
19
Mesh Topology:
Mesh topology is mainly used for WAN implementations
where communication failures are a critical concern.
Mesh topology is mainly used for wireless networks.
Star Topology
Star topology is an arrangement of the network in
which every node is connected to the central hub,
switch, or a central computer.
The central computer is known as a server, and
the peripheral devices attached to the server are
known as clients.
Network cables are used to connect the
computers.
Hubs or Switches are mainly used as connection
devices in a physical star topology.
Star topology is the most popular topology in
network implementation.
Data Communication
22
Bus Topology:
The bus topology is designed in such a way that all the stations are connected
through a single cable known as a backbone cable.
Each node is either connected to the backbone cable by drop cable or directly
connected to the backbone cable.
When a node wants to send a message over the network, it puts a message
over the network. All the stations available in the network will receive the
message whether it has been addressed or not.
The bus topology is mainly used in 802.3 (ethernet) and 802.4 standard
networks.
The configuration of a bus topology is quite simpler as compared to other
topologies.
The backbone cable is considered as a "single lane" through which the
message is broadcast to all the stations.
Data Communication
25
Bus Topology
Advantages of Bus topology:
Low-cost cable: In bus topology, nodes are directly connected to the cable
without passing through a hub. Therefore, the initial cost of installation is low.
Moderate data speeds: Coaxial or twisted pair cables are mainly used in bus-
based networks that support upto 10 Mbps.
Familiar technology: Bus topology is a familiar technology as the installation and
troubleshooting techniques are well known, and hardware components are easily
available.
Limited failure: A failure in one node will not have any effect on other nodes.
Data Communication
26
Ring Topology:
Ring topology is like a bus topology, but with connected
ends.
The node that receives the message from the previous
endless loop.
It has no terminated ends, i.e., each node is connected to
Ring Topology
Data Communication
29
Ring Topology:
The data in a ring topology flow in a clockwise direction.
Advantages of Ring topology:
Network Management: Faulty devices can be removed from the
network without bringing the network down.
Product availability: Many hardware and software tools for
network operation and monitoring are available.
Cost: Twisted pair cabling is inexpensive and easily available.
Therefore, the installation cost is very low.
Reliable: It is a more reliable network because the communication
system is not dependent on the single host computer.
Data Communication
30
Categories of Networks
Local Area Networks (LANs)
Shortdistances
Designed to provide local interconnectivity
Categories of Networks
LAN(Local Area Network)
• Local Area Network is a group of computers connected to each
other in a small area such as a building, or office.
• LAN is used for connecting two or more personal computers through
a communication medium such as a twisted pair, coaxial cable, etc.
• It is less costly as it is built with inexpensive hardware such as hubs,
network adapters, and ethernet cables.
• The data is transferred at an extremely faster rate in the Local Area
Network.
• Local Area Network provides higher security.
Data Communication
33
Categories of Networks
MAN(Metropolitan Area Network)
• A metropolitan area network is a network that covers a larger
geographic area by interconnecting a different LAN to form a larger
network.
• Government agencies use MAN to connect to the citizens and private
industries.
• In MAN, various LANs are connected to each other through a telephone
exchange line.
• The most widely used protocols in MAN are RS-232, Frame Relay, ATM,
ISDN, OC-3, ADSL, etc.
• It has a higher range than the Local Area Network(LAN).
Data Communication
34
Categories of Networks
WAN(Wide Area Network)
• A Wide Area Network is a network that extends over a large
geographical area such as states or countries.
• A Wide Area Network is quite a bigger network than the LAN.
• A Wide Area Network is not limited to a single location, but it
spans over a large geographical area through a telephone line,
fiber optic cable, or satellite links.
• The internet is one of the biggest WANs in the world.
• A Wide Area Network is widely used in the field of Business,
government, and education.
Data Communication
35
Internetwork
• An internetwork is defined as two or more computer network
LANs or WAN or computer network segments are connected
using devices, and they are configured by a local addressing
scheme. This process is known as internetworking.
• An interconnection between public, private, commercial,
industrial, or government computer networks can also be
defined as internetworking.
• The reference model used for internetworking is Open
System Interconnection(OSI).
Data Communication
36
Layered Architecture
We use the concept of layers in
our daily life.
As an example, let us consider
two friends who communicate
through postal mail.
The process of sending a letter
to a friend would be complex if
there were no services
available from the post office
Data Communication
37
Physical layer:
Data Communication
42
Physical layer:
The main functionality of the physical layer is to transmit the individual bits from
one node to another node.
It is the lowest layer of the OSI model.
It establishes, maintains and deactivates the physical connection.
Functions of a Physical layer:
Line Configuration: It defines the way how two or more devices can be
connected physically.
Data Transmission: It defines the transmission mode whether it is a simplex,
half-duplex or full-duplex mode between the two devices on the network.
Topology: It defines the way how network devices are arranged.
Signals: It determines the type of signal used for transmitting the information.
Data Communication
43
Data-Link Layer:
Data Communication
44
Data-Link Layer:
This layer is responsible for the error-free transfer of data frames.
It defines the format of the data on the network.
It provides reliable and efficient communication between two or
more devices.
It is mainly responsible for the unique identification of each device
that resides on a local network.
Data Communication
45
Data-Link Layer:
• It contains two sub-layers:
• Logical Link Control Layer
• It is responsible for transferring the packets to the Network layer.
• It also provides flow control.
• Media Access Control Layer
• A Media access control layer is a link between the Logical Link
Control layer and the network's physical layer.
• It is used for transferring the packets over the network.
Data Communication
46
Data-Link Layer:
Functions of the Data-link layer
• Framing: The data link layer translates the physical's raw bit stream
into packets known as Frames.
• The Data link layer adds the header and trailer to the frame. The
header which is added to the frame contains the hardware
destination and source address.
(Cyclic Redundancy Check) that is placed to the Data link layer's trailer which
• 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.
Data Communication
48
Network Layer;
It is a layer 3 that manages device addressing, and tracks the
location of devices on the network.
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.
Routers are the layer 3 devices, they are specified in this layer
and used to provide the routing services within an internetwork.
The protocols used to route the network traffic are known as
Network layer protocols. Examples of protocols are IP and Ipv6.
Data Communication
50
Network Layer
Data Communication
51
Transport Layer:
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.
The main responsibility of the transport layer is to transfer the
data completely.
It receives the data from the upper layer and converts them
into smaller units known as segments.
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.
Data Communication
54
Transport Layer:
Data Communication
55
Session Layer:
• The Session layer is used to establish, maintain and synchronize the
interaction between communicating devices.
Functions of Session layer:
• Dialog control: The 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.
• Synchronization: The 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.
Data Communication
59
Session Layer:
Data Communication
60
Presentation Layer:
• A Presentation layer is mainly concerned with the syntax
and semantics of the information exchanged between the
two systems.
• It acts as a data translator for a network.
• This layer is a part of the operating system that converts
the data from one presentation format to another format.
• The Presentation layer is also known as the syntax layer.
Data Communication
61
Presentation Layer:
Data Communication
62
Application layer:
• An application layer serves as a window for users and
application processes to access network service.
• It handles issues such as network transparency, resource
allocation, etc.
• This layer provides network services to the end-users.
Data Communication
64
TCP/IP model
• The TCP/IP model was developed prior to the OSI model.
• The TCP/IP model consists of five layers: the application layer,
transport layer, network layer, data link layer and physical layer.
• The first four layers provide physical standards, network
interface, internetworking, and transport functions that
correspond to the first four layers of the OSI model.
• Remaining three layers are represented in TCP/IP model by a
single layer called the application layer.
• TCP/IP is a hierarchical protocol made up of interactive modules,
and each of them provides specific functionality.
Data Communication
67
TCP/IP model
68
References
W. Stallings, Data and Computer Communications, (10e), Pearson Education,
2014.
B. A. Forouzan, Data Communications & Networking, (5e), McGraw Hill, 2013.
D. P. Bertsekas, R. G. Gallager, Data Networks, (2e), Prentice Hall of India,
2011.
A. S. Tenenbaum, Computer Networks, (5e), Prentice Hall of India, 2008.
L. L. Peterson, B. S. Davie, Computer Networks: A Systems Approach, (5e),
Morgan Kaufmann Publishers, 2011.