Ethernet hubs and switches are networking devices that connect computers [and IP devices] together. A hub is basic, offering simple data transmission capabilities to MAC addresses over Layer-1. A switch is complex, offering security, efficiency, intelligent function, and capability to transmit to specific in-network, MAC addresses over Layer-2 and Layer-3.
What are layers 1, 2, and 3?
Layers are the paths over which data is