Question: what are the differences between a hub and switch?
Answer: A hub works on the physical layer (Layer 1) of OSI model while Switch works on the data link layer (Layer 2). ... A switch can join multiple computers within one LAN, and a hub just connects multiple Ethernet devices together as a single segment. Switch is smarter than hub to determine the target of the forwarding data.