Although hubs and switches look very similar and are connected to the network in much the same way, there is a significant difference in the way they function.
What is a hub?
An Ethernet hub is the basic building block of a twisted-pair (10BASE-T or 100BASE-TX) Ethernet network. Hubs do little more than act as a physical connection. They link PCs and peripherals and enable them to communicate over a network. All data coming
into the hub travels to all stations connected to the hub. Because a hub doesn’t use management or addressing, it simply divides the 10- or 100-Mbps bandwidth among users. If two stations are transferring high volumes of data between them, the
network performance of all stations on that hub will suffer. Hubs are good choices for small- or home-office networks, particularly if bandwidth concerns are minimal.
What is a switch?
An Ethernet switch, on the other hand, provides a central connection in an Ethernet network in which each connected device has its own dedicated link with full bandwidth. Switches divide LAN data into smaller, easier-to-manage segments and send data only
to the PCs it needs to reach. They allot a full 10 or 100 Mbps to each user with addressing and management features. As a result, every port on the switch represents a dedicated 10- or 100-Mbps pathway. Because users connected to a switch do not have
to share bandwidth, a switch offers relief from the network congestion a shared hub can cause.
What to consider when selecting an Ethernet hub:
- Stack ability. Select a stackable hub connected with a special cable so you can start with one hub and add others as you need more ports. The entire stack functions as one device.
- Manageability. Choose an SNMP-manageable hub if you have a large, managed network.
What to consider when selecting an Ethernet switch:
- Manageability. Ethernet switches intended for large managed networks feature built-in management, usually SNMP.
- OSI Layer operation. Most Ethernet switches operate at “Layer 2,” which is for the physical network addresses (MAC addresses). Layer 3 switches use network addresses, and incorporate routing functions to actively calculate the best way
to send a packet to its destination. Very advanced Ethernet switches, often known as routing switches, operate on OSI Layer 4 and route network traffic according to the application.
- Modular construction. A modular switch enables you to populate a chassis with modules of different speeds and media types. Because you can easily change modules, the modular switch is an adaptable solution for large, growing networks.
- Stackability. Some Ethernet switches can be connected to form a stack of two or more switches that functions as a single network device. This enables you to start with fewer ports and add them as your network grows.