ITKokka
Lesson 2 · Note 15

Network Topology

📌 The Short Note

Download

📖 Explanation

Network Topology

A computer network consists of interconnected computers and other devices that communicate and share resources. Network topology describes how these devices are arranged and connected within a network.

The arrangement of devices affects how data travels, how easily the network can be managed, and what happens when a connection or device fails.

There are several types of network topologies, including Star, Bus, Ring, Tree, and Mesh. Each has its own structure, advantages, and limitations.

What Is Network Topology?

Network topology is the physical or logical arrangement of computers, network devices, and communication links in a computer network.

  • Physical topology: The actual physical arrangement of cables, computers, switches, and other network devices.
  • Logical topology: The way data flows between devices in a network, regardless of their physical arrangement.

A network can use different topologies depending on its size, cost, performance requirements, and reliability needs.

Importance of Network Topology

The choice of network topology affects several aspects of a computer network.

  • Network design: Determines how computers and other devices are connected.
  • Performance: Influences how data travels and how efficiently devices communicate.
  • Troubleshooting: Affects how easily network faults can be identified and resolved.
  • Cost: Determines the amount of cabling and networking equipment required.
  • Scalability: Influences how easily new devices can be added to the network.
  • Reliability: Determines how network failures affect communication between devices.

Types of Network Topologies

The main network topologies are Star, Bus, Ring, Tree, and Mesh.

1. Star Topology

Star topology is a network arrangement in which every device is connected to a central networking device, such as a switch or hub.

All communication between connected devices passes through this central device.

How Star Topology Works

  1. Each computer or device connects directly to the central switch or hub.
  2. When a device sends data, the data travels through its connection to the central device.
  3. The central device forwards the data to the intended destination.
  4. The destination device receives the data.

For example, when one computer sends a file to another computer, the data passes through the central switch.

Characteristics of Star Topology

  • All devices are connected to a central device.
  • Each device usually has its own dedicated cable to the central switch or hub.
  • Adding or removing a device is relatively easy.
  • A failure in one device's cable generally affects only that device.
  • The failure of the central device can disrupt communication across the network.
  • It is commonly used in homes, schools, and offices.

Advantages of Star Topology

  • Easy to install: Devices can be connected individually to the central device.
  • Easy to expand: New devices can be added without significantly changing the existing network.
  • Easy troubleshooting: A faulty cable or device can usually be identified without affecting the other connections.
  • Good fault isolation: The failure of one connected device or cable usually does not affect the rest of the network.

Disadvantages of Star Topology

  • Central device dependency: If the central switch or hub fails, communication between connected devices may stop.
  • Higher cabling cost: Each device requires a separate connection to the central device.
  • Central device cost: A switch or hub is required to connect the devices.
Real-World Example: School Computer Lab

A school computer lab may have 30 computers connected to a central network switch. Each computer uses a separate network cable to connect to the switch. If one computer's cable becomes damaged, the other computers can continue communicating.

2. Bus Topology

Bus topology is a network arrangement in which all devices are connected to a single main communication cable called the backbone cable.

Data travels along this shared cable, and devices receive the transmitted signals.

Traditional bus networks use terminators at both ends of the backbone cable to prevent signal reflections.

How Bus Topology Works

  1. A device sends data through the backbone cable.
  2. The signal travels along the shared cable.
  3. All connected devices can receive the signal.
  4. The intended destination accepts the data, while other devices ignore it.
  5. Terminators at both ends of the cable help prevent signal reflections.

Characteristics of Bus Topology

  • All devices share a single backbone cable.
  • Data is transmitted through the common communication medium.
  • Terminators are placed at both ends of the backbone cable in traditional bus networks.
  • It requires less cable than many other topologies.
  • Network performance may decrease as more devices transmit data.
  • A fault in the backbone cable can disrupt the entire network.

Advantages of Bus Topology

  • Low installation cost: It generally requires less cable than a star topology.
  • Simple design: The basic arrangement is straightforward.
  • Suitable for small networks: It can be used in small networks with limited devices.

