Networking (Mcan 204) Unit 1
Networking (Mcan 204) Unit 1
G
Connecting the world
Introduction:
Direction of data flow (simplex, half duplex, full
In Simplex mode, the communication is unidirectional, i.e., the data flow in one
direction.
A device can only send the data but cannot receive it or it can receive the data but
cannot send the data.
This transmission mode is not very popular as mainly communications require the
two-way exchange of data. The simplex mode is used in the business field as in sales
that do not require any corresponding reply.
The radio station is a simplex channel as it transmits the signal to the listeners but
never allows them to transmit back.
Keyboard and Monitor are the examples of the simplex mode as a keyboard can only
accept the data from the user and monitor can only be used to display the data on the
screen.
The main advantage of the simplex mode is that the full capacity of the
communication channel can be utilized during transmission.
Half Full
Duplex Duplex
With duplex communication, the flow of information is bi-directional for each device.
Duplex can be further divided into two sub-categories:
In a Half-duplex channel, direction can be reversed, i.e., the station can transmit and
receive the data as well.
Messages flow in both the directions, but not at the same time.
The entire bandwidth of the communication channel is utilized in one direction at a
time.
In half-duplex mode, it is possible to perform the error detection, and if any error
occurs, then the receiver requests the sender to retransmit the data.
A Walkie-talkie is an example of the Half-duplex mode. In Walkie-talkie, one party
speaks, and another party listens. After a pause, the other speaks and first party listens.
Speaking simultaneously will create the distorted sound which cannot be understood.
In Full duplex mode, the communication is bi-directional, i.e., the data flow in both the
directions.
Both the stations can send and receive the message simultaneously.
Full-duplex mode has two simplex channels. One channel has traffic moving in one
direction, and another channel has traffic flowing in the opposite direction.
The Full-duplex mode is the fastest mode of communication between devices.
The most common example of the full-duplex mode is a telephone network. When two
people are communicating with each other by a telephone line, both can talk and listen
at the same time.
Topology is derived from two Greek words topo and logy, where topo means 'place'
and logy means 'study'. In computer networks, a topology is used to explain how a
network is physically connected and the logical flow of information in the network. A
topology mainly describes how devices are connected and interact with each other
using communication links.
Network topology defines the layout, virtual shape, or structure of the network, not
only physically but also logically. A network can have one physical topology and
multiple logical topologies at the same time.
Logical Topology: A logical topology describes the way, data flow from one computer
to another. It is bound to a network protocol and defines how data is moved
throughout the network and which path it takes. In other words, it is the way in
which the devices communicate internally.
Advantages:
a) This is faster and highly reliable than other types
of connections since there is a direct connection.
b) No need for a network operating system
c) Does not need an expensive server as individual
workstations are used to access the files
d) No need for any dedicated network technicians
because each user sets their permissions
Disadvantages:
e) The biggest drawback is that it only be used for
small areas where computers are in close
proximity.
f) You can't back up files and folders centrally
g) There is no security besides the permissions.
Users often do not require to log onto their
workstations.
CSMA: It is a media access control used to control the data flow so that data integrity
is maintained, i.e., the packets do not get lost. There are two alternative ways of
handling the problems that occur when two nodes send the messages simultaneously.
CSMA CD: CSMA CD (Collision detection) is an access method used to detect the
collision. Once the collision is detected, the sender will stop transmitting the data.
Therefore, it works on "recovery after the collision".
CSMA CA: CSMA CA (Collision Avoidance) is an access method used to avoid the
collision by checking whether the transmission media is busy or not. If busy, then the
sender waits until the media becomes idle. This technique effectively reduces the
possibility of the collision. It does not work on "recovery after the collision".
Partial Mesh Topology: In a partial mesh topology, not all but certain computers are
connected to those computers with which they communicate frequently.
Full Mesh Topology: In a full mesh topology, each computer is connected to all the
computers available in the network.
Advantages of WLANs
The most obvious advantage of a WLAN is that devices can connect wirelessly, eliminating
the need for cables. This allows homes and businesses to create local networks without
wiring the building with Ethernet. It also provides a way for small devices, such as smart
phones and tablets, to connect to the network. WLANs are not limited by the number of
physical ports on the router and therefore can support dozens or even hundreds of
devices. The range of a WLAN can easily be extended by adding one or more repeaters.
Finally, a WLAN can be easily upgraded by replacing routers with new versions — a much
easier and cheaper solution than upgrading old Ethernet cables.
Disadvantages of WLANs
Wireless networks are naturally less secure than wired networks. Any wireless device can
attempt to connect to a WLAN, so it is important to limit access to the network if security
is a concern. This is typically done using wireless authentication such as WEP or WPA,
which encrypts the communication. Additionally, wireless networks are more susceptible
to interference from other signals or physical barriers, such as concrete walls. Since LANs
offer the highest performance and security, they are still used for many corporate and
government networks.
Prepared by ANUPAM BAIDYA
CAN
Stands for "Campus Area Network." A CAN is a network that covers an educational or
corporate campus. Examples include elementary schools, university campuses, and
corporate buildings.
A campus area network is larger than a local area network LAN since it may span
multiple buildings within a specific area. Most CANs are comprised of several LANs
connected via switches and routers that combine to create a single network. They
operate similar to LANs, in that users with access to the network (wired or wireless)
can communicate directly with other systems within the network.
Prepared by ANUPAM BAIDYA
MAN
A Metropolitan Area Network is a bigger version
of LAN that uses similar technology as LAN. It
spans over a larger geographical area such as a
town or an entire city.
It can be connected using an optical fibre cable
as a communication medium. Two or more
LAN's can also be connected using routers to
create a MAN. When this type of network is
created for a specific campus, then it is termed
as CAN(Campus Area Network).
The MAN spans over a geographical area of
about 50km. The best example of MAN is the
cable television network that spans over the
whole city.
A MAN can be either a public or privately
owned network. Generally, a telephone
exchange line is most commonly used as a
communication medium in MAN. The protocols
that are used in MAN are RS-232, Frame Relay,
ISDN, etc.
Prepared by ANUPAM BAIDYA
MAN
The advantage of WAN is that it spans over a very large geographical area, and
connects a huge mass of people.
Following are the disadvantages of WAN:
1. The propagation delay is more in a WAN
2. The data rate is low
3. The error rate is high
4. It is very complex to design a WAN
Prepared by ANUPAM BAIDYA
Storage-Area Network (SAN)
As a dedicated high-speed network that connects shared pools of storage devices
to several servers, these types of networks don’t rely on a LAN or WAN. Instead,
they move storage resources away from the network and place them into their
own high-performance network. SANs can be accessed in the same fashion as a
drive attached to a server. Types of storage-area networks include converged,
virtual and unified SANs.