Question: what is the difference between a hub and a layer 2 switch?
Answer: The main difference between a hub and a layer 2 switch is their complexity. A hub is a very simple device that does virtually no processing and simply forwards the packets it receives. ... A layer 2 switch also does this but only when it does not have an entry for the destination.