# Different Network Topology Tutorial With Example

In the previous tutorial, we have studied about the various techniques of switching. To take this course ahead, we will now look at the network topology used in computer networks.

### What is a Network Topology?

The schematic arrangement of various nodes or computers in a computer network is often referred to as a network topology.

Network Topology could be:

• Physical topology e.g. Mesh topology, Bus topology, Ring topology, Star topology
• Logical topology e.g. IEEE 802.3, IEEE 802.5

We focus upon the physical topologies. Physical arrangement of systems and their connection with the cables is called physical topology.

## 1. Mesh Topology

Mesh topology include connection of every device to every other device via some channel. If N number of devices are connected with each other in mesh topology, then, total number of ports that is required by each device is N-1.

Mesh Topology

In the above figure, there are five devices which are connected to each other using mesh topology. Thus, a total of 4 ports are required for each node.

Note:

• It is worth noting that if a total of N devices are connected with each other in mesh network topology, then, the total number of dedicated links required to connect all of them = NC2 i.e. $( \frac {N * (N-1)}{2} )$.
• In the above example, we can see that a total of $( \frac {5 * (5-1)}{2} )$ = 10 links are there.

• Robust.
• Fault can be easily diagnosed.
• Reliable data since data transfer occurs through dedicated channels or links.
• Security and privacy are ensured.

• Difficult to install and configure.
• Since this topology requires bulk wiring, it is a costly arrangement and thus it is preferred
for lesser no of devices.
• It is costly to maintain.

## 2. Star Topology

All the computers are connected to a single hub via cables. This hub is said to be the central node in star topology. All other nodes or what we say computers are connected to this hub via cables.
A hub can be passive like broadcasting devices or active and act like an intelligent device. Active hubs may act as a repeater for data flow.

Star Topology

• Star network topology leads to a faster performance with few nodes and low network traffic.
• The hubs are easier to upgrade.
• The nodes connected through star topology are easier to troubleshoot.
• Since ‘N’ devices are connected to each other in star topology, then, ‘N’ number of cables is required to connect them. Thus, it is easy to set up, install and modify a star topology.
• Since only the failed node is affected, remaining nodes can still function smoothly.

• The cost of installation of star topology is still high and it is expensive.
• Performance of star topology is based on the hub’s capacity.
• If the hubs fail in case of a star topology, then, the entire arrangement of networks will fail since all the defined nodes are connected to the hub.

## 3. Bus Topology

All the computers are connected to a common cable called the bus in the bus topology. The data is transmitted in a single direction from one end of the cable to another end in the bus topology arrangement.

Bus Topology

• Only one cable is required to connect to all the nodes called the ‘backbone cable’. A total of ‘n’ drop lines are required. Thus, the length of the cables required is less as compared to the other topologies.
• It is a cost effective arrangement of nodes.
• It is preferred in small networks.

• If the backbone cable is damaged or a failure occurs in this cable, then, the entire network comes to a halt.
• The performance of the network decreases in case of a heavy network.
• The backbone cable has a limited length.
• This network topology is slightly slower than ring topology.

## 4. Ring Topology

In ring topology, the computer is connected to only its two neighbours instead of all the computers in the network.

Ring Topology

Flow of information and transmission of data in the ring topology:

• One of the computers is selected as monitor station in one network. The monitor takes all the responsibility to perform the operations.
• Let’s call the computers to be stations. A token is circulated around in the ring. In order to transmit the data, the circulating token has to be held by the station that wish to transmit the data. Once the transmission is successful, the token held by the station is released so that it can be used by other stations for transmission.
• The token circulates around the ring while no transmission is being done by any of the stations.
• The token can be released using the two techniques:
Early Token Release: The token is transmitted soon after data is released.
Delay Token Release: The token is released after the receiver acknowledges.
We have studied about these terms in greater depth in the previous tutorial. Please refer to access control methods.

• It is cheap to install and expand the arrangements in ring topology.
• The transmitting network in case of ring network topology can never be affected by the high intensity of traffic or by adding the number of nodes. This is because only those nodes which have tokens can transmit the data. Thus, there is least possibility of collision.