Difference between Hub, Switch and Router
HUB
|
SWITCH
|
ROUTER
|
| Hub functionality plays in
physical layer |
Data link layer |
Network layer |
| It is Dump device |
Intelligent device |
Hub and switch functionality |
| Always broadcast |
Broadcast first time and then
unicast |
Can be configured to send a broadcast |
| Single broadcast and single
collision domain |
Single broadcast and multiple
collision domain |
Multiple broadcast and multiple
collision domain |
| Broadcast information to all
devices in network |
Forwarded data to destination
based on MAC |
Ability to share internet
connection |
| Half duplex |
Full duplex |
Firewall device |
| Act as repeater |
Maintain MAC table |
Act as DHCP server, NAT box,
Switch, DGW, VPN client and VPN server |



