You are on page 1of 10

5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

Types of Network Topology


Difficulty Level :
Easy ● Last Updated :
31 Aug, 2021

The arrangement of a network that comprises nodes and connecting lines via sender and

receiver is referred to as network topology. The various network topologies are:

a) Mesh Topology :

In a mesh topology, ever y device is connected to another device via a par ticular channel. 

Figure 1: Ever y device is connected with another via dedicated channels. These channels

We
are use cookies as
known to ensure you have the best browsing experience on our website. By using our
links. 
Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy

https://www.geeksforgeeks.org/types-of-network-topology/ 1/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

Start Your Coding Journey Now! Login Register

Suppose, N number of devices are connected with each other in a mesh topology, the

total number of por ts that are required by each device is N-1. In Figure 1, there are 5

devices connected to each other, hence the total number of por ts required by each

device is 4. Total number of por ts required=N*(N-1).

Suppose, N number of devices are connected with each other in a mesh topology, then

N
the total number of dedicated links required to connect them is C2 i.e. N(N-1)/2. In

Figure 1, there are 5 devices connected to each other, hence the total number of links

required is 5*4/2 = 10.

Advantages of this topology : 

It is robust.

The fault is diagnosed easily. Data is reliable because data is transferred among the

devices through dedicated channels or links.

Provides security and privacy.

Problems with this topology : 

Installation and configuration are difficult.

The cost of cables is high as bulk wiring is required, hence suitable for less number of

devices.
We use cookies to ensure you have the best browsing experience on our website. By using our
Got It !
site,The
you
acknowledge that you have read
cost of maintenance isand understood our
Cookie
high. ▲ Policy &
Privacy Policy

https://www.geeksforgeeks.org/types-of-network-topology/ 2/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

b) Star Topology :

Start Your Coding Journey Now! Login


In star topology, all the devices are connected to a single hub through a cable. This hub is
Register
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. 

Figure 2: A star topology having four systems connected to a single point of connection

i.e. hub. 

a Advantages of this 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 por t i.e. to connect to the hub, therefore the total number

of por ts required is N.

Problems with this topology : 

If the concentrator (hub) on which the whole topology relies fails, the whole system

will crash down.

The cost of installation is high.

Per formance is based on the single concentrator i.e. hub.

We use cookies to ensure you have the best browsing experience on our website. By using our
Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy

https://www.geeksforgeeks.org/types-of-network-topology/ 3/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

c) Bus Topology :

Start Your Coding Journey Now! Login


Bus topology is a network type in which ever y computer and network device is connected
Register
to a single cable. It transmits the data from one end to another in a single direction. No

bi-directional feature is in bus topology. It is a multi-point connection and a non-robust

topology because if the backbone fails the topology crashes.

Figure 3: A bus topology with shared backbone cable. The nodes are connected to the

channel via drop lines. 

Advantages of this topology : 

If N devices are connected to each other in a bus topology, then the number of cables

required to connect them is 1, which is known as backbone cable, and N drop lines are

required.

The cost of the cable is less as compared to other topologies, but it is used to build

small networks.

 Problems with this topology : 

If the common cable fails, then the whole system will crash down.

If the network traffic is heav y, it increases collisions in the network. To avoid this,

various protocols are used in the M AC layer known as Pure Aloha, Slotted Aloha,

CSM A/CD, etc.

We use cookies to ensure you have the best browsing experience on our website. By using our
Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy

https://www.geeksforgeeks.org/types-of-network-topology/ 4/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

Security is ver y low.

Start Your Coding Journey Now! Login Register


d) Ring Topology :

In this topology, it forms a ring connecting devices with its exactly two neighboring

devices.

A number of repeaters are used for Ring topology with a 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.

Data Structures Algorithms Interview Preparation Topic-wise Practice C++ Java Python C
The transmission is unidirectional, but it can be made bidirectional by having 2

connections between each Network Node, it is called Dual Ring Topology.

Figure 4: A ring topology comprises 4 stations connected with each forming a ring. 

The following operations take place in ring topology are : 

1. One station is known as a monitor station which takes all the responsibility to per form

the operations.

2. To transmit the data, the station has to hold the token. Af ter the transmission is done,

the token is to be released for other stations to use.


