How Devices Are Arranged
The physical or logical arrangement of devices in a network is called its topology. Topology determines how data flows, how fault-tolerant the network is, and how easy it is to add or remove devices. There are several common topologies, each with its own strengths and weaknesses.
Bus Topology
All devices are connected to a single central cable called the bus. Data sent by one device travels along the bus in both directions until it reaches the intended recipient.
ββββββββ ββββββββ ββββββββ ββββββββ
β PC 1 β β PC 2 β β PC 3 β β PC 4 β
ββββ¬ββββ ββββ¬ββββ ββββ¬ββββ ββββ¬ββββ
β β β β
ββββ§ββββββββββ§ββββββββββ§ββββββββββ§βββ β Bus (coaxial cable)
- Advantage: Simple and cheap β requires less cable than other topologies.
- Disadvantage: If the bus cable breaks, the entire network goes down. Difficult to troubleshoot.
Bus topology was common in early Ethernet networks (10Base2, 10Base5) but is rarely used today.
Star Topology
Every device connects to a central hub or switch. All data passes through the hub, which forwards it to the destination. This is the most common topology in modern networks.
ββββββββ
β PC 1 β
ββββ¬ββββ
β
ββββββββ β ββββββββ
β PC 2 ββββΌβββ€ PC 3 β
ββββββββ β ββββββββ
ββββ΄ββββ
βSwitchβ
ββββ¬ββββ
β
ββββ΄ββββ
β PC 4 β
ββββββββ
- Advantage: If one cable breaks, only that device is affected β the rest of the network keeps working. Easy to add new devices.
- Disadvantage: If the central hub/switch fails, the entire network goes down. Requires more cable than bus.
Ring Topology
Devices are connected in a circle. Data travels in one direction around the ring, passing through each device until it reaches its destination.
ββββββββ
βββββ€ PC 1 βββββ
β ββββββββ β
βββ΄βββ ββββ΄ββ
βPC 4β βPC 2β
βββ¬βββ ββββ¬ββ
β ββββββββ β
βββββ€ PC 3 βββββ
ββββββββ
- Advantage: Equal access for all devices β no device can dominate the network.
- Disadvantage: If one device or cable fails, the entire ring breaks. Adding or removing devices disrupts the ring.
Ring topology was used in IBM's Token Ring networks but has largely been replaced by star topology.
Mesh Topology
Every device connects to every other device, or at least to multiple other devices. This provides maximum redundancy β if one path fails, data can take an alternate route.
ββββββββ
βββββ€ PC 1 βββββ
β ββββ¬β¬βββ β
β ββ β
ββ΄βββ ββ ββββ΄β
βPC ββββββββββ€PC β
β 2 β ββ β 3β
βββ¬ββ ββ βββ¬β
β ββ β
βββββββ€βββββββ
ββββββββββββ
β ββββββ β
ββββ€PC 4ββββ
ββββββ
- Advantage: Extremely reliable β multiple paths mean the network survives failures. High security β data can take different routes.
- Disadvantage: Expensive β requires a lot of cabling and ports. Complex to manage and configure.
Full mesh is impractical for large networks (the number of connections grows as n*(n-1)/2), but partial mesh is used in wide-area networks and critical infrastructure.
Tree Topology
A combination of star and bus topologies. Star networks are connected to a central bus, creating a hierarchical structure. This is common in large organizational networks where departments are organized hierarchically.
ββββββββββ
β Root β
β (Hub) β
βββββ¬βββββ
βββββββββ΄ββββββββ
βββββ΄ββββ βββββ΄ββββ
β Switchβ β Switchβ
βββββ¬ββββ βββββ¬ββββ
ββββββΌβββββ ββββββΌβββββ
β β β β β β
PC1 PC2 PC3 PC4 PC5 PC6