Types of Network Topology: Bus, Star, Ring, Mesh, Tree and Hybrid
The six network topologies explained with one six-device example: how each is wired, what one failure does, and where it runs today (switched LANs, car buses, factory and BharatNet rings, data-centre trees), with worked numbers for cables, ports, hops and downtime.

Network topology is the layout of the links between the devices on a network: which device is wired (or radio-linked) to which, and the path data takes between them. The main types are bus, star, ring, mesh, tree and hybrid. Almost every office and campus LAN today is a star built around switches, with rings, meshes and trees used where reliability or scale matter.
This guide explains each type with one consistent six-device example, then works the numbers that exam questions and real designs depend on: how many cables and ports each topology needs, how many hops data crosses, and how long each layout stays split when a part fails. Skill-Lync's Engineering Desk checked every number with a script and drew the figures from the same results.
Key takeaways
- Six types: bus, star, ring, mesh, tree and hybrid. Switched Ethernet LANs are physically stars; the internet as a whole is a hybrid.
- The formula to remember: a full mesh of devices needs links and ports on every device. Six devices need 15 links; 30 devices need 435 links and 29 ports each, against 30 links for a star.
- Resilience costs links: in our illustrative model (each cable or switch up 99.9 % of the time), a six-device bus is split about 95.9 hours a year, a star 61.1 hours, a two-way ring 7.9 minutes and a full mesh well under a microsecond.
- Rings protect critical links: India's BharatNet is moving village fibre from linear to ring topology "to ensure 100% redundancy" (PIB, 29 Jan 2026), and PROFINET factory rings are planned to recover from a cable cut within 200 ms.
- The bus is back in cars: IEEE 802.3cg-2019's 10BASE-T1S puts at least 8 nodes on one 25 m twisted pair, and NXP announced production 10BASE-T1S transceivers for zonal vehicle networks on 24 Feb 2026.
What is network topology?
Network topology is the arrangement of the nodes (computers, phones, printers, switches, routers) and the links that join them. It answers two questions: which node is connected to which, and how a message travels from a sender to a receiver. Topology is chosen for cost, speed, ease of adding devices and, above all, what happens when one cable or device fails.
Topology is one part of a network's design, not the whole of it. The larger plan, including who serves whom (client-server or peer-to-peer) and which protocol layers carry the data, is the network's architecture, covered in our guide to computer network architecture and its types. The size of the network (LAN, MAN, WAN) is a third, separate idea.
What is the difference between physical and logical topology?
Physical topology is how the cables and radio links are actually laid out; logical topology is how data flows between devices. The two can differ. Ethernet built on a hub is a physical star (every cable runs to the hub) but a logical bus, because the hub repeats every signal to every port exactly as a shared cable would. IBM Token Ring was the reverse case: stations were cabled in a star to a multistation access unit, yet the token still travelled a logical ring. IIT Kharagpur's NPTEL notes list IEEE 802.3 as logically a bus over bus or star wiring, and IEEE 802.5 as logically a single ring.
When an exam asks for "the topology of a network", it usually means the physical one. When a design document says "ring", check which it means: a logical ring can run over a physical star of cables.
What are the types of network topology?
There are six types in every syllabus: bus, star, ring, mesh, tree and hybrid. Some books add point-to-point (two devices on one link, the simplest case) and daisy chain (devices linked in a line, each passing data on). The table compares the six main types for the same six devices.
| Topology | Links for 6 devices | Ports per device | What one failure does | Where you meet it today |
|---|---|---|---|---|
| Bus | 1 backbone + 6 drops | 1 | A backbone break splits the network in two | CAN and 10BASE-T1S buses in cars, legacy coaxial Ethernet |
| Star | 6 | 1 (switch has 6) | A cable cuts off one device; the switch failing cuts off all | Every switched office, lab and home LAN; Wi-Fi access points |
| Ring | 6 | 2 | A two-way ring reroutes around one break | Industrial Ethernet rings, telecom fibre rings |
| Full mesh | 15 | 5 | Traffic takes another of the many paths | ISP core routers (partial mesh), Wi-Fi mesh, leaf-to-spine links in data centres |
| Tree | 5 | 1 to 3 | Everything below the failed link is cut off | Campus access-distribution-core designs, cable TV |
| Hybrid | Depends | Depends | Depends on which part fails | The internet, large enterprises, BharatNet-style fibre networks |
What is bus topology?
In a bus topology every device taps into one shared cable, the bus, and a signal sent by one device travels the whole length and reaches all the others. Each end of the bus is fitted with a terminator so the signal is absorbed instead of reflecting back. Only one device can transmit at a time, so the bus needs a rule for taking turns.
Classic Ethernet was a bus: 10BASE5 ("thick Ethernet") allowed coaxial segments of up to 500 m and 10BASE2 ("thin Ethernet") up to 185 m, with up to five segments joined by repeaters for 2,500 m and 925 m in total. Devices used CSMA/CD (carrier sense multiple access with collision detection): listen before sending, and if two devices collide, both stop and retry after a random wait. A break anywhere in the backbone splits the network, and a fault is hard to locate because every device shares the same wire.
The bus has not disappeared; it moved into vehicles. Most cars use CAN (ISO 11898): one twisted pair running past every electronic control unit, terminated at both ends with 120-ohm resistors so signals do not reflect; Texas Instruments' application note gives 1 Mbit/s over 40 m with up to 30 nodes as the classic limit. CAN XL, standardised in ISO 11898-1:2024, carries data fields of up to 2,048 bytes. Ethernet has followed: IEEE 802.3cg-2019 (approved 7 Nov 2019) defines 10BASE-T1S, whose multidrop mode puts at least 8 nodes on a 25 m single pair, with optional PLCA (physical layer collision avoidance) giving each node a turn so the bus stays efficient under load. If 8 nodes all send flat out, they share 10 Mbit/s, about 1.25 Mbit/s each. IEEE 802.3da-2026 (approved 12 Feb 2026) extends multidrop to at least 16 nodes over at least 50 m.
Advantages: least cable, simple to extend, no central device to buy. Disadvantages: bandwidth is shared by everyone, one backbone fault takes down the network, collisions grow with traffic, and troubleshooting is slow.
What is star topology?
In a star topology every device has its own cable to a central device, today almost always a switch. The switch reads the destination address of each frame and forwards it only to the port where that device lives. A broken cable cuts off one device; the switch itself is the single point of failure for the whole star.
Old stars used a hub, which repeated every signal out of every port, so a hub-based star still behaved like one shared bus. A switch gives each device its own full-duplex link (sending and receiving at the same time), so there are no collisions and each port gets its full speed. As Cisco's Ethernet troubleshooting guide puts it, there are no collisions in full-duplex mode, so CSMA/CD is not needed.
Wi-Fi in its normal mode is also a star: every phone and laptop talks to the access point, not directly to each other.
Advantages: easy to add, move or isolate a device; a cable fault affects one device; simple troubleshooting from the switch's port lights and counters. Disadvantages: more cable than a bus, and the switch (and its power supply) must be reliable, which is why important switches are often doubled.
What is ring topology?
In a ring topology each device connects to exactly two neighbours, and the links close into a loop. Data travels around the ring from device to device until it reaches its destination. In a one-way ring a single break stops the network; in a two-way (dual) ring traffic is turned back at the break and reaches every device the other way round.
IBM's Token Ring passed a "token" (permission to send) around the ring so that devices never collided. Physically it was usually cabled as a star to a multistation access unit. Token Ring lost to switched Ethernet, and IEEE now lists its 802.5 working group as disbanded. Rings survive where fast recovery from a cut cable matters: PROFINET factory networks use the Media Redundancy Protocol (IEC 62439-2), whose planning guideline limits a ring to 50 devices so that recovery after a break stays within 200 ms, and telecom carriers use ITU-T G.8032 Ethernet ring protection, designed to switch within 50 ms on typical rings.
Advantages: predictable, collision-free access; two-way rings survive any single break with fast, well-defined recovery. Disadvantages: data crosses several devices to reach the far side of the ring, and adding a device means opening the ring.
What is mesh topology?
In a mesh topology devices are connected to several others, so there is more than one path between any two of them. In a full mesh every device has a direct link to every other device; in a partial mesh only some do. If one link fails, traffic takes another path, which is why meshes carry the most critical traffic.
The cost is the number of links. Each of the devices connects to the other , and each link joins two devices, so:
and every device needs ports, one for each of the others.
For six devices that is links and five ports on each device. For a 30-PC lab it is links and 29 ports on every PC, which is why nobody wires a lab as a full mesh. Real meshes are partial: core routers of an internet service provider, Wi-Fi mesh systems (Wi-Fi EasyMesh uses several access points working together as one network) and Bluetooth Mesh, where relay nodes retransmit messages in a many-to-many topology.
Advantages: very high reliability, no single point of failure, traffic can be spread across paths. Disadvantages: cable and port count grow with , installation and configuration are complex.
What is tree topology?
A tree topology is a hierarchy: a root node connects to a few nodes below it, each of which connects to more nodes below, like branches. It is a set of star networks joined in layers, so it scales to many devices while each branch can be managed separately. A tree of devices has exactly links and only one path between any two devices.
Because there is only one path, every link is a single point of failure for the branch below it. Campus networks use a tree of switches (access switches at the desks, distribution switches per building, a core at the centre) and add a second uplink at each level so that one failure does not cut a building off. Data centres use a special, multi-path form of tree called a fat tree. In the classic paper by Al-Fares, Loukissas and Vahdat (ACM SIGCOMM 2008), a fat tree built from identical -port switches connects hosts: with 48-port switches that is 27,648 servers, using (by our count of ) 2,880 switches.
Advantages: scales by adding branches, easy to manage and fault-isolate per branch, maps onto buildings and floors. Disadvantages: the root and upper links carry the most traffic and are single points of failure unless doubled.
What is hybrid topology?
A hybrid topology combines two or more of the basic types. The common case is several star networks (one per floor or lab) whose switches are joined by a backbone, which may itself be a bus, a ring or a mesh. A hybrid inherits the strengths and weaknesses of each part, so it is designed piece by piece.
The internet is the largest hybrid: home and office stars connect to access networks, which connect through rings and meshes of fibre to the meshed cores of service providers. India's rural broadband backbone is a live example. Under the amended BharatNet programme (approved 4 Aug 2023, ₹1.40 lakh crore outlay) the government is upgrading the network "from linear to ring topology to ensure 100% redundancy", with about 2.15 lakh gram panchayats connected over close to 7 lakh km of optical fibre (PIB, 29 Jan 2026); in Jharkhand alone, 4,387 gram panchayats are being moved from linear to ring (PIB, 10 Sep 2026). A linear chain is a daisy chain, so one cut isolates every village beyond it; a ring gives each village a second path.
Worked example: cables, ports and hops for six devices
Take the six devices in the first figure. The counts follow directly from each layout and were checked by script:
| Topology | Links | Ports per device | Average hops between two devices | Worst case |
|---|---|---|---|---|
| Bus | 1 backbone + 6 drops | 1 | 1 (shared medium) | 1 |
| Star | 6 | 1 | 2 (via the switch) | 2 |
| Ring, one-way | 6 | 2 | 3.0 | 5 |
| Ring, two-way | 6 | 2 | 1.8 | 3 |
| Full mesh | 15 | 5 | 1 | 1 |
| Tree (as drawn) | 5 | 1 to 3 | 2.13 | 4 |
The two-way ring figure comes from listing the distances from one device: its neighbours are 1 hop away, the next two are 2 hops, and the opposite device is 3 hops, so the average is . In a one-way ring the other five devices are 1, 2, 3, 4 and 5 hops away, an average of 3. Every hop through a device or switch adds a little delay, which is why large networks avoid long rings and chains.
Worked example: which topology stays connected longest?
Exam answers say "mesh is more reliable than star". Here is by how much, with a simple model you can reproduce. Assume each cable, each backbone segment and the central switch is working 99.9 % of the time (down about 8.8 hours a year), failures are independent, and the devices themselves never fail. The network counts as "up" only when every device can reach every other one.
- Bus: all 6 drop cables and all 5 backbone segments must work: .
- Star: all 6 cables and the switch must work: .
- Tree: all 5 links must work: .
- Two-way ring: it survives any one broken link, so it is up when no link or exactly one link is down:
For the full mesh, the script uses the exact formula for the probability that a randomly failing complete graph stays connected (and checks it by listing all up/down combinations of the 15 links). Multiplying the chance of being split by 8,760 hours a year gives the chart.
Two lessons come out of the numbers. First, a second path matters far more than better parts: the ring has fewer parts than the bus but is split about 730 times less often. Second, the full mesh's extra links buy reliability nobody can use at this size, which is why real designs stop at "every device has two independent paths". The model is deliberately simple (real failures are not independent, and a star's switch is usually more reliable than a cable), so treat the ratios, not the hours, as the takeaway.
How do you choose a network topology?
Choose the simplest topology that meets the failure you cannot accept. For most offices, labs and homes that is a star around a good switch. Add a second path (a ring or partial mesh of switches) wherever losing a link would stop work, and use a tree of stars when the network spans floors or buildings.
- Small office or college lab (up to a few dozen devices): star on one switch; one cable fault affects one PC.
- Multi-floor campus: tree of stars (access, distribution, core) with doubled uplinks.
- Factory floor or substation: ring of industrial switches so a cut cable is bypassed in milliseconds.
- Vehicle electronics: buses (CAN, 10BASE-T1S) for low-speed sensors, stars of automotive Ethernet for cameras and computers.
- Data centre: spine-leaf, where every leaf switch connects to every spine switch.
- Internet core, bank or stock-exchange backbone: partial mesh.
How are network topologies asked in exams and interviews?
Topology questions in university exams, GATE and networking interviews are usually short and numerical. The GATE 2027 Computer Science syllabus (IIT Madras) does not name topology: its Computer Networks section covers layering, switching, Ethernet and medium access control, routing, IPv4, TCP, DNS and HTTP. Topology questions therefore come mostly from university papers, other recruitment tests and CCNA-style interviews. Typical questions:
- "How many links does a full mesh of 8 devices need?" (; each device needs 7 ports.)
- "Which topology has a single point of failure at the centre?" (Star: the switch or hub.)
- "What is the physical and logical topology of hub-based Ethernet?" (Physical star, logical bus.)
- "Why do data centres not use a single big tree?" (The root and upper links become bottlenecks and single points of failure; a fat tree or spine-leaf gives many equal paths.)
If you want to see topologies on real traffic, Skill-Lync's network analysis and troubleshooting with Wireshark course works with live packet captures, and the network security course covers firewalls and VLAN segmentation, the tools that split one physical topology into separate logical networks. To work out which suits your background, talk to a Skill-Lync counsellor.
Frequently asked questions
Which network topology is most commonly used today?
The star is the most common topology today. Every switched Ethernet LAN in offices, colleges and homes runs each device's cable to a switch, and Wi-Fi in normal mode connects every phone and laptop to an access point. Larger networks join many such stars into a tree or hybrid, adding rings or meshes where reliability matters.
Which topology is the most reliable?
Full mesh is the most reliable because every device has a direct link to every other one, so many links can fail before anyone is cut off. It is also the most expensive: links. A two-way ring or partial mesh, giving every device two independent paths, captures most of the benefit for far less cabling.
How many cables does a mesh topology of 5 computers need?
A full mesh of 5 computers needs cables, and every computer needs 4 network ports, one for each of the other four. The general formula is links and ports per device, so the count grows roughly with the square of the number of computers.
What is the difference between bus and ring topology?
In a bus topology all devices share one cable with terminators at both ends, and a signal reaches every device at once. In a ring each device connects to exactly two neighbours in a closed loop, and data is passed from device to device. A two-way ring survives one break; a bus is split by one backbone fault.
Is the internet a mesh or hybrid topology?
The internet is a hybrid topology. Homes and offices are stars around routers and switches, access networks often use fibre rings or trees, and the cores of internet service providers are partial meshes so that traffic can route around a failed link. No single layout describes the whole internet.
Is network topology part of the GATE CS syllabus?
Not by name. The GATE 2027 Computer Science syllabus from IIT Madras lists layering, switching, Ethernet and medium access control, routing, IPv4, TCP, DNS and HTTP under Computer Networks, but not topology. You still need topology for university exams and interviews, and it underpins the Ethernet and switching questions GATE does ask.
Sources and further reading
- IEEE 802.3cg Task Force: 10 Mb/s single-pair Ethernet (approved 7 Nov 2019), IEEE 802. Accessed 22 Nov 2026.
- IEEE P802.3cg 10 Mb/s Single Pair Ethernet: a guide (tutorial, Jan 2019), IEEE 802.3cg Task Force. Accessed 22 Nov 2026.
- IEEE 802.3da-2026 standard page, IEEE Standards Association. Accessed 22 Nov 2026.
- P802.3da objectives, IEEE 802.3. Accessed 22 Nov 2026.
- NXP industry-first production 10BASE-T1S PMD transceivers (24 Feb 2026), NXP Semiconductors. Accessed 22 Nov 2026.
- Controller Area Network physical layer requirements, SLLA270 (Jan 2008), Texas Instruments. Accessed 22 Nov 2026.
- CAN XL, CAN in Automation (CiA). Accessed 22 Nov 2026.
- Computer Networks, Module 5 Lesson 1: network topology, NPTEL, IIT Kharagpur. Accessed 22 Nov 2026.
- Computer Networks, Module 5 Lesson 3: IEEE 802.3 Ethernet, NPTEL, IIT Kharagpur. Accessed 22 Nov 2026.
- Computer Networks, Module 5 Lesson 5: physical and logical topologies of LAN standards, NPTEL, IIT Kharagpur. Accessed 22 Nov 2026.
- Troubleshooting Ethernet, Internetworking Troubleshooting Handbook, Cisco. Accessed 22 Nov 2026.
- Troubleshooting Token Ring, Cisco. Accessed 22 Nov 2026.
- Hibernating and disbanded working groups (802.5 Token Ring), IEEE 802. Accessed 22 Nov 2026.
- PROFINET Planning Guideline Redundancy v1.00 (7 May 2023), PROFIBUS & PROFINET International. Accessed 22 Nov 2026.
- G.8032 Ethernet ring protection switching overview (liaison, Mar 2008), ITU-T SG15 / IEEE 802.1. Accessed 22 Nov 2026.
- Wi-Fi EasyMesh, Wi-Fi Alliance. Accessed 22 Nov 2026.
- Bluetooth Mesh networking primer, Bluetooth SIG. Accessed 22 Nov 2026.
- A Scalable, Commodity Data Center Network Architecture (Al-Fares, Loukissas, Vahdat, SIGCOMM 2008), ACM SIGCOMM. Accessed 22 Nov 2026.
- GATE 2027 Computer Science syllabus, IIT Madras. Accessed 22 Nov 2026.
- BharatNet progress, linear to ring topology (29 Jan 2026), PIB, Ministry of Communications. Accessed 22 Nov 2026.
- BharatNet in Jharkhand, 4,387 gram panchayats to ring (10 Sep 2026), PIB, Ministry of Communications. Accessed 22 Nov 2026.