Disadvantages of Bus Topology

  • Backbone failure: If the main cable fails, the entire network may stop working.
  • Difficult troubleshooting: Identifying a fault in the shared cable can be challenging.
  • Performance limitations: As more devices share the cable and transmit data, network performance may decrease.
  • Limited expansion: Adding more devices or extending the cable can affect network performance and require additional planning.
Real-World Example: Traditional Office Network

A small office using a traditional bus network can connect several computers to one backbone cable. All computers share the same communication medium to transmit data.

3. Ring Topology

Ring topology is a network arrangement in which each device is connected to two neighbouring devices, forming a closed loop.

Data travels from one device to the next around the ring until it reaches its destination.

In a traditional unidirectional ring, data travels in only one direction. Some ring networks support communication in both directions.

How Ring Topology Works

  1. A device sends data to its neighbouring device.
  2. The data travels from one device to the next around the ring.
  3. Each device forwards the data towards its destination.
  4. The destination device receives the data.

In a unidirectional ring, data follows a single direction around the loop.

Characteristics of Ring Topology

  • Each device is connected to two neighbouring devices.
  • Devices form a closed loop.
  • Data passes through intermediate devices to reach its destination.
  • Traditional ring networks may transmit data in one direction.
  • A failure in a device or connection can disrupt a simple ring network.
  • Some implementations use additional mechanisms to provide fault tolerance.

Advantages of Ring Topology

  • Organised data transmission: Data follows a defined path around the ring.
  • Predictable communication: Some ring protocols use controlled access to the communication medium.
  • Reduced data collisions: Token-based ring networks control which device can transmit data.
  • Equal access: In a token-based system, devices can take turns transmitting data.

Disadvantages of Ring Topology

  • Fault sensitivity: A failure in a simple ring can interrupt communication across the network.
  • Difficult troubleshooting: Identifying a faulty device or connection may take time.
  • Expansion challenges: Adding or removing devices may interrupt the network.
  • Longer transmission paths: Data may need to pass through several devices before reaching its destination.
Real-World Example: Token Ring Network

IBM Token Ring is a historical example of a network technology that used a ring arrangement and token passing. A device had to obtain the token before transmitting data.

4. Tree Topology

Tree topology is a hierarchical network arrangement that combines characteristics of star and bus topologies.

Devices are organised into branches connected to higher-level devices. A central root device or backbone connects different sections of the network.

How Tree Topology Works

  1. A central device connects to several lower-level devices.
  2. Each lower-level device may connect to additional devices or switches.
  3. Data travels through the hierarchical connections to reach its destination.
  4. Devices communicate through the network's branches.

Characteristics of Tree Topology

  • It has a hierarchical structure similar to a tree.
  • It combines features of star and bus topologies.
  • Devices are organised into different levels.
  • It can connect multiple smaller networks.
  • It is suitable for larger networks that require structured management.
  • Failure of an important upper-level device or connection can affect an entire branch.

Advantages of Tree Topology

  • Scalability: New branches and devices can be added to the network.
  • Easy management: Devices can be organised into separate sections or departments.
  • Structured design: The hierarchical arrangement makes it easier to organise large networks.
  • Fault isolation: Problems in one branch may be isolated without affecting other branches, depending on the network design.

Disadvantages of Tree Topology

  • Higher cost: It may require more cables and networking devices.
  • Dependency on higher-level devices: Failure of a central or upper-level device can affect multiple branches.
  • Complex configuration: Large hierarchical networks may require careful planning and management.
  • Troubleshooting: Faults in the backbone or higher-level connections can be difficult to identify.
Real-World Example: University Network

A university may use tree topology to connect its main administration building to several faculties. Each faculty can have its own switches connecting computers in classrooms, laboratories, and offices.

5. Mesh Topology

Mesh topology is a network arrangement in which devices are connected through multiple communication links.

In a full mesh topology, every device is directly connected to every other device. In a partial mesh topology, only selected devices have direct connections to one another.

How Mesh Topology Works

  1. Devices are connected through multiple communication links.
  2. When a device sends data, the network selects an available path to the destination.
  3. If a connection fails, data may travel through another available path.
  4. The destination device receives the transmitted data.

