Topologies
gocourse.in Maintenance

We'll be back soon

Our CDN (cdn.gocourse.in) is currently unreachable. Some images, JavaScript, or CSS files may not load properly.

Estimated downtime: ~30 minutes

Topologies

kumudha

What is Network Topology 


Network topology refers to the layout or arrangement of devices and communication links in a computer network.

It defines how computers, servers, switches, routers, and other devices are connected and how data moves between them.

Simply put, network topology is the blueprint of a network.

Real-World Example


Think of a city's road system:

Roads represent network cables or wireless links.
Vehicles represent data packets.
Intersections represent network devices such as switches and routers.

The way roads are arranged determines how efficiently traffic moves. Similarly, network topology determines how efficiently data travels across a network.

Types of Network Topology


Network topology is broadly classified into two categories:

1. Physical Topology


Physical topology describes the actual physical arrangement of network devices, cables, and hardware.

It shows:

Where devices are located
How cables are connected
Which devices connect directly to one another

Example

In a home network, all devices may connect to a Wi-Fi router placed in the center of the house. This arrangement represents the physical topology.

2. Logical Topology


Logical topology describes how data flows through a network, regardless of the physical connections.

It focuses on:

  • Data transmission paths
  • Communication rules
  • Traffic flow patterns

Example

A network may physically appear as a star topology, but data may be broadcast to all devices, making it behave like a logical bus topology.

Why is Network Topology Important?


Network topology affects:

  • Network performance
  • Data transmission speed
  • Scalability
  • Reliability
  • Security
  • Maintenance costs
  • Fault tolerance

Choosing the correct topology can significantly improve network efficiency and reduce operational costs.

Applications of Network Topology


Different environments use different topologies based on their requirements.

1. Home Networks


Most home networks use a Star Topology.

Devices connected include:

  • Smartphones
  • Laptops
  • Smart TVs
  • Gaming consoles
  • Smart home devices

All devices communicate through a central Wi-Fi router.

Benefits

  • Easy installation
  • Low cost
  • Simple troubleshooting

2. Office Networks


Organizations commonly use:

  • Star Topology
  • Tree Topology

Departments connect through switches, allowing centralized management and easy expansion.

3. Campus Networks


Universities and large educational institutions often use:

  • Tree Topology
  • Hybrid Topology

Multiple buildings are connected through high-speed fiber-optic backbones.

4. Data Centers


Modern data centers require:

  • High availability
  • Redundancy
  • Fault tolerance

Therefore, they commonly use:

  • Mesh Topology
  • Hybrid Topology

5. Internet


The Internet is one of the largest examples of a Mesh Topology, where multiple paths exist between networks, ensuring continuous communication even when some connections fail.

Major Types of Network Topologies

There are six primary network topologies:

  1. Bus Topology
  2. Ring Topology
  3. Star Topology
  4. Tree Topology
  5. Mesh Topology
  6. Hybrid Topology


1. Bus Topology


What is Bus Topology?


In a bus topology, all devices are connected to a single communication cable called the backbone cable.

When a device sends data, the signal travels along the backbone and becomes available to all connected devices.

Structure


Computer ──┐
Computer ──┼── Backbone Cable
Computer ──┤
Computer ──┘

How It Works
  1. A device sends data onto the backbone cable.
  2. The signal travels to every device.
  3. Only the intended recipient processes the data.
  4. Other devices ignore it.

Advantages of Bus Topology


Low Installation Cost

Requires less cabling compared to many other topologies.

Easy Setup

Simple design makes installation straightforward.

Limited Device Failure Impact

Failure of one device usually does not affect others.

Suitable for Small Networks

Works well for small and temporary network environments.

Disadvantages of Bus Topology


Single Point of Failure

If the backbone cable fails, the entire network becomes unavailable.

Difficult Troubleshooting

Locating cable faults can be challenging.

Data Collisions

Multiple devices transmitting simultaneously may cause collisions.

Poor Scalability

Performance decreases as more devices are added.

2. Ring Topology


What is Ring Topology?

In a ring topology, each device connects to exactly two neighboring devices, forming a circular path.

Data travels around the ring until it reaches the destination.

Structure


Computer ─ Computer
       |                    |
Computer ─ Computer

How It Works

Many ring networks use a method called Token Passing.

Token Passing

A special frame called a token circulates around the ring.

Only the device holding the token can transmit data.

This prevents collisions.

Advantages of Ring Topology


Collision-Free Communication

Token passing eliminates data collisions.

Predictable Performance

Network traffic is more organized.

Equal Access

Every device receives equal opportunity to transmit data.

Reliable Under Moderate Loads

Performs consistently in controlled environments.

Disadvantages of Ring Topology


Failure Sensitivity

A single cable or device failure may disrupt the entire ring.

Difficult Maintenance

Troubleshooting can be complex.

Expansion Challenges

Adding or removing devices may interrupt network operations.

Increased Delay

Data must pass through intermediate devices.

3. Star Topology


What is Star Topology?


Star topology is the most widely used network topology today.

In this design, every device connects directly to a central device such as a switch or hub.

Structure
       
          Computer
                  |
Computer -- Switch -- Computer
                  |
           Computer

How It Works

All communication passes through the central switch.

The switch forwards data directly to the intended destination.

Advantages of Star Topology


Easy Troubleshooting

