Topic 1

Computer Networks & Network Topologies

3 min read1 question to test yourself

1Definition

A Computer Network is a set of devices (nodes) connected by physical communication links (transmission media) to facilitate data sharing, resource distribution, and communication. A Network Topology specifies the structural layout or geometric arrangement of a computer network, detailing how nodes and interconnecting cables are configured.

2Simple Explanation

Imagine a network as a system of roads connecting different houses (computers). The topology is the specific pattern or map of those roads—whether all houses connect to a central roundabout (Star), sit along one straight highway (Bus), link in a closed loop (Ring), or connect directly to every other house via private driveways (Mesh).

3Real-Life Example / Analogy

  • Star Topology Analogy: An office wheel-and-spoke setup where every employee's desk phone plugs into a central PBX switchboard. If one desk cable breaks, only that phone loses connection; if the switchboard dies, the entire office loses phone service.
  • Bus Topology Analogy: A main Christmas tree light wire with individual bulbs branching off. If the main trunk snaps, all lights go out.

4Diagram / Visual Representation

RING TOPOLOGY

Host A

Host B

Host C

Host D

BUS TOPOLOGY

Main bus cable

Host A

Host B

Host C

STAR TOPOLOGY

Central switch

Host A

Host B

Host C

Host D

Visual Explanation: In Star, nodes radiate independently from a central hub/switch. In Bus, nodes tap directly into a single linear trunk. In Ring, nodes form a unidirectional or bidirectional closed loop.

5Working / How It Works

  1. Transmission Request: A source node prepares data frames/packets containing the destination's network address.
  2. Medium Access & Signal Pathing:
    • Star: Data travels from the source node directly to the central switch, which inspects the destination header and forwards it to the target port.
    • Bus: Data broadcasts down the central backbone; all attached devices inspect the header, but only the matching destination accepts it.
    • Ring: Data tokens or frames pass sequentially node-to-node around the ring until arriving at the target.
  3. Reception & Acknowledgment: The destination node receives the signal, validates frame integrity, and processes the payload.

6Types / Components / Characteristics

  • Star Topology: All nodes connect to a single central device (Hub/Switch). Highly robust against single-cable failure; easy to troubleshoot.
  • Bus Topology: All nodes attach to a single shared central cable (bus). Uses minimal cabling; vulnerable to central bus failure.
  • Ring Topology: Each node connects to exactly two neighboring nodes forming a continuous pathway. Requires no central server; failure of one node breaks the entire ring.
  • Mesh Topology: Nodes have dedicated point-to-point links. Categorized into Fully Connected Mesh (every node connects to every other node) and Partially Connected Mesh.
  • Tree Topology: Combines Star and Bus topologies (expanded star). Star networks connect to a central bus trunk.
  • Hybrid Topology: Combines two or more distinct topologies (e.g., Star-Ring or Star-Bus).

7Solved Examples / Problems

Problem: Calculate the total number of physical links (cables) required to construct a Fully Connected Mesh Topology for a network with n=10n = 10 nodes.

Solution:

  1. In a fully connected mesh, each of the nn nodes must connect to the remaining (n−1)(n - 1) nodes.
  2. Total directed connections = n×(n−1)n \times (n - 1).
  3. Since each physical link is bidirectional and shared between two nodes, the total number of physical cables LL is given by the formula: L=n(n−1)2L = \frac{n(n - 1)}{2}
  4. Substituting n=10n = 10: L=10×(10−1)2=902=45 physical linksL = \frac{10 \times (10 - 1)}{2} = \frac{90}{2} = 45 \text{ physical links}

8Advantages, Disadvantages & Applications

  • Star:
    • Advantages: Easy to install, manage, and troubleshoot; failure of one cable affects only one host.
    • Disadvantages: High cable requirement; central device failure collapses the entire network.
    • Applications: Modern LANs, office networks, home Wi-Fi/Ethernet setups.
  • Mesh:
    • Advantages: Maximum redundancy, high security, dedicated capacity per link, no traffic congestion.
    • Disadvantages: Extremely expensive cabling, complex installation and configuration.
    • Applications: High-reliability backbones, military communications, nuclear power monitoring.

9Important Points to Remember

  • Formula for links in a fully connected mesh network: L=n(n−1)2L = \frac{n(n - 1)}{2}.
  • Tree topology uses the Ethernet protocol over a backbone bus and is divided into star segments.
  • Ring topology is rarely used today due to high cost and single-point-of-failure vulnerabilities (e.g., SONET/SDH networks).

10Test Your Understanding

  1. Multiple Choice: If a network with 6 devices is connected in a fully connected mesh topology, how many physical ports per device are required?
    • a) 5
    • b) 6
    • c) 15
    • d) 30
    Show answer
    a) 5 ports per device (each device connects to n−1=5n-1 = 5 other devices).
  2. Conceptual Question: Explain why a failure in a central device breaks a Star topology, whereas a cable cut in a Mesh topology does not disrupt the rest of the network.

Finished this topic?

0 of 10 topics read in Computer Networks & Security

Handwritten notes for the exam

Unit-wise SPPU notes and PYQs for this subject.

Helpful? Share it with your class

Free for everyone, no login needed.

Share topic