Question: what is the difference between hub & 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.