The availability of alternative paths makes mesh topology useful in networks that require high reliability.

Characteristics of Mesh Topology

  • Devices have multiple communication paths.
  • Full mesh connects every device directly to every other device.
  • Partial mesh connects selected devices using multiple links.
  • Data can travel through alternative paths when available.
  • It provides high reliability when sufficient alternative paths exist.
  • It requires more cabling and network equipment than simpler topologies.

Advantages of Mesh Topology

  • High reliability: Multiple communication paths can help maintain connectivity when a link fails.
  • Fault tolerance: The network can often continue operating despite individual link failures.
  • Dedicated connections: In a full mesh, each pair of devices has a direct link.
  • Flexible routing: Data can travel through alternative paths when the network supports it.

Disadvantages of Mesh Topology

  • High cost: A full mesh requires many connections and network interfaces.
  • Complex installation: Connecting many devices requires careful planning.
  • Difficult maintenance: Managing and troubleshooting numerous connections can be challenging.
  • Poor scalability for full mesh: The number of connections increases rapidly as devices are added.

For a full mesh network containing (n) devices, the number of required links is:

[ \frac{n(n-1)}{2} ]

For example, a full mesh with 5 devices requires:

[ \frac{5(5-1)}{2}=10 \text{ links} ]

This shows why a full mesh can become expensive as the number of devices increases.

Real-World Example: Critical Communication Network

A network that connects important communication centres may use a mesh arrangement. If one communication link fails, data can potentially travel through another available link.

Comparison of Network Topologies

FeatureStarBusRingTreeMesh
StructureCentral deviceSingle backbone cableClosed loopHierarchicalMultiple paths
Main connectionSwitch or hubShared cableNeighbouring devicesBranchesMultiple links
CablingModerate to highLowModerateModerate to highHigh
ExpansionEasyLimitedCan be difficultFlexibleComplex
Fault toleranceGood for individual linksLowLow in a simple ringDepends on the branchHigh
Main limitationCentral device failureBackbone failureRing disruptionUpper-level failureHigh cost

Choosing a Network Topology

The choice of topology depends on the requirements of the network.

  • Star topology: Suitable for homes, schools, and offices where easy management and expansion are required.
  • Bus topology: Suitable for understanding traditional small network designs, although it is rarely used in modern LAN installations.
  • Ring topology: Useful in systems that require controlled data transmission or a defined communication path.
  • Tree topology: Suitable for large organisations that need to connect multiple departments or buildings in a hierarchical structure.
  • Mesh topology: Suitable for networks where alternative communication paths and high availability are important.

Exam-Focused Points

Key Idea: Network topology describes how devices and communication links are arranged in a network. It can be physical or logical.

Key Idea: In star topology, all devices connect to a central device. In bus topology, all devices share a backbone cable. In ring topology, devices form a closed loop.

Key Idea: Mesh topology provides multiple communication paths, while tree topology uses a hierarchical arrangement of devices and network segments.

Common Examination Questions

1. What is network topology?

Network topology is the physical or logical arrangement of computers and other devices in a computer network.

2. Which topology uses a central switch or hub?

Star topology.

3. Which topology uses a single backbone cable?

Bus topology.

4. Which topology connects devices in a closed loop?

Ring topology.

5. Which topology has a hierarchical structure?

Tree topology.

6. Which topology provides multiple paths between devices?

Mesh topology.

7. What happens if the central switch fails in a star topology?

Communication between devices connected to that switch may be disrupted.

8. Why is mesh topology considered reliable?

Because it can provide alternative communication paths when a link fails.

Summary

Network topology determines how computers and other devices are connected and how data can travel between them.

  • Star: All devices connect to a central device.
  • Bus: All devices share a single backbone cable.
  • Ring: Devices form a closed loop.
  • Tree: Devices are connected in a hierarchical structure.
  • Mesh: Devices have multiple communication paths.

Understanding these topologies helps students identify their structures, explain their advantages and disadvantages, and select suitable arrangements for different networking requirements.

Share:
← Types of Computer NetworksNetworking - Benefits and Disadvantages →