Computer Network Routers, Hubs, and Switches
When computer networks are working well, which we hope is most of the time, the inner
workings of the system modules are transparent to the average user. The most common
components on a computer network, not counting cables, are "routers", "hubs", and
"switches". Many of these modules can be similar cosmetically. Each assembly typically has
Ethernet connectors (RJ45, which looks like an oversized telephone plug) and LED
indicators. However, these modules function differently, and it is important to understand
Modern network hardware operates on the "Open System Interconnection" (OSI) standard.
This standard defines how communications on a network should be implemented. By conforming
to this standard, modules from different manufacturers can coexist on the same network.
Wireless networks (WiFi) and the 802.11X standard are an additional subset of network systems.
When a message is sent between computers, it is broken into parts. At the base level,
the message is reduced to "1" and "0" bits. The next level is a group of bits called a
"frame". A frame contains its control information, including target address and error
detection. The next level is a group of frames called a "packet". The terms frame and
packet are sometimes used interchangeably. If a message is sent on a complex network like
the Internet, some of the packets may take a different path, and be recombined at the destination.
Error detection is used with both frames and packets. The most common routine is called
"Cyclic Redundancy Check" (CRC). CRC sums of all the "1"s in the frame or packet. This
number is stored as a hexadecimal value at the end of the frame/packet. At the receiving
end, the process is repeated. If the two hexadecimal values agree, the test passes. If
not, the receiving device requests that the sending device resend. Most of this
functionality is performed by integrated circuits (chips) inside the network modules.
The network hub operates on the first layer of the OSI standard, called the "physical
layer". The hub is the most simple of the three modules. A hub is not aware of the
contents of the message that is processed; it handles the message as bits. It simply
records the signal, and rebroadcast it to all, including back to the port that sent the
message. An "active" hub will clean the electrical signal of noise and amplify the signal
before rebroadcast. A "passive" hub does not amplify the received signal; it merely
receives a signal, and rebroadcast the signal as received to each port. Hubs are sometimes
used to link multiple computers with a printer.
The Network Switch
The network switch operates on the second layer of the OSI standard, called the "data
link layer". The network switch, as indicated by its name, switches signal paths, so that
a message frame goes to a specific destination. A switch will improve a networks
performance, especially on networks with many computers. A switch has enough on-board
intelligence to remember the path to each destination. The network switch handles a
message in frames.
When you connect a computer to a network switch, the switch will record the Media
Access Control or “MAC” address of the computer's network interface card (NIC). This is
called address protocol, or "ARP". When a frame is received intended for a specific
computer, the switch sends the frame only to that computer. By preventing paths of the
network from being utilized by every frame, network resources are conserved. Computer A
can send a frame to computer B, while simultaneously, computer C is sending a frame to