Prerequisite – Network Devices
Hub is a networking devices which is used to transmit the signal to each port (except one port) to respond from which the signal was received. Hub is operated on Physical layer. In this packet filtering is not available. It is of two types: Active Hub, Passive Hub.
Switch is a network device which is used to enable the connection establishment and connection termination on the basis of need. Switch is operated on Data link layer. In this packet filtering is available. It is type of full duplex transmission mode and it is also called efficient bridge.
Difference between Hub and Switch:
|1.||Hub is operated on Physical layer.||While switch is operated on Data link layer.|
|2.||Hub is a broadcast type transmission.||While switch is a Unicast, multicast and broadcast type transmission.|
|3.||Hub have maximum 4 ports.||While switch can have 24 to 28 ports.|
|4.||In hub, there is only one collision domain.||While in switch, different ports have own collision domain.|
|5.||While switch is a full duplex transmission mode.
|6.||In hub, Packet filtering is not provided.||While in switch, Packet filtering is provided.|
- Difference between Router and Switch
- switch vs if else
- Switch functions at layer 2
- Inter-Switch Link (ISL) and IEEE 802.1Q
- Inter VLAN Routing by Layer 3 Switch
- Measure the time spent in context switch?
- Network Devices (Hub, Repeater, Bridge, Switch, Router, Gateways and Brouter)
- Web 1.0, Web 2.0 and Web 3.0 with their difference
- Difference between LAN, MAN and WAN
- Difference between MAN and WAN
- Difference between CLI and GUI
- Difference Between BFS and DFS
- Difference between JSP and ASP
- Difference between CD and DVD
- Difference between Blu-ray and DVD
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.