Skip to main content
NETWORKING · ETHERNET

Network Hub vs Switch: What Is the Difference?

A network hub repeats every incoming frame out of all its other ports, so connected devices share one half-duplex link and its bandwidth. A switch learns which device sits on which port and forwards each frame only to its destination, giving every port full-duplex bandwidth. Hubs are obsolete, and switches have replaced them.

01

What a network hub does

A network hub is a simple Ethernet device that connects several computers into one network segment by repeating every signal it receives out of all its other ports. It works at layer 1 of the OSI model, the physical layer, and has no idea which device a frame is addressed to. The IEEE 802.3 standard calls it a repeater, and an Ethernet hub is the same device under its common name.

Because every frame goes everywhere, all devices on a hub share one collision domain. Only one can transmit at a time, so links run half-duplex and rely on CSMA/CD (carrier sense multiple access with collision detection) to back off and retry when two devices transmit at once. A 100 Mb/s hub with ten busy computers gives each of them a share of 100 Mb/s, not 100 Mb/s each.

Hubs were common in 10 and 100 Mb/s networks of the 1990s. Switch prices then fell below hub prices, IEEE stopped developing repeaters, and hubs were never made in any quantity for gigabit Ethernet.

02

How a switch differs

A switch works at layer 2, the data link layer. It reads the source MAC address of each frame arriving on a port and records it in a MAC address table. When a frame arrives for a known address, the switch sends it only out of the port where that device lives. Unknown and broadcast frames are flooded, but that is the exception rather than the rule.

Hub networks also had strict size limits. On 10 Mb/s Ethernet the 5-4-3 rule allowed at most five segments joined by four repeaters, with only three segments carrying computers, so that collisions could still be detected across the whole network. Fast Ethernet was tighter still, typically allowing only one or two hubs between any two devices. A switch removes those limits because it buffers and re-sends each frame, so switches can be chained, stacked and meshed. The products sold as “switching hubs” in the late 1990s were simply early switches.

Each switch port is its own collision domain and runs full-duplex, so every device can send and receive at full line rate at the same time. Our explainer on how an Ethernet switch forwards traffic covers MAC learning and switching methods in more depth.

03

Hub vs switch compared

The table compares a hub with the two kinds of switch you are likely to buy today.

Feature Network hub Unmanaged switch Managed switch
OSI layer 1 (physical) 2 (data link) 2, some layer 3
Forwarding Every frame to every port To the destination port To the destination port, with policy
Duplex Half duplex Full duplex Full duplex
Bandwidth Shared by all ports Full rate per port Full rate per port
Configuration None None, plug and play Web, CLI or SNMP
VLANs, QoS, redundancy No No Yes
Typical speeds 10 and 100 Mb/s 100 Mb/s to 10 Gb/s 100 Mb/s to 10 Gb/s and above

An unmanaged switch is the direct replacement for a hub. It needs no setup and plugs in the same way, but forwards traffic far more efficiently.

FAQ · 01
What is a managed switch?
A managed switch is an Ethernet switch you can configure and monitor. It adds VLANs, quality of service, link redundancy, port mirroring and SNMP monitoring, so it suits networks that need segmentation, diagnostics or fast recovery from a failed link.
Read the full FAQ —
04

Hubs, switches and routers

The three devices are often confused because they look alike: a box with a row of RJ45 ports.

  • //
    Hub. Repeats electrical signals. It connects devices into one shared segment and cannot filter or direct traffic.
  • //
    Switch. Forwards frames by MAC address within one local network. Managed switches add VLANs to split that network into separate segments.
  • //
    Router. Forwards packets by IP address between different networks, such as a plant network and the internet. Our comparison of layer 3 switches and routers covers the overlap.
  • //
    Home routers. A consumer router combines a router, a small switch and a wireless access point in one box, which is why the terms blur.
05

Replacing hubs in industrial networks

Old hubs still turn up in machine panels and legacy control cabinets, usually at 10 Mb/s. Replacing one with a switch removes collisions, gives each controller its own bandwidth and lets ports run full-duplex. Check that older devices auto-negotiate correctly first, as a few fixed half-duplex devices need their switch port forced to match.

For a cabinet, unmanaged industrial switches are the like-for-like swap, with DIN-rail mounting, wide-range DC input and wide operating temperatures. Where the network needs VLANs, redundancy or monitoring, a managed switch is the better fit, and our guide to choosing between managed and unmanaged industrial switches sets out the trade-offs. Engineers who used a hub to capture traffic for diagnostics can use port mirroring on a managed switch instead.

06

Quick answers on network hubs

Hubs and switches: common questions

Are network hubs still used?

Rarely. Hubs are no longer made for mainstream networks, and IEEE has stopped developing them. They survive in old installations and occasionally as a cheap way to observe traffic.

Does a network hub slow down the network?

Yes, as traffic grows. All devices share one half-duplex link, so collisions and retransmissions increase with every busy device added.

Does a network hub have an IP address?

No. A hub works at the physical layer and is invisible to the network. Managed switches do have an IP address for configuration and monitoring.

Is a USB hub the same as a network hub?

No. A USB hub adds USB ports to a computer. A network hub connects Ethernet devices. Only the name is shared.

Can I replace a hub with a switch directly?

Yes, in almost every case. An unmanaged switch plugs into the same cables and needs no setup, and devices gain full-duplex links.

We supply industrial Ethernet switches with the port count, PoE budget, mounting and power input each installation needs, and configure managed switches as standard before they ship. Send us your device list and we will specify the switch to match.