Network Hubs: Why One Message Goes to Every Port
A traditional Ethernet hub repeats an incoming network signal toward the other devices connected to it. It doesn't choose one recipient, even when the message is meant for just one computer.
Ethernet is a family of rules for wired networks. A basic hub is a multiport repeater: a device with several cable sockets, or ports, that repeat signals within a shared network segment.
Suppose a laptop sends data to a printer through a hub. Other computers connected to that same segment receive the signal too, matching the behavior described in Cisco's networking fundamentals guide.
That doesn't mean every computer displays the print job. An Ethernet message, called a frame, includes a destination address; receiving network hardware normally filters out frames that aren't addressed to it or to a group it accepts.
Hub, Switch or Router: What's the Difference?
More sockets, still a shared connection
The devices on a repeater hub's segment share the opportunity to transmit. They use half duplex, meaning communication can go in either direction, but the shared segment doesn't support simultaneous independent transmissions.
If two devices start sending at the same time, their signals can collide. They detect the collision, wait, and try again under Ethernet's shared-medium rules, described in Cisco's Ethernet troubleshooting guide.
This group of devices forms a collision domain: an area where transmissions can interfere with each other in that way.
Adding ports doesn't multiply the segment's capacity. It gives more devices a place to connect, and those devices still have to share transmission time.
There's a hardware wrinkle: some products sold as hubs combine separate repeater groups with an internal bridge, which connects the groups. Netgear's DS100-series documentation, for example, describes separate groups operating at different connection speeds, joined this way.
That's why “everything shares one segment” describes a basic repeater hub, not necessarily every box ever sold under the hub name.
A switch makes a forwarding decision
A network switch learns which ports lead to which MAC addresses, the addresses network interfaces use for local Ethernet delivery. When it knows the destination, it can send the frame through the relevant port instead of repeating it toward every other device.
- Keep work, guest and smart-home gear apart with up to 32 VLANs on one small switch.
- Copy any port's traffic to your laptop with port mirroring and see what is on the wire.
- Set it up from a web page instead of learning a command line.
Switches still send some frames more widely, including broadcasts meant for the local network and traffic whose destination address hasn't been learned. Cisco's MAC-address guide explains those cases.
A switched point-to-point link can use full duplex, allowing both ends to send at once without the hub's shared collision problem. Separate links can carry separate conversations simultaneously.
Encryption scrambles content so it can't be read without the right secret key. A hub repeats that scrambled data, while a switch's more selective forwarding doesn't itself encrypt a conversation or guarantee that nobody else can observe it.
If you're identifying equipment, check its specifications for how it forwards traffic. A row of Ethernet sockets might belong to a hub, a switch, or a router with a built-in switch; a router connects different networks.
A Network Switch Learns Where to Send the Next Frame

Network Bridges: How Devices Share a Local Network

Promiscuous Mode and the Packets Your Computer Never Sees

QUOTE:
"Amateurs hack systems, professionals hack people."
