Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Network Hubs
A network hub is a basic networking device that serves as a central connection point for multiple devices in a Local Area Network (LAN). Hubs operate at the physical layer (Layer 1) of the OSI model and use a simple broadcast mechanism to enable communication between connected devices such as computers, printers, and servers.
While hubs were widely used in early network implementations, they have largely been replaced by switches due to their inherent limitations. However, understanding hubs remains important for grasping fundamental networking concepts.
How Network Hubs Work
A network hub operates using a broadcast mechanism. When a device sends data, the hub receives the data packet and immediately retransmits it to all other ports simultaneously. This creates a single collision domain where all connected devices share the total bandwidth.
Each device connected to the hub must examine every packet to determine if it's the intended recipient. If the packet's destination MAC address matches the device's address, it processes the packet; otherwise, it discards it.
Types of Network Hubs
Passive Hub
A passive hub simply connects multiple network segments without amplifying signals. It acts as a basic repeater, extending cable length but not regenerating weakened signals. Passive hubs are limited to short distances and small networks.
Active Hub
An active hub amplifies and regenerates incoming signals before retransmitting them. This allows for longer cable runs and better signal quality. Active hubs require power and are more commonly used than passive hubs.
Intelligent Hub
An intelligent hub includes additional management features such as port monitoring, basic switching capabilities, and network diagnostics. These hubs bridge the gap between basic hubs and modern switches.
Advantages and Disadvantages
| Advantages | Disadvantages |
|---|---|
| Low cost and simple installation | Single collision domain reduces performance |
| Extends network reach effectively | No security all data visible to all devices |
| No configuration required | Shared bandwidth among all ports |
| Plug-and-play operation | Cannot filter or manage traffic |
Hub vs Switch Comparison
| Feature | Hub | Switch |
|---|---|---|
| OSI Layer | Physical (Layer 1) | Data Link (Layer 2) |
| Collision Domain | Single shared domain | Separate domain per port |
| Bandwidth | Shared among all ports | Dedicated per port |
| Data Transmission | Broadcast to all ports | Unicast to specific port |
Conclusion
Network hubs are simple, cost-effective devices that operate by broadcasting data to all connected devices. While they served an important role in early networking, their limitations including shared bandwidth, security vulnerabilities, and collision issues led to their replacement by switches in modern networks.
