Network Lecture
Network Lecture
1) Simplex
A simplex communication channel only sends information in one
direction. For example, a radio station usually sends signals to the
audience but never receives signals from them, thus a radio station is
a simplex channel. It is also common to use simplex channel in fiber
optic communication.
2) Half duplex
In half duplex mode, data can be transmitted in both directions on a
signal carrier except not at the same time. At a certain point, it is
actually a simplex channel whose transmission direction can be
switched. Walkie-talkie is a typical half duplex device. It has a “push-
to-talk” button which can be used to turn on the transmitter but turn
off the receiver. Therefore, once you push the button, you cannot
hear the person you are talking to but your partner can hear you. An
advantage of half-duplex is that the single track is cheaper than the
double tracks.
What are the Transmission Impairments in
computer networks?
Transmission impairment occurs when the
received signal is different from the transmitted
signal. As we know, a signal can be transmitted as
Analog signal or it can be transmitted as a digital
signal.
In Analog signals due to transmission impairment
the resulting received signal gets different
amplitude or the shape. In the case of digitally
transmitted signals at the receiver side we get
changes in bits (0's or 1's).
Causes
There are various causes of transmission
impairments −
Noise
Distortion
Attenuation
Noise
Noise is the major factor for the transmission distortion
as any unwanted signal gets added to the transmitted
signal by which the resulting transmitted signal gets
modified and at the receiver side it is difficult to
remove the unwanted noise signal. These noises are
various kinds like shot noise, impulse noise, thermal
noise etc.
Noise is diagrammatically represented as follows −
Distortion
This kind of distortion is mainly appearing in case of
composite signals in which a composite signal has
various frequency components in it and each frequency
component has some time constraint which makes a
complete signal.
But while transmitting this composite signal, if a certain
delay happens between the frequencies components,
then there may be the chance that the frequency
component will reach the receiver end with a different
delay constraint from its original which leads to the
change in shape of the signal. The delay happens due
to environmental parameters or from the distance
between transmitter and receiver etc.
Distortion is diagrammatically represented as follows −
Attenuation
Attenuation is generally decreased in
signal strength, by which the received
signal will be difficult to receive at the
receiver end. This attenuation happens
due to the majority factor by environment
as environment imposes a lot of resistance
and the signal strength decreases as it
tries to overcome the resistance imposed.
The above picture shows that the signal loses power at its travels
time.
Attenuation is diagrammatically represented as follows −
OSI stands for Open System Interconnection is a reference model
that describes how information from a software application in
one computer moves through a physical medium to the software
application in another computer.
o OSI consists of seven layers, and each layer performs a
particular network function.
o OSI model was developed by the International Organization for
Standardization (ISO) in 1984, and it is now considered as an
architectural model for the inter-computer communications.
o OSI model divides the whole task into seven smaller and
manageable tasks. Each layer is assigned a particular task.
o Each layer is self-contained, so that task assigned to each layer
can be performed independently.
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.
7 Layers of OSI Model
There are the seven OSI layers. Each layer has different functions. A
list of seven layers are given below:
1. Physical Layer
2. Data-Link Layer
3. Network Layer
4. Transport Layer
5. Session Layer
6. Presentation Layer
7. Application Layer
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.
(Point-to-Point Connection means that the transport layer creates
a direct, logical connection between the two devices that are
communicating. This connection is like a dedicated pathway that
allows the data to travel securely and reliably from one point (the
source) to another point (the destination).)
5) 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.
6) 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.
7) Application Layer
o The bus topology is designed in such a way that all the stations
are connected through a single cable known as a backbone
cable.
o Each node is either connected to the backbone cable by drop
cable or directly connected to the backbone cable.
o 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.
o The bus topology is mainly used in 802.3 (ethernet) and 802.4
standard networks.
Advantages of Bus topology:
o 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.
o Moderate data speeds: Coaxial or twisted pair cables are
mainly used in bus-based networks that support upto 10 Mbps.
o Familiar technology: Bus topology is a familiar technology as
the installation and troubleshooting techniques are well known,
and hardware components are easily available.
o Limited failure: A failure in one node will not have any effect on
other nodes.
Disadvantages of Bus topology:
o Extensive cabling: A bus topology is quite simpler, but still it
requires a lot of cabling.
o Difficult troubleshooting: It requires specialized test equipment
to determine the cable faults. If any fault occurs in the cable,
then it would disrupt the communication for all the nodes.
o Signal interference: If two nodes send the messages
simultaneously, then the signals of both the nodes collide with
each other.
o Reconfiguration difficult: Adding new devices to the network
would slow down the network.(due to physical acess and
hardware changes)
o Attenuation: Attenuation is a loss of signal leads to
communication issues. Repeaters are used to regenerate the
signal.(due to more devices sharing the comm. Channel)
Ring Topology
Reliable: The mesh topology networks are very reliable as if any link
breakdown will not affect the communication between connected
computers.
Fast Communication: Communication is very fast between the
nodes.
Easier Reconfiguration: Adding new devices would not disrupt the
communication between other devices.
Disadvantages of Mesh topology
o Cost: A mesh topology contains a large number of connected
devices such as a router and more transmission media than
other topologies.
o Management: Mesh topology networks are very large and very
difficult to maintain and manage. If the network is not
monitored carefully, then the communication link failure goes
undetected.
o Efficiency: In this topology, redundant connections are high that
reduces the efficiency of the network.
Hybrid Topology
o The combination of various different topologies is known
as Hybrid topology.
o A Hybrid topology is a connection between different links and
nodes to transfer the data.
o When two or more different topologies are combined together
is termed as Hybrid topology and if similar topologies are
connected with each other will not result in Hybrid topology.
For example, if there exist a ring topology in one branch of ICICI
bank and bus topology in another branch of ICICI bank,
connecting these two topologies will result in Hybrid topology.
Advantages of Hybrid Topology
o Reliable: If a fault occurs in any part of the network will not
affect the functioning of the rest of the network.
o Scalable: Size of the network can be easily expanded by adding
new devices without affecting the functionality of the existing
network.
o Flexible: This topology is very flexible as it can be designed
according to the requirements of the organization.
o Effective: Hybrid topology is very effective as it can be designed
in such a way that the strength of the network is maximized and
weakness of the network is minimized.
Disadvantages of Hybrid topology
o Complex design: The major drawback of the Hybrid topology is
the design of the Hybrid network. It is very difficult to design
the architecture of the Hybrid network.
o Costly Hub: The Hubs used in the Hybrid topology are very
expensive as these hubs are different from usual Hubs used in
other topologies.
o Costly infrastructure: The infrastructure cost is very high as a
hybrid network requires a lot of cabling, network devices, etc.
Transmission methods
Circuit Switching
In circuit switching, a dedicated communication path is
established between two devices for the duration of the
connection. This method was traditionally used in telephone
networks.
Working: A physical path is reserved for the entire
communication session, ensuring that all data follows the same
route. The path remains open and unused bandwidth is wasted
when no data is transmitted.
Pros: Consistent connection, low latency(Latency refers to the
time delay between the moment data is sent and the moment
it is received and processed.).
Cons: Inefficient use of bandwidth, poor scalability.
Communication through circuit switching has 3 phases:
o Circuit establishment
o Data transfer
o Circuit Disconnect
1. Circuit Switching
Example: Traditional Telephone Networks
How It Works: Imagine making a phone call using a landline.
When you dial a number, the network establishes a direct
connection between your phone and the recipient's phone. This
connection, or "circuit," remains open for the entire duration of
the call. No other data can use this path until the call ends. If
you or the other party are silent, the path is still reserved but
unused.
Real-World Example: The old Public Switched Telephone Network
(PSTN) used circuit switching. Once a call was connected, the line
remained dedicated to that conversation until one of the parties
hung up.
PACKET SWITCHING