A hub in computer networks is a device that connects multiple computers or other network devices together in a local area network (LAN). It acts as a central point through which data is transmitted. When a data packet arrives at one port of the hub, it is copied and sent out to all other ports, allowing all devices connected to the hub to receive the data.

2022_09_Understanding-Break-Statement-in-C-23.jpg

Hubs do not analyze or manage the data they transmit; they simply broadcast it to every connected device. Because of this lack of intelligence, hubs can lead to increased network traffic and collisions, making them less common today than switches and routers. Aren't aware of all these network devices? Don't worry! If you're new to computer networking and want to understand these fundamental concepts in greater depth, consider enrolling in online networking courses and certifications. You can also enrol in a free networking course if you want an affordable alternative. 

Table of Contents

What is Hub in Computer Networks?

Hub is a networking device that operates on the physical layer i.e. the 1st layer of the OSI model, unlike switches that operate in data link layer. Hub connect multiple devices to itself that send and receive data through it. It is a multiport repeater that comes with add-on functionalities, such as indicating any issues with the device. They come in different variants such as 4, 8, and 16 port hubs.