What is Hub and how it works



What is Network Hub ?

what-is-hub
  • Hub in networking plays a vital role in data transmission, and broadcasting. Hub is a hardware device used at the physical layer to connect multiple devices in the network. Hubs are widely used to connect LANs. A hub has multiple ports and it is a non-intelligent device.
  • Unlike a switch, a hub cannot filter the data, i.e. it cannot identify the destination of the packet, so it broadcasts or send the message to each port. This is why it is known as a non-intelligent or dumb device. Hub does not have any routing table to store the data of ports and map destination addresses., the routing table is used to send/broadcast information across all the ports.

How Does a Network Hub Work?

  • A hub is a multiport device, which has multiple ports in a device and shares the data to multiple ports altogether. A hub acts as a dumb switch that does not know, which data needs to be forwarded where so it broadcasts or sends the data to each port.
  • Suppose there are five ports in a hub A, B, C, D, and E. consider A wants to send any data frame, or let’s say A is acting as a sender, so the hub will forward the data transmitted by A to B, C, D, E. Now, if at the same time B also wants to send the data then data received from A and B will collide and can cause data loss. In this situation, the data gets destroyed, and the hosts send a jam signal to all the hosts informing them about the collision, and each sender needs to wait for a certain amount of time.

Note: In the hub, data is sent to all ports but each port accepts only that data whose destination address matches their MAC address.

Types of Network Hubs:

Networks hubs are of the following three types:

1. Active Hub:

  • They have a power supply for regenerating, and amplifying the signals. When a port sends weak signaled data, the hub regenerates the signal and strengthens it, then send it further to all other ports. Active hubs are expensive in costs as compared to passive hubs.

2. Passive Hub:

  • Passive hubs are simply used to connect signals from different network cables as they do not have any computerized element. They simply connect the wires of different devices in the star topology. Passive hubs do not do any processing or signal regeneration and that’s why do not require electricity the most they can do is they can copy or repeat the signal. It can’t clean the message, and it can’t amplify or strengthen the signal.

3. Intelligent Hub:

  • Intelligent hubs as the name suggests are smarter than active and passive hubs. The intelligent hub comprises a special monitoring unit named a Management Information Base (MIB). This is software that helps in analyzing and troubleshooting network problems. Intelligent hubs work similarly to active hubs but with some management features. Like it can monitor the traffic of the network and the configuration of a port.

Features of Hubs:

Hubs are the hardware device that operates in the physical layer of the OSI model.

  • It supports half-duplex transmission
  • It works with shared bandwidth and broadcasting.
  • The hub can provide a high data transmission rate to different devices.
  • It can detect collisions in the network and send the jamming signal to each port.
  • Hub does not support VLAN and spanning tree protocol.
  • It is unable to filter the data and hence transmit or broadcast it to each port.
  • It cannot find the best route/ shortest path to send any data, which makes it an inefficient device.

Difference Between Network Hub And Switch:

Hub Switch
It works on the physical layer of the OSI model.  It works on the data link layer of the OSI model.
It performs frame flooding, which includes broadcast,
ticast and unicast as well.
It mainly performs broadcasts and performs multicast,
and unicast whenever required.
The transmission mode is half-duplex. The transmission mode is full-duplex.
It cannot perform data filtering. It can filter data and send the frame to the desired destination.
There is no spanning tree. A switch may contain more than one spanning tree possible.
It can not store the MAC address of the ports and the destination
address of the frame that arrived.
It can store the data in a routing table and it helps in further sending the data.
It is a passive device. It is an active device.
Hub can operate at a speed of 10Mbps. The switch can operate at a speed of 10-100Mbps and 1- 10 Gbps.

Advantages of Network Hubs:

  • Less expensive.
  • Does not impact network performance.
  • Support different network media.
  • Easily connects with different media.

Disadvantages of Network Hubs:

  • It cannot find the best/ shortest path of the network.
  • No mechanism for traffic detection.
  • No mechanism for data filtration.
  • Not capable of connecting to different network topologies like token, ring, ethernet, etc.

Related Searches to What is Hub and how it works