> For the complete documentation index, see [llms.txt](https://riteshs4hu.gitbook.io/infosec-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riteshs4hu.gitbook.io/infosec-notes/networking-fundamentals/network-topology.md).

# Network Topology

Network Topology refers to the physical or logical layout of a computer network. It describes how devices and nodes are connected and how data flows from one device to another in a network.

## **Types of Network Topologies**

**1. Bus Topology:-** In this topology, all devices are connected to a single cable, known as the backbone. Data flows in both directions along the backbone.

<figure><img src="https://miro.medium.com/v2/resize:fit:442/1*GJjFoX5tLOe3R5G_O3OX4g.jpeg" alt="" height="295" width="442"><figcaption></figcaption></figure>

**2. Star Topology:-** In this topology, all devices are connected to a central hub or switch. Data flows between devices through the hub or switch.

<figure><img src="https://miro.medium.com/v2/resize:fit:420/1*5JaKhXJRBaV0qkV8X6ubyA.jpeg" alt="" height="385" width="420"><figcaption></figcaption></figure>

**3. Ring Topology:-** In this topology, all devices are connected circularly, forming a ring. Data flows in one direction along the ring.

<figure><img src="https://miro.medium.com/v2/resize:fit:550/1*ywUB44Vv8MEWNaSjxefBJA.png" alt="" height="369" width="550"><figcaption></figcaption></figure>

**4. Mesh Topology:-** In this topology, all devices are connected peer-to-peer. Data can flow through multiple paths between devices, making the network more reliable and fault-tolerant.

<figure><img src="https://miro.medium.com/v2/resize:fit:700/1*bQ3AV-p4R0KJEleVn60C_g.jpeg" alt="" height="438" width="700"><figcaption></figcaption></figure>

**5. Hybrid Topology:-** In this topology, a combination of two or more topologies is used in a network. For example, a network may use a star-bus topology, connecting multiple star topologies through a bus backbone.

<figure><img src="https://miro.medium.com/v2/resize:fit:600/1*N7xIqdTSsYyVt3gXMDIa7A.jpeg" alt="" height="351" width="600"><figcaption></figcaption></figure>

<br>
