πŸ”Œ Network Device: Hub

A Hub is a basic networking device that operates at Layer 1 (Physical Layer) of the OSI model. It is used to connect multiple devices in a LAN (Local Area Network) by broadcasting data to all connected devices.


πŸ”Ή What is a Hub?

A Hub is a simple, non-intelligent device that connects multiple computers or devices within a LAN. Unlike a switch or bridge, a hub does not filter or direct traffic based on MAC or IP addresses. It broadcasts incoming data to all ports, regardless of the destination, which can lead to inefficiencies in larger networks.


πŸ”Ή How Does a Hub Work?

  1. Broadcasting: When a device sends data to the hub, the hub sends the data to all connected devices, not just the intended recipient.
  2. No Addressing: The hub doesn’t examine data to see where it should go, unlike a switch or router that reads MAC or IP addresses.
  3. Collision Domains: All ports on a hub belong to the same collision domain, meaning if two devices transmit at the same time, data collisions can occur, leading to inefficiency and delays.

πŸ”Ή Types of Hubs

TypeDescription
Active HubRegenerates signals before broadcasting them to connected devices.
Passive HubSimply forwards data without amplification, often used for small networks.
Intelligent HubProvides additional functionality such as network monitoring, device management, and sometimes Power over Ethernet (PoE).

πŸ”Ή Hub vs. Other Devices

FeatureHubSwitchRouter
OSI LayerLayer 1 (Physical)Layer 2 (Data Link)Layer 3 (Network)
Data ForwardingBroadcasts to all portsForwards data based on MAC addressesRoutes data based on IP addresses
Primary RoleSimple data distributionIntelligent data forwardingInter-network routing
Collision DomainOne collision domain for all portsSeparate collision domains for each portNo collision domain – uses routing

πŸ”Ή Key Hub Functions

  1. Signal Repetition: Hubs repeat signals to extend the range of the network. They are useful for connecting devices over long distances.
  2. Data Broadcasting: Hubs broadcast data to all connected devices, which can lead to network inefficiency.
  3. No Filtering: Hubs do not filter data based on addresses, which means all devices receive all transmitted data.
  4. Basic Network Connectivity: Hubs provide basic connectivity and are most useful in smaller networks with few devices.

πŸ› οΈ Common Use Cases

  • Small Office/Home Office Networks: Hubs can be used in small networks where efficiency is not a major concern.
  • Expanding Network Size: Hubs can be used to expand a small network by adding more devices, though they are less efficient than switches.
  • Signal Regeneration: In networks that require signal boosting over longer distances, hubs can regenerate signals.

πŸ”Ή Hub in OSI & TCP/IP Models

OSI LayerRole of Hub
Layer 1A physical device that transmits data without filtering or forwarding intelligently

πŸ“ Summary

Hubs are basic devices that operate at the physical layer of the OSI model. They serve to broadcast data to all connected devices and are useful in small networks. However, their lack of intelligence in managing traffic makes them inefficient compared to more advanced devices like switches, which provide better performance and network segmentation.


Next Up: Repeaters, Modems, and Other Physical Layer Devices