Hub | Switch | Router |
Hub has single broadcast domain and collision domain. Anything comes in one port is sent out to the others. | It is a device that filters and forwards packets between LAN segments. Switches have single broadcast domain and multiple collision domains. It supports any packet protocol, as such it operates at the data link layer 2 and layer 3 | Router is a device which transmits data packets along networks. |