Faults can be quickly isolated.

Easy Expansion

New devices can be added without affecting existing ones.

Better Performance

Modern switches reduce collisions and improve throughput.

Device Failure Isolation

Failure of one device does not affect others.

Centralized Management

Network administration becomes simpler.

Disadvantages of Star Topology


Central Device Dependency

Failure of the switch or hub can bring down the entire network.

More Cabling Required

Each device requires its own connection to the central device.

Real-World Example

Almost every modern Ethernet LAN and home Wi-Fi network uses a star topology.

4. Tree Topology


What is Tree Topology?


Tree topology combines features of both bus and star topologies.

Devices are arranged in a hierarchical structure resembling a tree.

Structure
            Root Switch
                    |
          -------------------
         |                       |
 Department A     Department B
         |                          |
  Devices              Devices

Advantages of Tree Topology


Highly Scalable


Supports network growth easily.

Better Management

Network segments can be managed independently.

Easy Fault Isolation

Problems can often be isolated to a specific branch.

Suitable for Large Networks

Widely used in enterprises and campuses.

Disadvantages of Tree Topology


Backbone Dependency

Failure of the main backbone can affect multiple segments.

Higher Cost

Requires more networking equipment.

Complex Configuration

Design and maintenance require expertise.

5. Mesh Topology


What is Mesh Topology?


In a mesh topology, devices are interconnected through multiple communication paths.

This provides redundancy and high reliability.

Types of Mesh Topology


Full Mesh

Every device connects directly to every other device.

Partial Mesh

Only critical devices have multiple connections.

Mesh Topology Formula

For a fully connected mesh network:

Number of Connections = n(n − 1) / 2

Where:

  • n = number of devices

Example:

For 5 devices:

5 × (5 − 1) ÷ 2 = 10 connections

Advantages of Mesh Topology


Extremely Reliable

Alternative paths exist if one link fails.

High Fault Tolerance

Network continues operating despite failures.

Fast Communication

Multiple paths improve data transmission efficiency.

Enhanced Security

Dedicated links reduce unauthorized access opportunities.

Disadvantages of Mesh Topology


High Cost

Requires many cables and networking devices.

Complex Management

Large mesh networks can be difficult to administer.

Lower Efficiency in Some Cases

Excessive redundancy may increase complexity.

Real-World Example

Internet service provider (ISP) backbones often use mesh topologies.

6. Hybrid Topology


What is Hybrid Topology?


A hybrid topology combines two or more different topologies into a single network.

Example

A company may use:

  • Star topology inside departments
  • Mesh topology between branch offices

Together, they form a hybrid topology.

Advantages of Hybrid Topology


Highly Flexible

Can be customized according to organizational needs.

Scalable

Supports future expansion.

Reliable

Network failures are often isolated.

Optimized Performance

Combines strengths of multiple topologies.

Disadvantages of Hybrid Topology


Complex Design

Requires careful planning.

High Cost

Needs additional devices and cabling.

Specialized Management

Administration can be more challenging.

Logical Topologies in Computer Networks


Physical layout and data flow are not always the same.

The three common logical topologies are:

Logical Bus Topology


Data is broadcast to all devices.

Common in older Ethernet networks using shared media.

Characteristics
  • Broadcast communication
  • Uses CSMA/CD
  • All devices receive transmissions

Logical Ring Topology

Data moves sequentially from one device to another.

Examples include:

Token Ring
FDDI (Fiber Distributed Data Interface)

Logical Star Topology

Data passes through a central switching device.

Most modern Ethernet networks operate as logical star networks.

Benefits
Better traffic control
Improved security
Efficient communication

Factors Affecting the Choice of Network Topology

Choosing the right topology depends on several factors.
1. Cost

Organizations must consider:

Cabling expenses
Device costs
Installation charges

Bus topology is inexpensive, whereas mesh topology is costly.

2. Network Size

Small networks often use:

Bus
Star

Large networks often use:

Tree
Mesh
Hybrid

3. Scalability

Networks expected to grow should use:

Star
Tree
Hybrid

These topologies support expansion more easily.

4. Reliability

Organizations requiring high uptime prefer:

Mesh
Hybrid

These provide redundancy and fault tolerance.

5. Performance Requirements

High-performance environments often choose:

Star
Mesh

These reduce bottlenecks and improve throughput.

6. Maintenance and Troubleshooting

Star and tree topologies are generally easier to manage than bus or ring topologies.

Network Topology and Networking Devices

Network devices play a significant role in implementing network topologies.

Hubs

A hub broadcasts incoming data to every connected device.

Characteristics
Simple device
Operates at Physical Layer (Layer 1)
Common in older star networks

Switches

Switches intelligently forward data based on MAC addresses.

Characteristics
Operate at Data Link Layer (Layer 2)
Improve performance
Reduce collisions

Switches are the most common devices in modern star and tree topologies.

Routers

Routers connect different networks and determine the best path for data.

Characteristics
Operate at Network Layer (Layer 3)
Connect LANs and WANs
Essential for Internet communication

Routers are commonly used in mesh and hybrid networks.

Wireless Access Points (WAPs)

Wireless access points allow devices to connect without cables.

Characteristics
Provide Wi-Fi connectivity
Support mobility

Our website uses cookies to enhance your experience. Learn More
Accept !