Computer Network Basics
Computer Network Basics
Network Topologies
Network Topology is the schematic description of a network arrangement, connecting various
nodes(sender and receiver) through lines of connection.
BUS Topology
Bus topology is a network type in which every computer and network device is connected to
single cable. When it has exactly two endpoints, then it is called Linear Bus topology.
1. It is cost effective.
2. Cable required is least compared to other network topology.
3. Used in small networks.
4. It is easy to understand.
5. Easy to expand joining two cables together.
Disadvantages of Bus Topology
RING Topology
It is called ring topology because it forms a ring as each computer is connected to another
computer, with the last one connected to the first. Exactly two neighbours for each device.
1. A number of repeaters are used for Ring topology with large number of nodes, because if
someone wants to send some data to the last node in the ring topology with 100 nodes, then
the data will have to pass through 99 nodes to reach the 100th node. Hence to prevent data
loss repeaters are used in the network.
2. The transmission is unidirectional, but it can be made bidirectional by having 2 connections
between each Network Node, it is called Dual Ring Topology.
3. In Dual Ring Topology, two ring networks are formed, and data flow is in opposite direction
in them. Also, if one ring fails, the second ring can act as a backup, to keep the network up.
4. Data is transferred in a sequential manner that is bit by bit. Data transmitted, has to pass
through each node of the network, till the destination node.
1. Transmitting network is not affected by high traffic or by adding more nodes, as only the
nodes having tokens can transmit data.
2. Cheap to install and expand
STAR Topology
In this type of topology all the computers are connected to a single hub through a cable. This hub
is the central node and all others nodes are connected to the central node.
Features of Star Topology
1. Routing
2. Flooding
1. Partial Mesh Topology : In this topology some of the systems are connected in the same
fashion as mesh topology but some devices are only connected to two or three devices.
2. Full Mesh Topology : Each and every nodes or devices are connected to each other.
1. Fully connected.
2. Robust.
3. Not flexible.
1. Heavily cabled.
2. Costly.
3. If more nodes are added maintenance is difficult.
4. Central hub fails, network fails.
HYBRID Topology
It is two different types of topologies which is a mixture of two or more topologies. For example
if in an office in one department ring topology is used and in another star topology is used,
connecting these topologies will result in Hybrid Topology (ring topology and star topology).
It is also called LAN and designed for small physical areas such as an office,
group of buildings or a factory. LANs are used widely as it is easy to design and
to troubleshoot. Personal computers and workstations are connected to each
other through LANs. We can use different types of topologies through LAN,
these are Star, Ring, Bus, Tree etc.
LAN can be a simple network like connecting two computers, to share files and
network among each other while it can also be as complex as interconnecting
an entire building.
LAN networks are also widely used to share resources like printers, shared
hard-drive etc.
Characteristics of LAN
Applications of LAN
One of the computer in a network can become a server serving all the
remaining computers called clients. Software can be stored on the server
and it can be used by the remaining clients.
Connecting Locally all the workstations in a building to let them
communicate with each other locally without any internet access.
Sharing common resources like printers etc are some common applications
of LAN.
Advantages of LAN
Disadvantages of LAN
High Setup Cost: Although the LAN will save cost over time due to shared
computer resources, but the initial setup costs of installing Local Area
Networks is high.
Privacy Violations: The LAN administrator has the rights to check personal
data files of each and every LAN user. Moreover he can check the internet
history and computer use history of the LAN user.
Data Security Threat: Unauthorised users can access important data of an
organization if centralized data repository is not secured properly by the LAN
administrator.
LAN Maintenance Job: Local Area Network requires a LAN Administrator
because, there are problems of software installations or hardware failures or
cable disturbances in Local Area Network. A LAN Administrator is needed at
this full time job.
Covers Limited Area: Local Area Network covers a small area like one
office, one building or a group of nearby buildings.
Metropolitan Area Network (MAN)
It was developed in 1980s.It is basically a bigger version of LAN. It is also called
MAN and uses the similar technology as LAN. It is designed to extend over the
entire city. It can be means to connecting a number of LANs into a larger
network or it can be a single cable. It is mainly hold and operated by single
private company or a public company.
Characteristics of MAN
Advantages of MAN
Disadvantages of MAN
More cable required for a MAN connection from one place to another.
It is difficult to make the system secure from hackers and industrial
espionage(spying) graphical regions.
Advantages of WAN
Disadvantages of WAN
Need a good firewall to restrict outsiders from entering and disrupting the
network.
Setting up a network can be an expensive, slow and complicated. The bigger
the network the more expensive it is.
Once set up, maintaining a network is a full-time job which requires network
supervisors and technicians to be employed.
Security is a real issue when many different people have the ability to use
information from other computers. Protection against hackers and viruses
adds more complexity and expense.
1. Application Layer
2. Presentation Layer
3. Session Layer
4. Transport Layer
5. Network Layer
6. Datalink Layer
7. Physical Layer
Below we have the complete representation of the OSI model, showcasing all
the layers and how they communicate with each other.
In the table below, we have specified the protocols used and the data
unit exchanged by each layer of the OSI Model.
Feature of OSI Model
1. Network Layer routes the signal through different channels from one node to
other.
2. It acts as a network controller. It manages the Subnet traffic.
3. It decides by which route data should take.
4. It divides the outgoing messages into packets and assembles the incoming
packets into messages for higher levels.
Transport layer breaks the message (data) into small units so that they are
handled more efficiently by the network layer.
1. Presentation Layer takes care that the data is sent in such a way that the
receiver will understand the information (data) and will be able to use the
data.
2. While receiving the data, presentation layer transforms the data to be ready
for the application layer.
3. Languages(syntax) can be different of the two communicating systems.
Under this condition presentation layer plays a role of translator.
4. It perfroms Data compression, Data encryption, Data conversion etc.
1. OSI model distinguishes well between the services, interfaces and protocols.
2. Protocols of OSI model are very well hidden.
3. Protocols can be replaced by new protocols as technology changes.
4. Supports connection oriented services as well as connectionless service.
The overall idea was to allow one application on one computer to talk to(send
data packets) another application running on different computer.
Demerits of TCP/IP
1. In this, the transport layer does not guarantee delivery of packets.
2. The model cannot be used in any other application.
3. Replacing protocol is not easy.
4. It has not clearly separated its services, interfaces and protocols.
Comparison of OSI and TCP/IP
Reference Model
Now it's time to compare both the reference model that we have learned till
now. Let's start by addressing the similarities that both of these models have.
Following are some similarities between OSI Reference Model and TCP/IP
Reference Model.
2. In OSI model the transport layer 2. In TCP/IP model the transport layer does
guarantees the delivery of packets. not guarantees delivery of packets. Still the
TCP/IP model is more reliable.
3. Follows vertical approach. 3. Follows horizontal approach.
9. OSI model has a problem of 9. TCP/IP model does not fit any protocol
fitting the protocols into the model.
10. Protocols are hidden in OSI 10. In TCP/IP replacing protocol is not easy.
model and are easily replaced as
the technology changes.
11. OSI model defines services, 11. In TCP/IP, services, interfaces and
interfaces and protocols very clearly protocols are not clearly separated. It is also
and makes clear distinction between protocol dependent.
them. It is protocol independent.
12. It has 7 layers 12. It has 4 layers