Hub vs Switch
A Hub is a networking device that allows one to connect multiple PCs to a single network. Hubs may be based on Ethernet, Firewire, or USB connections. A switch is a control unit that turns the flow of electricity on or of in a circuit. It may also be used to route information patterns in streaming electronic data sent over networks. In the context of a network, a switch is a computer networking device that connects network segments.
|Improve this chart||Hub||Switch|
|Technical Specifications:||Hubs classify as Layer 1 devices in the OSI model||Network switches operate at layer two (Data Link Layer) of the OSI model.|
|Layer:||Physical layer(Layer 1 Device)||Data Link Layer (Layer 2 devices)|
|Transmission Type:||only Broadcast||At Initial Level Broadcast then Uni-cast & Multicast|
|Spanning-Tree:||No Spanning-Tree||Many Spanning-tree Possible|
|Table:||There is no MAC table in Hub, Hub can't learn MAC address.||Store MAC address in lookup table and maintain address at its own, Switch can Learn MAC address.|
|Used in (LAN/MAN/WAN):||LAN||LAN|
|Ports:||4 ports||Switch is multi port Bridge. 24/48 ports|
|Collision:||In Hub collision occur.||In Full Duplex Switch no Collision occur.|
|Transmission Mode:||Half duplex||Full duplex|
|Collision Domain:||Hub has One collision domain.||in Switch, every port has its own collision domain.|
|Cost:||Cheaper than switches||3-4 times costlier than Hub|
|Device Type:||Passive Device (Without Software)||Active Device (With Software) & Networking device|
|Broadcast Domain:||Hub has one Broadcast Domain.||Switch has one broadcast domain [unless VLAN implemented]|
edit Differences in performance of hubs and switches
A switch is effectively a higher-performance alternative to a hub. People tend to benefit from a switch over a hub if their home network has four or more computers, or if they want to use their home network for applications that generate significant amounts of network traffic, like multiplayer games or heavy music file sharing. Technically speaking, hubs operate using a broadcast model and switches operate using a virtual circuit model. When four computers are connected to a hub, for example, and two of those computers communicate with each other, hubs simply pass through all network traffic to each of the four computers. Switches, on the other hand, are capable of determining the destination of each individual traffic element (such as an Ethernet frame) and selectively forwarding data to the one computer that actually needs it. By generating less network traffic in delivering messages, a switch performs better than a hub on busy networks.
edit Function of a switch vs. a hub
A Hub connects multiple Ethernet devices together, making them act as a single segment.
edit Connections to hubs and switches
Networking hubs are currently available with USB, Ethernet, Firewire, and Wireless connections. Most popular amongst them is still Ethernet, which requires a special networking card on the PC, or an Ethernet connection built into the motherboard. Switches are also available for networks in USB, Ethernet, Firewire, and Wireless, and simple switches like an on/off button can be applied to manage and maintain large computer networks. As with hubs, Ethernet implementations of network switches are the most common. Mainstream Ethernet network switches support either 10 Mbps, 100 Mbps, or 10/100 Mbps Ethernet standards. On the other hand, hubs include a series of ports that each accept a network cable. Larger hubs contain eight, 12, 16, and even 24 ports.
edit Manufacturers of hubs and switches
Some of the leading manufacturers of computer hubs for networking are Sun Systems, Oracle, and Cisco. These companies also manufacture switches, such as LAN switches and data routers, as well as other hardware that is necessary for large-scale computer networks. For home or small business networks, there are a large number of international companies specializing in the production of switches and hubs, such as Belkin, Linksys, and Net Gear.
edit Cost of a hub vs. cost of switch
Hubs cost lesser than a switch with the average Ethernet hub costing less than $30.