We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you
acknowledge
3. When that you
no station have read and understood
is transmitting our
Cookie
the data, thenPolicy
▲ &
Privacywill
the token Policy
circulate in the ring.

https://www.geeksforgeeks.org/types-of-network-topology/ 5/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

4. There are two types of token release techniques: Early token release releases the

token just af ter transmitting the data and Delay token release releases the token af ter

Start Your Coding Journey Now!


the acknowledgment is received from the receiver.
Login Register

Advantages of this topology : 

The possibility of collision is minimum in this type of topology.

Cheap to install and expand.

Problems with this topology : 

Troubleshooting is difficult in this topology.

The addition of stations in between or removal of stations can disturb the whole

topology.

Less secure.

e) Tree Topology :

This topology is the variation of Star topology. This topology has a hierarchical flow of

data. 

Figure 5: In this, the various secondar y hubs are connected to the central hub which

We use cookies
contains theto repeater.
ensure you have
In the
thisbest browsing
data flow experience
from top on our
to website.
bottom Byi.e.
usingfrom
our the central hub to
Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy
secondar y and then to the devices or from bottom to top i.e. devices to the secondar y hub

https://www.geeksforgeeks.org/types-of-network-topology/ 6/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

and then to the central hub. It is a multi-point connection and a non-robust topology

Start Your Coding Journey Now!


because if the backbone fails the topology crashes.

 
Login Register

Advantages of this topology : 

It allows more devices to be attached to a single central hub thus it decreases the

distance that is traveled by the signal to come to the devices.

It allows the network to get isolate and also prioritize from different computers.

Problems with this topology :  

If the central hub gets fails the entire system fails.

The cost is high because of cabling.

Like 250

Previous Next

RECOMMENDED ARTICLES Page : 1 2 3

Difference between Tree Topology Difference between Mesh Topology


01 05
and Bus Topology and Bus Topology
08, Jun 20 04, May 20

Difference between Ring Topology Difference between Star Topology


02
and Mesh Topology 06
and Tree Topology
17, May 19
26, May 20

We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy
Difference between Ring Topology
https://www.geeksforgeeks.org/types-of-network-topology/ 7/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

and Bus Topology in Computer Difference between Ring Topology


03 Networks 07 and Tree Topology
Start Your Coding Journey Now! Login Register
26, May 20
29, Apr 20

Difference between Star topology Difference between Mesh Topology


04 08
and Bus topology and Tree Topology
04, May 20 08, Jun 20

Ar ticle Contributed By :

GeeksforGeeks

Vote for difficulty

Current difficulty :
Easy

Easy Normal Medium Hard Expert

Improved By : itskawal2000, nehasoni0523, devmathur164, kunalsharma2k18mc060,


krishnanand3, babayaga18, swst1k

Article Tags : Data Link Layer, Computer Networks, GATE CS

Practice Tags : Computer Networks

Improve Article Report Issue

Writing code in comment?


Please use ide.geeksforgeeks.org,
generate link and share the link here.
We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy
Load Comments
https://www.geeksforgeeks.org/types-of-network-topology/ 8/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks
Load Comments

Start Your Coding Journey Now! Login Register

5th Floor, A-118,

Sector-136, Noida, Uttar Pradesh - 201305


feedback@geeksforgeeks.org

Company Learn
About Us Algorithms
Careers Data Structures
In Media SDE Cheat Sheet
Contact Us Machine learning
Privacy Policy CS Subjects
Copyright Policy Video Tutorials

News Languages
Python
Top News
Java
Technology
CPP
Work & Career
Golang
Business
C#
Finance
SQL
Lifestyle

Web Development Contribute


Web Tutorials Write an Article
Django Tutorial Improve an Article
HTML Pick Topics to Write
CSS Write Interview Experience
We use cookies to ensureJavaScript Internships
you have the best browsing experience on our website. By using our
Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy

https://www.geeksforgeeks.org/types-of-network-topology/ 9/10
5/30/22, 3:44 PM Types of Network Topology - GeeksforGeeks

Bootstrap Video Internship

Start Your Coding Journey Now!


@geeksforgeeks
Login

, Some rights reserved
Register

We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you
acknowledge that you have read and understood our
Cookie
▲ Policy &
Privacy Policy

https://www.geeksforgeeks.org/types-of-network-topology/ 10/10

You might also like