In computer networking, a network topology refers to the arrangement or layout of different devices (also called nodes) and how they are interconnected. Think of it as the map or blueprint that shows how computers, printers, servers, and other devices connect and communicate with each other.
Understanding network topologies is crucial because the design affects how data travels, how easy it is to add new devices, how reliable the network is, and how much it costs to build and maintain.
Before diving into types of topologies, it's important to distinguish between two related concepts:
Often, physical and logical topologies are the same, but sometimes they differ, which can affect network performance and troubleshooting.
Network topology impacts three key aspects:
Let's explore the common types of network topologies, starting with the basic ones.
Imagine a single straight road where all houses are connected along it. In a bus topology, all devices share a single communication line or cable called the bus. Each device taps into this bus to send or receive data.
When a device sends data, the signal travels along the bus and all devices see it, but only the intended recipient processes it.
At both ends of the bus, special devices called terminators are placed. Terminators absorb signals to prevent them from bouncing back, which can cause interference and data errors.
Advantages:
Disadvantages:
Think of a bicycle wheel, where all spokes connect to the central hub. In a star topology, all devices connect individually to a central device called a hub or switch. The hub acts as a traffic controller, receiving data from one device and forwarding it to the intended recipient.
Data flows from a device to the hub, then from the hub to the destination device.
Advantages:
Disadvantages:
Imagine a circular track where runners pass a baton to the next runner. In a ring topology, each device connects to exactly two other devices, forming a closed loop or ring. Data travels in one direction around the ring until it reaches the destination.
Some ring networks use a special control token that circulates; only the device holding the token can send data. This method avoids collisions.
Advantages:
Disadvantages:
In a mesh topology, every device connects directly to every other device. This creates multiple paths for data to travel, offering high redundancy and fault tolerance.
There are two types:
Advantages:
Disadvantages:
The tree topology is a hierarchical layout combining characteristics of bus and star topologies. It looks like a tree with branches: a root node connects to one or more nodes, which in turn connect to others, forming a structure of multiple star-configured segments connected by a bus backbone.
Advantages:
Disadvantages:
A hybrid topology combines two or more different topologies to leverage their strengths and minimize weaknesses. For example, a network might use star topology in departments and connect these stars using a bus or ring topology.
Advantages:
Disadvantages:
| Topology | Cost (Approx. in INR) | Scalability | Fault Tolerance | Ease of Installation |
|---|---|---|---|---|
| Bus | Low (~Rs.5,000 for 10 devices) | Poor | Low (single cable failure breaks network) | Easy |
| Star | Medium (~Rs.15,000 including hub and cables) | Good | Medium (hub failure affects all) | Easy |
| Ring | Medium (~Rs.12,000) | Moderate | Low (one node failure breaks ring) | Moderate |
| Mesh (Full) | High (~Rs.50,000+) | Excellent | Excellent | Complex |
| Tree | Medium to High (~Rs.20,000+) | Excellent | Medium | Moderate |
| Hybrid | Varies (Rs.20,000+) | Excellent | Good | Complex |
OSI Model: The topology affects the physical and data link layers of the OSI model, influencing how devices physically connect and how data frames are managed.
Transmission Media: Different topologies may require different types of cables or wireless links, affecting cost and performance.
Multiplexing: The choice of topology can impact how multiplexing techniques are applied, especially in shared media like bus topology.
Step 1: Identify key requirements: 8 devices, low cost, easy maintenance, low fault tolerance needed.
Step 2: Bus topology is low cost but poor fault tolerance and difficult to troubleshoot.
Step 3: Star topology is moderately priced, easy to manage, and if one device fails, others remain unaffected.
Step 4: Ring and mesh are more complex and costly, not suitable here.
Answer: Star topology is the best choice for this small office due to ease of installation, moderate cost, and acceptable fault tolerance.
Step 1: The hub is at (10m, 10m) - center of the room.
Step 2: Devices are on the perimeter, so their coordinates lie on the edges at equal intervals.
Step 3: Approximate average distance from center to perimeter is 10m (half the room length).
Step 4: Total cable length \( L_{total} = 10 \times 10m = 100m \).
Answer: Approximately 100 meters of cable is required.
Step 1: In ring topology, data flows in a closed loop passing through each device.
Step 2: If one device or its link fails, the ring is broken, and data cannot complete the loop.
Step 3: This causes network failure unless there is a dual ring or fault-tolerant mechanism.
Answer: A single failure breaks the ring, stopping data flow and causing network downtime.
Step 1: Calculate number of cables using formula:
\[ N_c = \frac{n(n-1)}{2} = \frac{5 \times 4}{2} = 10 \]
Step 2: Total cable length = \( 10 \text{ cables} \times 10 \text{ m} = 100 \text{ m} \).
Step 3: Cable cost = \( 100 \text{ m} \times Rs.100/\text{m} = Rs.10,000 \).
Step 4: Device cost = \( 5 \times Rs.2,000 = Rs.10,000 \).
Step 5: Total cost = Cable cost + Device cost = Rs.10,000 + Rs.10,000 = Rs.20,000.
Answer: Approximate cost for full mesh setup is Rs.20,000.
Step 1: Each department uses a star topology with a central switch connecting all devices.
Step 2: Connect all departmental switches to a main bus backbone that links the entire campus network.
Step 3: This allows easy addition of departments (scalability) and isolates faults within departments (fault tolerance).
Step 4: The bus backbone simplifies inter-department communication.
Answer: A hybrid topology with star-configured departments connected via a bus backbone meets the requirements effectively.
When to use: Quickly recalling topology layouts during exams.
When to use: Calculating resources needed for mesh topology questions.
When to use: Designing networks requiring high reliability.
When to use: Quickly answering questions on fault impact.
When to use: Decision-making problems in entrance exams.
| Topology | Advantages | Disadvantages |
|---|---|---|
| Bus | Simple, low cost | Single cable failure breaks network |
| Star | Easy management, device isolation | Hub failure affects all |
| Ring | Orderly data flow, easy fault isolation | One failure breaks network |
| Mesh | High fault tolerance, multiple paths | Expensive, complex |
| Tree | Scalable, hierarchical | Backbone failure affects segments |
| Hybrid | Flexible, scalable | Complex design and maintenance |
Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.
Go to practice →