Friday, March 14, 2008

Computer Networks: Hub and Switch

Home networks are becoming more common. People want to be able to share a single broadband Internet connection to several computers in the house. There are many different devices that you can use to make up your home network. If you have never heard network terminology device names like router, hub, etc may seem confusing. The purpose of most of these devices is to control how the network passes around information. This information is sent in the form of "packets". I will refer to the term packet several times in this article. It simply means the data that the network is transporting. I will now explain the purpose of the major components of a home network.

Hub: A hub is a device that has several Ethernet ports on the back of the device. One of these ports will likely be labeled “Uplink”. This port allows you to connect multiple hubs together, if you run out of ports on your hub. If you do not have an uplink port on your hub, the hub cannot be easily extended if you run out of ports. A hub is a device that attaches multiple computers on an Ethernet network. If you have a number different computers that you want to connect together, you could connect each to the hub. Any packet that is sent out by any computer on the network will immediately be transmitted to the other computers. Each computer will determine if the packet was really intended for it, and filter out packets that were intended for other computers. You really should not use a hub in a modern home network. You should always use a switch in place of a hub. Switches will be discussed in the next section.

Switch: A switch is a device that has several Ethernet ports on the back of the device. One of these ports will likely be labeled “Uplink”. This port allows you to connect multiple switches together, if you run out of ports on your switch. If you do not have an uplink port on your switch, the switch cannot be easily extended if you run out of ports. A switch serves the same function as a hub. It allows you to connect multiple computers together, so that they can exchange packets. However, a switch is much more efficient than a hub. A switch will only send Ethernet packets to the computer that the packet was intended for. Because of this you should always use a switch in place of a hub.

No comments: