Network hub

Also known as: Ethernet hub

On this page 8

A network hub is a physical layer (Layer 1) device that connects several Ethernet stations and repeats every incoming signal out of all other ports, without reading addresses or making forwarding decisions. In networking, and specifically in the family of network hardware, the hub is the historical predecessor of the switch: it turns a star of twisted-pair cables into one shared Ethernet segment in which all attached devices compete for the same bandwidth.

The device is also called an Ethernet hub or a multiport repeater, which describes its function precisely. Hubs dominated small office networks in the 1990s, but the IEEE 802.3 working group formally deprecated repeater hubs for new installations, and today they appear mainly in labs, legacy plants and troubleshooting kits.

How a network hub repeats signals

A hub works by regenerating electrical signals bit by bit: it receives a frame on one port, restores the signal timing and amplitude, and transmits the same bits on every other port at the same moment. It never stores a complete frame, never inspects MAC addresses and never learns which device sits behind which port.

Because every port carries every frame, all stations attached to a hub form a single collision domain. Only one device can transmit successfully at a time, so the hub relies on CSMA/CD (carrier sense multiple access with collision detection): a station listens before sending, detects a collision if two transmissions overlap, sends a jam signal and retries after a random binary exponential backoff delay.

The following table summarizes the internal functions a hub performs and the functions it deliberately lacks.

FunctionPerformed by a hubPractical consequence
Signal regenerationYesExtends cable reach beyond 100 m per segment
Collision detection supportYes, propagates jam signalsAll ports share collision handling
Port partitioningYes, on many modelsIsolates a port that causes excessive collisions
MAC address learningNoEvery frame floods to all ports
Frame bufferingNoNo store-and-forward error checking
Full-duplex operationNoPorts run half duplex only
Functions of a network hub

Hub types and speed classes

Hubs differ in speed, management capability and power source, and these differences determine where a surviving unit can still be useful. Early passive hubs merely joined wires without regeneration, while active hubs powered their ports and repeated signals cleanly.

The IEEE 802.3 standard defined Class I and Class II repeaters for Fast Ethernet. A Class I repeater translates between signaling schemes and adds more delay, so only one Class I hop is allowed in a collision domain; a Class II repeater is faster internally and permits two hops connected by a short inter-repeater link.

Hub typeTypical speedDistinctive featureWhere it appeared
Passive hub10 Mbit/sNo signal regenerationEarly coaxial and twisted-pair setups
Active hub10 Mbit/sPowered regeneration on every portSmall offices in the 1990s
Dual-speed hub10/100 Mbit/sInternal bridge between two segmentsTransition period to Fast Ethernet
Managed hub10 or 100 Mbit/sSNMP statistics and port controlEnterprise wiring closets
Stackable hub10 or 100 Mbit/sUnits act as one repeaterLarger shared segments
Common hub variants

Hubs never existed in a standardized form for Gigabit Ethernet in practice: although IEEE 802.3z described a half-duplex gigabit repeater, vendors shipped essentially none, because switching had already become cheaper and faster.

Network hub compared with switches and other devices

The essential difference between a hub and a switch is that a switch forwards frames only to the destination port, while a hub floods every frame everywhere. A switch therefore gives each port its own collision domain and usually full-duplex operation, which multiplies usable capacity.

DeviceOSI layerForwarding logicCollision domains
Network hubLayer 1Repeat to all portsOne for all ports
RepeaterLayer 1Repeat between two segmentsOne spanning both
BridgeLayer 2Filter by MAC addressOne per side
SwitchLayer 2Forward by learned MAC tableOne per port
Network tapLayer 1Copy traffic to a monitor portNot part of the domain
Hub, switch and related devices

A hub also differs from a network tap, a neighboring device in network hardware. A tap copies traffic passively for monitoring without joining the shared segment, whereas a hub actively participates and forces every connected link into half-duplex mode, which changes the very traffic an analyst wants to observe.

Performance limits of shared Ethernet

A hub divides one fixed bandwidth among all ports: a 100 Mbit/s hub with ten active stations offers 100 Mbit/s in total, not 100 Mbit/s each. As load rises, collisions increase, and real throughput on a busy shared segment typically falls well below the nominal rate.

Timing rules impose a second limit. Each repeater adds propagation delay, and the round-trip delay must stay below the slot time of 512 bit times, or late collisions occur that CSMA/CD cannot recover from. For classic 10BASE-T this produced the 5-4-3 rule: at most five segments, four repeaters and three populated segments between any two stations.

  • Broadcast and unicast exposure: every station receives every frame, which wastes host processing and exposes traffic to eavesdropping.
  • Duplex mismatch risk: a device forced to full duplex on a hub port generates late collisions and severe packet loss.
  • No traffic isolation: one faulty network interface card that jabbers can disrupt the entire segment until the hub partitions the port.

When a network hub is still useful

A hub remains useful mainly as a low-cost passive observation point and as a teaching aid, not as production infrastructure. The decision table below shows where a hub fits and where modern equipment is the better choice.

SituationRecommended deviceReason
Quick capture of a 10 or 100 Mbit/s linkOld hub or network tapHub floods frames to the capture laptop
Monitoring a gigabit linkNetwork tap or switch port mirroringHubs do not operate at gigabit speeds
Teaching collisions and CSMA/CDHub in a labCollisions become visible on real hardware
Connecting office computersUnmanaged switchFull duplex and per-port bandwidth
Legacy industrial equipment at 10 Mbit/sHub only if mandatedSome old controllers expect shared media
Choosing between a hub and alternatives

Many products sold today with “hub” in the name are actually unmanaged switches, and USB hubs are an unrelated peripheral technology. When a true repeater hub is needed for analysis, administrators must verify that the device shares the collision domain, for example by checking that all ports show the same activity.

Common misconceptions about hubs

The most frequent error is treating hub and switch as synonyms. Consumer packaging and casual speech often blur the terms, yet the behavior differs fundamentally in bandwidth, security and duplex operation.

MisconceptionCorrection
A hub gives each port full bandwidthAll ports share one bandwidth pool
Hubs reduce collisionsHubs extend the collision domain
A modern “hub” floods trafficMost current products are switches
Hubs work with any duplex settingHub ports require half duplex
Misconceptions and corrections

Explained without jargon

A network hub is like a room where everyone hears every conversation. When one computer speaks, the hub shouts the message to every other computer, and each one has to decide whether the message was meant for it. Only one device can talk at a time, so when two speak at once, both stop and try again a moment later.

A switch, which replaced the hub, works more like a receptionist who delivers each message only to the right person. That is why switches are faster and more private, and why hubs are now mostly found in museums of old equipment, classrooms and the toolkits of network technicians.

A typical use case

A network technician at a manufacturing plant needs to diagnose why an old 10 Mbit/s programmable controller loses contact with its supervisory workstation several times per shift. The plant has no managed switch with port mirroring on that line, and buying a dedicated tap would take weeks.

The technician inserts a small 10BASE-T repeater hub between the controller and the uplink, sets the laptop network interface card to half duplex, and connects the laptop to the third hub port. Because the hub repeats every frame, the packet analyzer records the complete conversation, including the collisions caused by a misconfigured device on the same line.

After two hours of capture, the analysis shows that the workstation was forced to full duplex while the controller negotiated half duplex. Correcting the duplex setting eliminates the dropouts, and the hub is removed from the production path once the capture is complete.