Network topology is the physical or logical layout showing how devices are arranged in a computer network.
Point-to-Point Topology: Two devices connect directly over a single dedicated link.
Pros: Simple setup, low latency and strong security since no extra nodes share the link.
Cons: Poor scalability (adding more devices requires extra links/management)
Common use: Connecting two routers.
Star Topology: Every device connects to a central hub or switch.
Pros: Easy to add or remove devices, simple troubleshooting, and one bad cable or device won't drop the rest of the network.
Cons: If the central hub or switch fails, the whole network goes down.
Common use: Home networks and office LANs.
Bus Topology: All devices attach to a single shared main cable.
Pros: Cheap and quick to set up for small networks with minimal cable.
Cons: A break in the main cable takes down the entire network, traffic collisions slow things down as devices increase, and scalability is limited.
Common use: Small, simple, or legacy setups with low traffic.
Ring Topology: Devices connect in a closed loop, with each node linked to two neighbors.
Pros: Predictable data flow with no central hub needed.
Cons: A single break or failed node can disrupt the loop, and adding nodes can interrupt service.
Common use: Certain metropolitan or industrial networks.
Mesh Topology: Devices connect to multiple other devices either partial mesh (some connections) or full mesh (every node connects to every other node).
Pros: Top fault tolerance and redundancy. If one link drops, traffic reroutes along another path.
Cons: Expensive and complex.
Common use: Data centers.
Tree Topology: Tree topology (also called a star-bus topology or hierarchical topology) is a network layout where devices are arranged in a parent-child hierarchy.
Pros: Scales cleanly by adding new branches.
Cons: Higher cost and complexity; failure in the root can knock out entire branches.
Common use: Large campuses or companies split into departments and buildings.
Hybrid Topology: Combines two or more topologies (such as star + mesh or star + ring) to fit specific needs.
Pros: Flexible
Cons: Complex design and management, often carrying higher overall costs.
Common use: Large enterprise and university networks.