⟩ What is the difference between switch and hub?
Switch
☛ Switches are used at data link layer.
☛ Switches create separate collision domain and a single broadcast domain.
☛ Address learning
☛ Forward/filter decision using mac address.
Hub
☛ Hubs are used at physical layer.
☛ Hubs create single collision domain and a single broadcast domain.
☛ No addressing.
☛ No filtering.