Hub: Working in the physical layer
All devices are in the same collision domain
All devices in the same broadcast domain
Devices share the same bandwidth
Switch / bridge: operate the data link layer
Each segment is a separate collision domains
All segments in the same broadcast domain
Switch works:
Each segment is a separate collision domain, the broadcast packet is forwarded to all of the segments.
Router: work in the network layer
Logical Addressing
Choose the best path
Radio Control
Multicast Control
Traffic Management
Connected to the wide area network