DCN Unit1
DCN Unit1
A. The term telecommunication means communication at a distance. The word data refers
to information presented in whatever form is agreed upon by the parties creating and using
the data. Data communications are the exchange of data between two devices via some
form of transmission medium such as a wire cable.
1. Message :
This is most useful asset of a data communication system. The message
simply refers to data or piece of information which is to be communicated.
A message could be in any form, it may be in form of a text file, an audio
file, a video file, etc.
2. Sender :
To transfer message from source to destination, someone must be there
who will play role of a source. Sender plays part of a source in data
communication system. It is simple a device that sends data message.
The device could be in form of a computer, mobile, telephone, laptop,
video camera, or a workstation, etc.
3. Receiver :
It is destination where finally message sent by source has arrived. It is a
device that receives message. Same as sender, receiver can also be in
form of a computer, telephone mobile, workstation, etc.
4. Transmission Medium :
In entire process of data communication, there must be something which
could act as a bridge between sender and receiver, Transmission medium
plays that part. It is physical path by which data or message travels from
sender to receiver. Transmission medium could be guided (with wires) or
unguided (without wires), for example, twisted pair cable, fiber optic
cable, radio waves, microwaves, etc.
Advantages:
Simplex mode is the easiest and most reliable mode of communication.
It is the most cost-effective mode, as it only requires one communication
channel.
There is no need for coordination between the transmitting and receiving
devices, which simplifies the communication process.
Simplex mode is particularly useful in situations where feedback or
response is not required, such as broadcasting or surveillance.
Disadvantages:
Only one-way communication is possible.
There is no way to verify if the transmitted data has been received
correctly.
Simplex mode is not suitable for applications that require bidirectional
communication.
2. Half-Duplex Mode –
In half-duplex mode, each station can both transmit and receive, but
not at the same time. When one device is sending, the other can only
receive, and vice versa. The half-duplex mode is used in cases where
there is no need for communication in both directions at the same
time. The entire capacity of the channel can be utilized for each
direction.
Example: Walkie-talkie in which message is sent one at a time and
messages are sent in both directions.
Advantages:
Half-duplex mode allows for bidirectional communication, which is useful
in situations where devices need to send and receive data.
It is a more efficient mode of communication than simplex mode, as the
channel can be used for both transmission and reception.
Half-duplex mode is less expensive than full-duplex mode, as it only
requires one communication channel.
Disadvantages:
Half-duplex mode is less reliable than Full-Duplex mode, as both devices
cannot transmit at the same time.
There is a delay between transmission and reception, which can cause
problems in some applications.
There is a need for coordination between the transmitting and receiving
devices, which can complicate the communication process.
. Full-Duplex Mode –
In full-duplex mode, both stations can transmit and receive simultaneously.
In full_duplex mode, signals going in one direction share the capacity of the
link with signals going in another direction, this sharing can occur in two
ways:
Either the link must contain two physically separate transmission paths,
one for sending and the other for receiving.
Or the capacity is divided between signals traveling in both directions.
Advantages:
Full-duplex mode allows for simultaneous bidirectional communication,
which is ideal for real-time applications such as video conferencing or
online gaming.
It is the most efficient mode of communication, as both devices can
transmit and receive data simultaneously.
Full-duplex mode provides a high level of reliability and accuracy, as there
is no need for error correction mechanisms.
Disadvantages:
Full-duplex mode is the most expensive mode, as it requires two
communication channels.
It is more complex than simplex and half-duplex modes, as it requires two
physically separate transmission paths or a division of channel capacity.
Full-duplex mode may not be suitable for all applications, as it requires a
high level of bandwidth and may not be necessary for some types of
communication.
There are a lot of criteria that make a network better than others, but; there are three basic yet
important criteria to be fulfilled for a network:
1. Performance
2. Reliability
3. Security
Performance
It measures how well a network can support communication between two nodes in the
Network or with nodes of other networks in the global scope. The two major tasks in a
network are the Transmission and reception of information. We need to focus
on how fast a message is transmitted and how fast a node can receive a request
and find the needed information. Hence, to measure the performance of a network, here
are the major factors to be considered:
1. Transit time: The total time a node takes to transmit a message from the
beginning until the last character of the message. Transit stands for
Transmission.
2. Response time: The total time a node takes to process an inquiry or a request
from another node/ device and respond. It is the time between the inquiry's
end and the response's beginning.
3. Throughput: Throughput measures how much data is transferred successfully
from the sender node to the receiver node in a particular time frame. It is
measured in bits per second or data per second.
4. Bandwidth: The maximum possible throughput capacity of the Network. We
can measure it in bits, megabits, or gigabits per second. It defines the highest
limit.
5. Delay/ Latency: As we discussed, Throughput is the number of data packets
successfully delivered in a given time. Delay is the measure of time taken to do
the delivery.
Reliability
It is the degree to which a network is trustworthy, consistent, and dependable. The
Reliability of a network is measured by the frequency of failures it is undergoing and
the time it takes to recover from the failures. Overall, the Robustness of the
Network at times of catastrophic events is measured to check how reliable the
Network is.
Security
It measures how the Network secures the data amid failures and attacks and the
policies and procedures it implements to protect itself from damages and
unauthorized access. In Reliability, the frequency of failures is checked. In Security,
network attacks and data breaches are checked.
Q. What is physical topology of network? Explain following physical
topologies of network: 1. Mesh 2. Star 3. Bus 4. Ring 5. Hybrid
A. Physical topology refers to the physical layout or arrangement of devices, cables, and
other network components in a network. It defines how these components are physically
connected to each other and how data is transmitted in the network. Different types of
physical topologies are used in networking, each with its own advantages and disadvantages.
Some common physical topologies include:
Mesh Topology
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 other nodes are connected to the
central node. The hub can be passive in nature i.e., not an intelligent hub such
as broadcasting devices, at the same time the hub can be intelligent known as
an active hub. Active hubs have repeaters in them. Coaxial cables or RJ-45
cables are used to connect the computers. In Star Topology, many popular
Ethernet LAN protocols are used as CD(Collision Detection), CSMA (Carrier
Sense Multiple Access), etc.
Advantages of Star Topology
If N devices are connected to each other in a star topology, then the number
of cables required to connect them is N. So, it is easy to set up.
Each device requires only 1 port i.e. to connect to the hub, therefore the
total number of ports required is N.
It is Robust. If one link fails only that link will affect and not other than that.
Easy to fault identification and fault isolation.
Star topology is cost-effective as it uses inexpensive coaxial cable.
Drawbacks of Star Topology
If the concentrator (hub) on which the whole topology relies fails, the whole
system will crash down.
The cost of installation is high.
Performance is based on the single concentrator i.e. hub.
A common example of star topology is a local area network (LAN) in an office
where all computers are connected to a central hub. This topology is also used
in wireless networks where all devices are connected to a wireless access
point.
Bus Topology is a network type in which every computer and network device
is connected to a single cable. It is bi-directional. It is a multi-point
connection and a non-robust topology because if the backbone fails the
topology crashes. In Bus Topology, various MAC (Media Access Control)
protocols are followed by LAN ethernet connections like TDMA, Pure Aloha,
CDMA, Slotted Aloha, etc.
Ring Topology
Hybrid Topology
LAN or Local Area Network connects network devices in such a way that
personal computers 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. 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 is limited.
By definition, the connections must be high-speed and relatively inexpensive
hardware (Such as hubs, network adapters, and Ethernet cables). LANs cover
a smaller geographical area (Size is limited to a few kilometres) and are
privately owned. One can use it for an office building, home, hospital, school,
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 LANs 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 computers, while larger LANs can
accommodate thousands of computers. LAN has a range up to 2km. A LAN
typically relies mostly on wired connections for increased speed and security,
but wireless connections can also be part of a LAN. The fault tolerance of a
LAN is more and there is less congestion in this network. For example A bunch
of students playing Counter-Strike in the same room (without internet).
Advantages:
Provides fast data transfer rates and high-speed communication.
Easy to set up and manage.
Can be used to share peripheral devices such as printers and scanners.
Provides increased security and fault tolerance compared to WANs.
Disadvantages:
Limited geographical coverage.
Limited scalability and may require significant infrastructure upgrades to
accommodate growth.
May experience congestion and network performance issues with
increased usage.
MAN or Metropolitan area Network covers a larger area than that covered by
a LAN and a smaller area as compared to WAN. MAN has a range of 5-50km.
It connects two or more computers that are apart but reside in the same or
different cities. It covers a large geographical area and may serve as an ISP
(Internet Service Provider). MAN is designed for customers who need high-
speed connectivity. Speeds of MAN range in terms of Mbps. It’s hard to design
and maintain a Metropolitan Area Network.
The fault tolerance of a MAN is less and also there is more congestion in the
network. It is costly and may or may not be owned by a single organization.
The data transfer rate and the propagation delay of MAN are moderate.
Devices used for transmission of data through MAN are Modem and
Wire/Cable. Examples of a MAN are part of the telephone company network
that can provide a high-speed DSL line to the customer or the cable TV
network in a city.
Advantages:
Provides high-speed connectivity over a larger geographical area than
LAN.
Can be used as an ISP for multiple customers.
Offers higher data transfer rates than WAN in some cases.
Disadvantages:
Can be expensive to set up and maintain.
May experience congestion and network performance issues with
increased usage.
May have limited fault tolerance and security compared to LANs.
WAN or Wide Area Network is a computer network that extends over a large
geographical area, although it might be confined within the bounds of a state
or country. WAN has a range of above 50 km. A WAN could be a connection
of LAN connecting to other LANs via telephone lines and radio waves and may
be limited to an enterprise (a corporation or an organization) or accessible to
the public. The technology is high-speed and relatively expensive.
There are two types of WAN: Switched WAN and Point-to-Point WAN. WAN
is difficult to design and maintain. Similar to a MAN, the fault tolerance of a
WAN is less and there is more congestion in the network. A Communication
medium used for WAN is PSTN or Satellite Link. Due to long-distance
transmission, the noise and error tend to be more in WAN.
WAN’s data rate is slow about a 10th LAN’s speed since it involves increased
distance and increased number of servers and terminals etc. The speed of
WAN ranges from a few kilobits per second (Kbps) to megabits per second
(Mbps). Propagation delay is one of the biggest problems faced here. Devices
used for the transmission of data through WAN are Optic wires, Microwaves,
and Satellites. An example of a Switched WAN is the asynchronous transfer
mode (ATM) network and Point-to-Point WAN is a dial-up line that connects a
home computer to the Internet.
Advantages:
Covers large geographical areas and can connect remote locations.
Provides connectivity to the internet.
Offers remote access to resources and applications.
Can be used to support multiple users and applications simultaneously.
Disadvantages:
Can be expensive to set up and maintain.
Offers slower data transfer rates than LAN or MAN.
May experience higher latency and longer propagation delays due to longer
distances and multiple network hops.
May have lower fault tolerance and security compared to LANs.
Framing: Framing is a function of the data link layer. It provides a way for
a sender to transmit a set of bits that are meaningful to the receiver. This
can be accomplished by attaching special bit patterns to the beginning
and end of the frame.
Physical addressing: After creating frames, the Data link layer adds
physical addresses (MAC addresses) of the sender and/or receiver in the
header of each frame.
Error control: The data link layer provides the mechanism of error
control in which it detects and retransmits damaged or lost frames.
Flow Control: The data rate must be constant on both sides else the
data may get corrupted thus, flow control coordinates the amount of data
that can be sent before receiving an acknowledgment.
Access control: When a single communication channel is shared by
multiple devices, the MAC sub-layer of the data link layer helps to
determine which device has control over the channel at a given time.
Network Layer – Layer 3
The network layer works for the transmission of data from one host to the other
located in different networks. It also takes care of packet routing i.e. selection
of the shortest path to transmit the packet, from the number of routes available.
The sender & receiver’s IP addresses are placed in the header by the network
layer.
A. A protocol is synonymous with rule. It consists of a set of rules that govern data
communications. It determines what is communicated, how it is communicated and
when it is communicated. The key elements of a protocol are syntax, semantics and
timing.
1. Syntax: Syntax basically represents the format of the data means in which
order data is presented. It also indicates how to read the data. It simply
means the way to represent data. For Example, let us suppose a data packet
has 16 bits, in which the first 4 bits are the sender’s address, the last 4 bits
are the receiver’s address and the rest is the message. So, this is a syntax to
represent data bits.
2. Semantics: Semantics basically refers to the meaning of each section
mentioned in syntax. It includes control information for coordination and error
handling. It also specifies which file defines which action.
3. Timing: Timing simply means when the data is to be sent and how fast
the data can be sent. For Example, if the Sender sends the data at 100
MBPS and the receiver receives it at 1 MBPS, then the data gets overflowed
at the receiver end.