Hub and Switch are both network connecting devices. Hub works at physical layer and is responsible to transmit the signal to port to respond where the signal was received whereas Switch enable connection setting and terminating based on need.
Following are the important differences between Hub and Switch.
|1||Objective||Hub main objective is to transmit the signal to port to respond where the signal was received.||Switch enables connection setting and terminating based on need.|
|2||Layer||Hub works in Physical Layer.||Switch works in Data Link Layer.|
|3||Transmission Type||Hub uses broadcast type transmission.||Switch uses unicast, multicast as well as broadcast type transmision.|
|4||Ports||Hub can have maximum 4 ports.||Switch can have 24 to 28 ports.|
|5||Collision Domain||Hub has a single collision domain.||In Switch, each port have their own collision domain.|
|6||Packet Filtering||Hub do not provide packet filtering.||Switch provides packet filtering.|
|7||Transmission Mode||Hub uses half duplex transmission mode.||Switch uses full duplex transmission mode.|