Lec-6: Topologies in Computer Networks | Part-1 | All imp points of Mesh, Star, Hub, Bus, Hybrid
Introduction to Topology
Overview of Topology
- Topology refers to the arrangement and connection of devices within a network, including various types such as mesh, star, bus, ring, and hybrid topologies.
- Despite its simplicity, topology is a common topic in UGC NET exams where unexpected questions may arise.
Mesh Topology Explained
Definition and Structure
- In mesh topology, all devices are interconnected; for example, four devices can connect directly with each other.
Cable Requirements
- The number of cables required for a mesh topology can be calculated using the formula NC2 or n x (n-1)/2, where n represents the number of nodes (devices).
Port Calculation
- Each device in a mesh topology requires (n - 1) ports; thus for total ports across all devices: n x (n - 1). For instance, if there are four nodes, each needs three ports.
Reliability and Cost Considerations
Reliability Assessment
- Mesh topology offers high reliability since multiple paths exist for data transmission; if one cable fails, alternative routes remain available. This makes it superior in reliability compared to other topologies.
Cost Implications
- The cost associated with mesh topology is significant due to the extensive cabling required as more devices are added; e.g., connecting ten devices necessitates 45 wires. Thus costs increase proportionally with complexity.
Security and Maintenance Challenges
Security Features
- Mesh topology enhances security by ensuring that communication between two devices remains private; other connected devices do not have access to this information during transmission.
Maintenance Issues
- High maintenance demands arise from the large number of cables needed in mesh networks; managing numerous connections becomes increasingly complex as more devices are integrated into the system.
Point-to-point Communication in Mesh Topology
Communication Type
- Mesh topology supports point-to-point communication exclusively without sharing cables among multiple connections; this ensures dedicated pathways between any two nodes but complicates scalability due to increased wiring requirements.
Transitioning to Hub/Star Topology
Hub/Star Topology Overview
- Hub or star topology features a centralized device (hub), which connects multiple devices indirectly rather than direct interconnections like in mesh topology. If Device A sends a message to Device C, it passes through the hub first.
Cable and Port Requirements
- In star topology, the number of cables equals the number of connected devices (N), while each device requires only one port leading to an overall requirement of N ports across all devices.
Reliability and Security Concerns in Star Topology
Reliability Limitations
- Star topology has lower reliability due to its single point of failure at the hub; if it malfunctions, communication among all connected devices ceases entirely. This vulnerability contrasts sharply with mesh's robustness against failures.
Security Aspects
- While star topology provides some level of security—messages sent from one device do not reach others unless intended—the hub broadcasts messages indiscriminately by default unless configured otherwise for selective messaging purposes.
This concludes our overview on both mesh and star topologies along with their respective advantages and disadvantages regarding connectivity within networks.